Tom Lea
Developer · Not a member
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
-
- Tag set to activerecord, patch
+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 commented at 7:08 PMHmm, 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 created the ticket at 6:13 PMThis patch allows callbacks to be hooked up on an individual instance.
class SomeStorage include ActiveSupport::Callbacks define_callbacks :before_save, :...