class method self.to_prepare

Ruby on Rails 3.0.20

Since v2.2.3 Last seen in v3.0.20

Available in: v2.2.3 v2.3.18 v3.0.20

Signature

self.to_prepare(*args, &block)

No documentation comment.

Parameters

args rest
block block
Source
# File actionpack/lib/action_controller/deprecated/dispatcher.rb, line 16
      def to_prepare(*args, &block)
        ActiveSupport::Deprecation.warn "ActionController::Dispatcher.to_prepare is deprecated. " <<
          "Please use config.to_prepare instead", caller
        ActionDispatch::Callbacks.after(*args, &block)
      end

Defined in actionpack/lib/action_controller/deprecated/dispatcher.rb line 16 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionController::Dispatcher

Type at least 2 characters to search.

↑↓ navigate · open · esc close