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:
# = '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=""></a>

Referenced by