This project is archived and is in readonly mode.

#5185 ✓resolved
eagle.anton (at gmail)

unchanged attribute is changed [ActiveModel]

Reported by eagle.anton (at gmail) | July 23rd, 2010 @ 01:37 PM | in 3.x

ActiveModel::Dirty has the example:

# Assigning the same value leaves the attribute unchanged:
#   person.name = 'Bill'
#   person.name_changed?  # => false
#   person.name_change    # => nil

It isn't working.

Test in attachment failes.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Referenced by

Pages