diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-08 17:58:02 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2013-05-10 10:13:21 -0700 |
commit | cc0fd31f9e8b62ec650766f02a0c8ec5f0b37a10 (patch) | |
tree | 70f31fafeef8e5ac52b9392db2780fa35e83ff7e /activesupport/lib | |
parent | bf6429c438bcc74e5b1248c4293bcf6bbbce228e (diff) | |
download | rails-cc0fd31f9e8b62ec650766f02a0c8ec5f0b37a10.tar.gz rails-cc0fd31f9e8b62ec650766f02a0c8ec5f0b37a10.tar.bz2 rails-cc0fd31f9e8b62ec650766f02a0c8ec5f0b37a10.zip |
remove dead code
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support/callbacks.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index 192e0b2597..3f4973a35f 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -317,16 +317,6 @@ module ActiveSupport @compiled_options = method_name end - def _method_name_for_object_filter(kind, filter, append_next_id = true) - class_name = filter.kind_of?(Class) ? filter.to_s : filter.class.to_s - class_name.gsub!(/<|>|#/, '') - class_name.gsub!(/\/|:/, "_") - - method_name = "_callback_#{kind}_#{class_name}" - method_name << "_#{next_id}" if append_next_id - method_name - end - # Filters support: # # Arrays:: Used in conditions. This is used to specify |