instance method _compile_per_key_options

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

_compile_per_key_options()

No documentation comment.

Source
# File activesupport/lib/active_support/callbacks.rb, line 169
      def _compile_per_key_options
        key_options  = _compile_options(@per_key)

        @klass.class_eval <<-RUBY_EVAL, __FILE__, __LINE__ + 1
          def _one_time_conditions_valid_#{@callback_id}?
            true #{key_options[0]}
          end
        RUBY_EVAL
      end

Defined in activesupport/lib/active_support/callbacks.rb line 169 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::Callbacks::Callback

Type at least 2 characters to search.

↑↓ navigate · open · esc close