aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/callbacks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/callbacks.rb')
-rwxr-xr-xactiverecord/lib/active_record/callbacks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/callbacks.rb b/activerecord/lib/active_record/callbacks.rb
index 67a4117d20..a469af682b 100755
--- a/activerecord/lib/active_record/callbacks.rb
+++ b/activerecord/lib/active_record/callbacks.rb
@@ -229,9 +229,9 @@ module ActiveRecord
# Is called _after_ <tt>Base.save</tt> on existing objects that have a record.
def after_update() end
- def update_with_callbacks #:nodoc:
+ def update_with_callbacks(*args) #:nodoc:
return false if callback(:before_update) == false
- result = update_without_callbacks
+ result = update_without_callbacks(*args)
callback(:after_update)
result
end