diff options
author | Joshua Peek <josh@joshpeek.com> | 2009-10-13 23:30:06 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2009-10-13 23:30:06 -0500 |
commit | 7b169ed1bb424929e332e998a75cdb4635c26f62 (patch) | |
tree | 3b9af405882e8f91541a7d4195e3c2213e99e16b /activesupport/lib/active_support/callbacks.rb | |
parent | 9cd50e7752650a3d6bf8545b51d50619d6e70c0b (diff) | |
download | rails-7b169ed1bb424929e332e998a75cdb4635c26f62.tar.gz rails-7b169ed1bb424929e332e998a75cdb4635c26f62.tar.bz2 rails-7b169ed1bb424929e332e998a75cdb4635c26f62.zip |
Extend Callbacks and Rescuable with AS concern
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 21388d7a58..67e9b0103f 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -81,9 +81,7 @@ module ActiveSupport # saved # module Callbacks - def self.included(klass) - klass.extend ClassMethods - end + extend Concern def run_callbacks(kind, *args, &block) send("_run_#{kind}_callbacks", *args, &block) |