search for: headquarter_id

Displaying 1 result from an estimated 1 matches for "headquarter_id".

Did you mean: head_quarter_id
2009 Jan 18
5
Modeling complex associations
...e the foreign key "head_quarter_id" should be assigned to the company and refer to the buildings table. I''d prefer that to tagging one building with a headquarter-flag because there''s the advantage of only being forced to change one dataset (the company, more exactly its headquarter_id), instead of changing two flags. Is there any way to map that to ActiveRecord? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-ta...