method

to_prepare

rails latest stable - Class: ActionController::Dispatcher

Method deprecated or moved

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

to_prepare(*args, &block)
public

No documentation available.

# 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