mattwestcott
Not a member
mattwestcott's latest activity
Saturday, May 24 2008
142
belongs_to association not updated when assigning to foreign key
was updated
in Ruby on Rails
-
mattwestcott commented at 2:44 PMFollowing up on the possibility of overriding []= / write_attribute too - it looks like this isn't feasible. Various activerecord internals (such as the belong...
Tuesday, May 20 2008
142
belongs_to association not updated when assigning to foreign key
was updated
in Ruby on Rails
-
mattwestcott commented at 2:57 PMMy motivation for this was being able to assign city_id in a mass assignment from a form post, and therefore avoid having to explicitly handle City objects in ...
Thursday, May 08 2008
142
[PATCH] belongs_to association not updated when assigning to foreign key
was created
in Ruby on Rails
-
mattwestcott created the ticket at 10:06 AMWhen using a belongs_to association, assigning to the foreign key attribute doesn't update the associated object (or mark a previously loaded
one as stale) un...