aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/notifications.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-09 14:33:56 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-09 14:33:56 -0800
commit37efb517cb87c0894d8ecaa2066c5be6283f5450 (patch)
treedc5f9b72b15eead95621fd6bea3434e06c9b269d /activesupport/lib/active_support/notifications.rb
parent3e02b3702ec640a521214109646bdebb5216bf96 (diff)
downloadrails-37efb517cb87c0894d8ecaa2066c5be6283f5450.tar.gz
rails-37efb517cb87c0894d8ecaa2066c5be6283f5450.tar.bz2
rails-37efb517cb87c0894d8ecaa2066c5be6283f5450.zip
fanout unsubscribe only accepted one argument, so taking *args here is probably bad
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r--activesupport/lib/active_support/notifications.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb
index 30daf9dafc..77696eb1db 100644
--- a/activesupport/lib/active_support/notifications.rb
+++ b/activesupport/lib/active_support/notifications.rb
@@ -64,8 +64,8 @@ module ActiveSupport
end
end
- def unsubscribe(*args)
- notifier.unsubscribe(*args)
+ def unsubscribe(args)
+ notifier.unsubscribe(args)
@instrumenters.clear
end