Forgot to push this change in the parent commit

This commit is contained in:
Rafael Mendonça França 2014-01-20 23:00:17 -02:00
parent 06a00038ef
commit b8302bcfda

@ -136,7 +136,7 @@ def changes
# person.save
# person.previous_changes # => {"name" => ["bob", "robert"]}
def previous_changes
@previously_changed ||= {}
@previously_changed ||= ActiveSupport::HashWithIndifferentAccess.new
end
# Returns a hash of the attributes with unsaved changes indicating their original