Forum: Ruby on Rails Error object for 40* pages?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
cool_screen_name90001 (Guest)
on 2005-11-27 05:35
(Received via mailing list)
I put this in routes.rb:
map.connect '*path', :controller=>'error', :action=>'show'

and created an error controller and show view. Is there some error
object that's available when
400 level errors occur which I can use to display related messages ('not
found', etc.)?

thanks
csn




__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
This topic is locked and can not be replied to.