method

deprecate_per_key_option

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.

deprecate_per_key_option(options)
public

No documentation available.

# File activesupport/lib/active_support/callbacks.rb, line 106
      def deprecate_per_key_option(options)
        if options[:per_key]
          raise NotImplementedError, ":per_key option is no longer supported. Use generic :if and :unless options instead."
        end
      end