search for: how_old

Displaying 1 result from an estimated 1 matches for "how_old".

Did you mean: bo_old
2006 Feb 22
1
ActiveRecord strange behavior
Hi all, I have a has_many relation between Parent and Child Parent p Child c p.children << c => create the relationship in the database (why not need p.save to see the child add?) why when i modifiy a field in c.how_old i have to explicity call to c.save if i want to see the modification in database (p.save doesn''t persist the modification of chlild c) because when i modify the child c and apply p.save it does nothing !!! Other question Why p.children << c doesn''t need to do p.save to see...