diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-04-29 11:26:01 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-01 17:31:01 -0700 |
commit | 059afb3a3a48106f430a8478072e34a59b4b72d6 (patch) | |
tree | 30592f2eff0374bdb34bfa085195d882fa696aa3 /activesupport/lib/active_support | |
parent | 8a4e77b4200946ba4ed42fe5927a7400a846063a (diff) | |
download | rails-059afb3a3a48106f430a8478072e34a59b4b72d6.tar.gz rails-059afb3a3a48106f430a8478072e34a59b4b72d6.tar.bz2 rails-059afb3a3a48106f430a8478072e34a59b4b72d6.zip |
Removed a stray method_missing in the new callbacks system
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/new_callbacks.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activesupport/lib/active_support/new_callbacks.rb b/activesupport/lib/active_support/new_callbacks.rb index 8a91e1c674..2ae7b006c7 100644 --- a/activesupport/lib/active_support/new_callbacks.rb +++ b/activesupport/lib/active_support/new_callbacks.rb @@ -304,15 +304,6 @@ module ActiveSupport end end - # This method_missing is supplied to catch callbacks with keys and create - # the appropriate callback for future use. - def method_missing(meth, *args, &blk) - if meth.to_s =~ /_run__([\w:]+)__(\w+)__(\w+)__callbacks/ - return self.class._create_and_run_keyed_callback($1, $2.to_sym, $3.to_sym, self, &blk) - end - super - end - # An Array with a compile method class CallbackChain < Array def initialize(symbol) |