diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-10 02:21:03 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-10 02:21:03 -0500 |
commit | c1ce4144d1ef5bea3d829167cb52a5abc8d2ef7e (patch) | |
tree | 9c1c3df391732e39be9da8c762a7f86f2537ab96 /activesupport/lib | |
parent | 42a14c436c50f8c0ab57ef336e5fab77030107c0 (diff) | |
download | rails-c1ce4144d1ef5bea3d829167cb52a5abc8d2ef7e.tar.gz rails-c1ce4144d1ef5bea3d829167cb52a5abc8d2ef7e.tar.bz2 rails-c1ce4144d1ef5bea3d829167cb52a5abc8d2ef7e.zip |
AS::Callbacks#run_callbacks remove key argument
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index cbeba3139a..3c7dbb369c 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -74,8 +74,7 @@ module ActiveSupport # save # end # - def run_callbacks(kind, key = nil, &block) - #TODO: deprecate key argument + def run_callbacks(kind, &block) runner_name = self.class.__define_callbacks(kind, self) send(runner_name, &block) end |