method

_update_filter

rails latest stable - Class: ActiveSupport::Callbacks::Callback

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

_update_filter(filter_options, new_options)
public

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 143
      def _update_filter(filter_options, new_options)
        filter_options[:if].concat(Array(new_options[:unless])) if new_options.key?(:unless)
        filter_options[:unless].concat(Array(new_options[:if])) if new_options.key?(:if)
      end