method

normalize_callback_params

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ClassMethods
normalize_callback_params(filters, block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/callbacks.rb, line 696
        def normalize_callback_params(filters, block) # :nodoc:
          type = CALLBACK_FILTER_TYPES.include?(filters.first) ? filters.shift : :before
          options = filters.extract_options!
          filters.unshift(block) if block
          [type, filters, options.dup]
        end
Register or log in to add new notes.