mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Removed a stray method_missing in the new callbacks system
This commit is contained in:
parent
8a4e77b420
commit
059afb3a3a
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue