aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-05-13 12:05:22 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-05-13 12:05:22 -0700
commit19b9f7ba334108bd669ec6ae3bdf11d707a7d689 (patch)
tree4ed1ad2883bb8d23cdd4f909ca337ddf8cee257a /activesupport/lib
parentd53b5f073924e8b397ec86f7ad092aa0b5ed3fe4 (diff)
downloadrails-19b9f7ba334108bd669ec6ae3bdf11d707a7d689.tar.gz
rails-19b9f7ba334108bd669ec6ae3bdf11d707a7d689.tar.bz2
rails-19b9f7ba334108bd669ec6ae3bdf11d707a7d689.zip
pass the actual filter, not a string
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/callbacks.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index e733257b67..4819fe71de 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -171,7 +171,7 @@ module ActiveSupport
result = user_callback.call target, value
env.halted = halted_lambda.call result
if env.halted
- target.send :halted_callback_hook, @filter.inspect
+ target.send :halted_callback_hook, @filter
end
end
next_callback.call env