cf7ab6056a
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 ~~~ |
||
---|---|---|
.. | ||
active_model | ||
active_model.rb |