Federico Brubacher
Not a member
Federico Brubacher's latest activity
Friday, April 22 2011
5400
ActiveRecord::Serialization.serializable_hash uses base :only/:expect for inc...
was updated
in Ruby on Rails
-
Federico Brubacher commented at 1:28 PMSantiago, Jeremy have you guys been able to review this patch ?
Wednesday, March 30 2011
5400
ActiveRecord::Serialization.serializable_hash uses base :only/:expect for inc...
was updated
in Ruby on Rails
-
- Tag set to json activerecord serialization
- Assigned user set to Santiago Pastorino
Sunday, May 16 2010
4614
Cloned object mimic changed_attributes from creator after being clonde
was updated
in Ruby on Rails
-
-
- Tag changed from 3.0, activerecord, dirty, patch to 3.0, activerecord, bugmash, dirty, patch
-
- Tag changed from 3.0, activerecord, dirty to 3.0, activerecord, dirty, patch
-
- Tag changed from 3.0, activerecord, bugmash, dirty to 3.0, activerecord, dirty
I've attached a patch.
This patch includes the test case that no longer fails and a fix.
-
Federico Brubacher created the ticket at 11:29 AMAfter creating a clone , when changing an attribute in either the parent or the clone, both objects are marked as changed.
Here's a failing test.
2919
Activerecord::Base#clone does not set dirty bits
was updated
in Ruby on Rails
-
-
Federico Brubacher commented at 11:32 AMI meant to say in the previous comment that the issue was present in master before my fix.
-
Federico Brubacher commented at 11:29 AMI've attached a patch.
"I'm trying to say that attributes of clonned object should be threated as changed? only if they differ from defaults."
I think I can agr...