Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorsunil
    • CommentTimeOct 8th 2007
     permalink
    Hi Erland,

    How can we display a normal error without showing every time something went wrong we are working on it . As we all are developer so we dont want to everytime check the database logged for the errors . How can we show it on that page only.

    wroking with your great app.

    Thanks
    sunil
    • CommentAuthoradmin
    • CommentTimeOct 8th 2007
     permalink
    I'm not sure I understand you completely, but the error page is in public/500.html and can be replaced with something else. If you want to always see the error, add
    config.action_controller.consider_all_requests_local = true
    to config/environments/production.rb if you're running under the production environment.

    -- Erlend