Skip to content
Commits on Dec 1, 2012
  1. @rmascarenhas

    Reset attributes should not report changes.

    rmascarenhas committed
    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
    ~~~
Something went wrong with that request. Please try again.