aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/callbacks.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2013-05-09 13:39:17 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2013-05-10 10:13:22 -0700
commita50088a4cc4c0575c7fffdf10e0fc3a773485f03 (patch)
treeb1b9822afb640bd834b6ede403397e1c38213b97 /activesupport/lib/active_support/callbacks.rb
parent6514ee9044f94a3e4dae01297103bbd354acc221 (diff)
downloadrails-a50088a4cc4c0575c7fffdf10e0fc3a773485f03.tar.gz
rails-a50088a4cc4c0575c7fffdf10e0fc3a773485f03.tar.bz2
rails-a50088a4cc4c0575c7fffdf10e0fc3a773485f03.zip
callback sequence is no longer used
Diffstat (limited to 'activesupport/lib/active_support/callbacks.rb')
-rw-r--r--activesupport/lib/active_support/callbacks.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index ca6937eeb3..4ee8cf2457 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -89,8 +89,6 @@ module ActiveSupport
end
class Callback #:nodoc:#
- @@_callback_sequence = 0
-
class Basic < Callback
end
@@ -150,10 +148,6 @@ module ActiveSupport
chain.name
end
- def next_id
- @@_callback_sequence += 1
- end
-
def matches?(_kind, _filter)
@kind == _kind && filter == _filter
end