nested_form, has_many :through, updating attribute on join model
问题 I'm using ryan bates' plugin nested_form and i have been trying to write my form for a has_many :through relationship. I have 3 models: Profile has_many :memberships has_many :organizations, :through => :memberships accepts_attributes_for :organizations attr_accessible :organization_attribtues Membership has_many :profiles has_many :organizations Organization has_many :memberships has_many :profiles, :though => :memberships The below form is for the profile but with the organization nested