Methods
#
A
D
I
M
R
Constants
UnknownAction = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActionController::UnknownAction', '::AbstractController::ActionNotFound')
 
DoubleRenderError = ActiveSupport::Deprecation::DeprecatedConstantProxy.new('ActionController::DoubleRenderError', '::AbstractController::DoubleRenderError')
 
Class Public methods
default_charset=(new_charset)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 16
def self.default_charset=(new_charset)
  ActiveSupport::Deprecation.warn "Setting default charset at controller level"            " is deprecated, please use `config.action_dispatch.default_charset` instead", caller
  ActionDispatch::Response.default_charset = new_charset
end
Instance Public methods
_handle_method_missing()
# File actionpack/lib/action_controller/metal/compatibility.rb, line 53
def _handle_method_missing
  ActiveSupport::Deprecation.warn "Using `method_missing` to handle non"          " existing actions is deprecated and will be removed in Rails 4.0, "          " please use `action_missing` instead.", caller
  method_missing(@_action_name.to_sym)
end
_normalize_options(options)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 42
def _normalize_options(options)
  options[:text] = nil if options.delete(:nothing) == true
  options[:text] = " " if options.key?(:text) && options[:text].nil?
  super
end
assign_shortcuts(*)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 38
def assign_shortcuts(*)
  ActiveSupport::Deprecation.warn "Calling `assign_shortcuts` is deprecated and has no effect anymore.", caller
end
initialize_template_class(*)

For old tests

# File actionpack/lib/action_controller/metal/compatibility.rb, line 34
def initialize_template_class(*)
  ActiveSupport::Deprecation.warn "Calling `initialize_template_class` is deprecated and has no effect anymore.", caller
end
method_for_action(action_name)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 60
def method_for_action(action_name)
  super || (respond_to?(:method_missing) && "_handle_method_missing")
end
render_to_body(options)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 48
def render_to_body(options)
  options[:template].sub!(%r^\//, '') if options.key?(:template)
  super || " "
end
rescue_action(env)
# File actionpack/lib/action_controller/metal/compatibility.rb, line 27
def rescue_action(env)
  ActiveSupport::Deprecation.warn "Calling `rescue_action` is deprecated and will be removed in Rails 4.0.", caller
  raise env["action_dispatch.rescue.exception"]
end