If an Object has two has_many associations, how do I create a new Object?
- by Angela
I have an object (Contacts) which has two has_many relationships: Campaign and Company
When I am in the Campaign view, I want to add a Contact.
But without a Company_Id, Controller says cannot find company_id (which needs to be there if I add a Contact through the Company).
What should I do?