Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

attrubute_will_change! gets erased after assignment

#3227

This is probably not a bug, but it seems very likely to trip people up so I suggest adding a note to the documentation

Person.new
Person.name_will_change!
Person.changed  # => ['name']
Person.name = nil
Person.changed  # => []

Reported by Fjan · September 17th, 2009 @ 09:33 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. CancelProfileIsBroken
    CancelProfileIsBroken
    • Tag changed from dirty to bugmash, dirty

    September 25th, 2009 @ 12:01 PM

  2. Rizwan Reza
    Rizwan Reza
    • State changed from new to invalid
    • Tag changed from bugmash, dirty to dirty

    This is not applicable anymore.

    January 21st, 2010 @ 06:40 AM