Ruby on Rails server running in production mode shouldn't show any error details?
Posted
by Jian Lin
on Stack Overflow
See other posts from Stack Overflow
or by Jian Lin
Published on 2010-06-12T11:49:56Z
Indexed on
2010/06/12
12:43 UTC
Read the original article
Hit count: 255
I thought I read that when a Ruby on Rails server is running in production mode, it won't say so much about an error (the details, showing the code)... but I just try to run the server using
ruby script/server -e production
and add a <%= x %>
with the local variable x
undefined. It showed a lot of error details including the code... is there a way to make it look better?
© Stack Overflow or respective owner