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.

Tom Lea's latest activity

Monday, August 11 2008
798 attribute_changed? is true even though the value of attribute is changed to o... was updated in Ruby on Rails
  • Tom Lea
    • Tag set to activerecord, patch
    by Tom Lea at 2:16 PM

    +1 easy pitfall fixed

    Patch to do this attached, changed format slightly.

Thursday, August 07 2008
775 Per-Instance Callbacks was updated in Ruby on Rails
  • Tom Lea
    Tom Lea commented at 7:08 PM

    Hmm, this clashes with the way AR callbacks work... works for none AR apps using ActiveSupport (where the patch was developed), but not so much for Rails...

    Ig...

  • Tom Lea
    Tom Lea created the ticket at 6:13 PM

    This patch allows callbacks to be hooked up on an individual instance.

    
    class SomeStorage
      include ActiveSupport::Callbacks
      define_callbacks :before_save, :...