Displaying 1 result from an estimated 1 matches for "stuff_id".
Did you mean:
stuff_
2006 Mar 13
1
has_many.collection<<obj doesn''t set attributes?
I tried:
@item.stuff<<thing
and in thing I have:
def stuff_id=(value)
# remember old stuff_id cuz Rails has lousy trigger equivalent
logger.debug ''set stuff_id called''
end
And apparently stuff_id doesn''t get called, but the fk is changed
directly in the database? I''m about to abandon trying to do trigger
related stuf...