yurokle wrote in post #966008: > Also, don't forget to pass the HTTP status code: > render :status=> 500, :file => File.join(..... > > BUT! Rails will render 500 error page for you, but only on the remote > server, > in the rails sources there is a check if you send a request from the > local pc, it renders trace code to you, > and if you make request from remote PC it will render public/500.html > page for you, without any customizations.
Means it has nothing to do with production mode or development 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.