update_record_from_params() now avoids re-assigning a value if it's the same. this is a workaround for an active_record bug with  has_one associations, where re-assigning the associated object makes active_record try and temporarily set the foreign_key to null,  violating any database constraints.
update_record_from_params() now avoids re-assigning a value if it's the same. this is a workaround for an active_record bug with 
has_one associations, where re-assigning the associated object makes active_record try and temporarily set the foreign_key to null, 
violating any database constraints.

PiRSquared17/activescaffold,PiRSquared17/activescaffold,PiRSquared17/activescaffold