Displaying 2 results from an estimated 2 matches for "show_companies".
2006 Jan 01
9
Child record becomes orphan
Hi all,
I''ve got these company (has) contacts relational tables. I want to make sure a
company can''t be deleted when it still has contacts. (because I can now,
which results in nil like errors when listing the contacts ... obviously)
Are there any helpers to do so, is Rails aware of this? Or do I need to put in
a condition before destroying the company record in question
2007 Oct 07
2
2 comboboxes
Hello, I have a 2 comboboxes on my web-page. first contains list of
cities, and other contains list of companies. But i need to filter
second combobox by selected city in first combo.
What the best way to implement this.
I know this is not hard task but i don''t what to invent wheel.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~