Skip to content
Browse files

remove dead code

  • Loading branch information...
1 parent bf6429c commit cc0fd31f9e8b62ec650766f02a0c8ec5f0b37a10 @tenderlove tenderlove committed May 8, 2013
Showing with 0 additions and 10 deletions.
  1. +0 −10 activesupport/lib/active_support/callbacks.rb
View
10 activesupport/lib/active_support/callbacks.rb
@@ -317,16 +317,6 @@ def recompile_options!
@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

0 comments on commit cc0fd31

Please sign in to comment.
Something went wrong with that request. Please try again.