I need to add custom error pages in my site. But i noticed that i need
rescue.rb file in lib/action_controller folder. Can somebody help me how
to get that file and how to implement custom error pages please
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~-
Hi all,
I implemented custom 404 and 500 error pages using rescue_from
according to an example I found at
http://blog.ubrio.us/code/rails-22-custom-error-pages-with-exception-loggable/
Here's my version:
unless ActionController::Base.consider_all_requests_local
rescue_from ActiveRecord::R
2 matches
Mail list logo