How do I use accepts_nested_attributes_for? I cannot use the .build method (!)
- by Angela
Editing my question for conciseness and to update what I've done:
How do I model having multiple Addresses for a Company and assign a single Address to a Contact, and be able to assign them when creating or editing a Contact?
Here is my model for Contacts:
class Contact < ActiveRecord::Base
attr_accessible :first_name, :last_name, :title,…