Displaying 1 result from an estimated 1 matches for "error_404".
Did you mean:
error404
2007 Jan 20
1
Missing action error not being caught
...cfic error processing your request."
Though I have the following in my application.rb
def rescue_action_in_public(exception)
case exception
when UnknownAction, ActiveRecord::RecordNotFound then
render :controller => "application", :action =>
"error_404", :status => 404
else
render :text => "errors/unhandled", :status => 505
end
end
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...