method

_compile_per_key_options

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveSupport::Callbacks::Callback
_compile_per_key_options() 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 151
      def _compile_per_key_options
        key_options  = _compile_options(@per_key)

        @klass.class_eval           def _one_time_conditions_valid_#{@callback_id}?            true #{key_options[0]}          end, __FILE__, __LINE__ + 1
      end
Register or log in to add new notes.