Constant

Rescue::DEFAULT_RESCUE_RESPONSES

There's no documentation for this item.

{
'ActionController::RoutingError'             => :not_found,
'ActionController::UnknownAction'            => :not_found,
'ActiveRecord::RecordNotFound'               => :not_found,
'ActiveRecord::StaleObjectError'             => :conflict,
'ActiveRecord::RecordInvalid'                => :unprocessable_entity,
'ActiveRecord::RecordNotSaved'               => :unprocessable_entity,
'ActionController::MethodNotAllowed'         => :method_not_allowed,
'ActionController::NotImplemented'           => :not_implemented,
'ActionController::InvalidAuthenticityToken' => :unprocessable_entity
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.