rails/activemodel/lib
Renato Mascarenhas cf7ab6056a Reset attributes should not report changes.
When resetting an attribute, you expect it to return to the state it was
before any changes. Namely, this fixes this unexpected behavior:

~~~ruby
model.name = "Bob"
model.reset_name!
model.name_changed? #=> true
~~~
2012-12-01 16:58:09 -02:00
..
active_model Reset attributes should not report changes. 2012-12-01 16:58:09 -02:00
active_model.rb Remove observers and sweepers 2012-11-28 22:46:49 -02:00