Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Dec 1, 2012
  1. @rmascarenhas

    Reset attributes should not report changes.

    rmascarenhas authored
    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.