diff options
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rwxr-xr-x | activerecord/lib/active_record/callbacks.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb index 629272b639..8e3aac6e36 100755 --- a/activerecord/lib/active_record/callbacks.rb +++ b/activerecord/lib/active_record/callbacks.rb @@ -221,7 +221,7 @@ module ActiveRecord if object.respond_to_without_attributes?(:after_initialize) object.send(:callback, :after_initialize) end - + object end end @@ -344,9 +344,9 @@ module ActiveRecord end return false if result == false end - + send(method) if respond_to_without_attributes?(method) - + return true end |