Closed seamusabshere closed 14 years ago
currently on associations (attr.associate) and inline associations (attr.store [...] :foreign_key => X), you can say
:create => true (will use find_or_create_by_X) :create => false (will use find_by_X)
you can't say
:create => :raise
which would stop the import if there was a missing association, which might indicate a problem with your data.
activerecord association functionality has been removed
currently on associations (attr.associate) and inline associations (attr.store [...] :foreign_key => X), you can say
:create => true (will use find_or_create_by_X) :create => false (will use find_by_X)
you can't say
:create => :raise
which would stop the import if there was a missing association, which might indicate a problem with your data.