Permalink
Browse files

fanout unsubscribe only accepted one argument, so taking *args here i…

…s probably bad
  • Loading branch information...
1 parent 3e02b37 commit 37efb517cb87c0894d8ecaa2066c5be6283f5450 @tenderlove tenderlove committed Feb 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/notifications.rb
View
4 activesupport/lib/active_support/notifications.rb
@@ -64,8 +64,8 @@ def subscribe(*args, &block)
end
end
- def unsubscribe(*args)
- notifier.unsubscribe(*args)
+ def unsubscribe(args)
+ notifier.unsubscribe(args)
@instrumenters.clear
end

0 comments on commit 37efb51

Please sign in to comment.