Displaying 1 result from an estimated 1 matches for "primary_organization_id".
2006 Aug 12
0
issues with relationships and multiple objects on one form
...troller is for the User. Everything works fine, except the fields
that are populated by the Person fields lose state when validation
fails. Do I use params to populate the user? I have tried a bunch of
combinations with no luck.
2. The same users table has an integer column called
''primary_organization_id'', where Organization references many User
records. The models are defined as:
class User < ActiveRecord::Base
belongs_to :primary_organization,
:class_name => ''Organization'',
:foreign_key => ''primary_organization_id'...