Displaying 1 result from an estimated 1 matches for "produceerror".
Did you mean:
reproduceerror
2007 Apr 09
0
How to render my own error pages correctly?
...ndered too! Look, I''ve set ":layout =>
false"!
The problem is, that I can not get a really 404 error with this. I alws
get 200 error. I think it is beacause the 404_myerror.html is rendered
within this application.rhtml. I can verify this via console:
>> app.get "/produceerror/bad"
=> 200
(in my action "bad" i raise the 404)
What do you think? This Exception handling for errors is a bit sucky ;-)
Thanks,
Rob
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are sub...