Scott Barr
Not a member
Scott Barr's latest activity
Wednesday, August 19 2009
2650
Added previous_changes to ActiveRecord::Dirty
was updated
in Ruby on Rails
-
Scott Barr commented at 4:04 PMThe original patch wouldn't apply because dirty.rb moved after I submitted the patch.
Let me know what this ticket needs and I'll put it together.
Saturday, August 08 2009
2650
Added previous_changes to ActiveRecord::Dirty
was updated
in Ruby on Rails
Saturday, May 23 2009
Friday, May 15 2009
2650
Added previous_changes to ActiveRecord::Dirty
was updated
in Ruby on Rails
-
-
Scott Barr commented at 5:50 AMReformatted the example, sorry about that
person = Person.find_by_name('bob') person.name = 'robert' person.changes # => {'name' => ['bob, 'robert']} person.sa... -
Scott Barr created the ticket at 5:24 AMI've added a previous_changes Map to ActiveRecord::Dirty
I added this feature so that a Map of changed fields could be retrieved
after a model had been saved. T...