Displaying 1 result from an estimated 1 matches for "render_action_in_public".
2006 Feb 16
0
rescue_action_in_public in development environment?
hi,
i''m trying to implement rescue_action_in_public as a 
catch-all to redirect to an error page when an 
exception is thrown (actually, just for testing, 
I''m rendering "ERROR").  However, putting 
def render_action_in_public
  render( :text=>"ERROR" )
end 
in either a specific controller or even application.rb, has 
no effect on the app redirecting on an exception.  For 
instance, if I put a bogus controller name in the URL it 
still gives a "Routing Error" message instead of the rendered
"...