Jeremy Woertink wrote in post #965835: > I don't remember how the rendering was in Rails 2.2.2, but this is how > I'm doing it in my Rails 2.3.5+ apps > > render :file => File.join(Rails.root, 'public', '500.html' > > You might need :layout => false > > > ~Jeremy
Thanks for ur response Jeremy .. am running my application in development mode but soon i switch to production mode i got what i required without any change ... means my application able to redirect to error page(500.html) as soon as switch to production mode... -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.