Hey All, Is there any way I can change the default Rails Error message in Production? I''d rather it said something about contacting the developer. Regards, Julian.
Why not have the app contact you? http://dev.rubyonrails.org/browser/plugins/exception_notification/README On 3/15/06, Julian Leviston <julian@coretech.net.au> wrote:> Hey All, > > Is there any way I can change the default Rails Error message in > Production? I''d rather it said something about contacting the developer. > > Regards, > Julian. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ben Reubenstein http://www.benr75.com
Don''t let the error bubble up to the default handler. Use rescue_action_in_public so you have a shot at all unhandled exceptions. http://rails.rubyonrails.com/classes/ActionController/Rescue.html#M000042 Also see: http://wiki.rubyonrails.com/rails/pages/HowtoConfigureTheErrorPageForYourRailsApp for more information about this. -- View this message in context: http://www.nabble.com/Rails-Error-Query-t1287901.html#a3426997 Sent from the RubyOnRails Users forum at Nabble.com.