Ruby on Rails server running in production mode still shows lots of 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
11:52 UTC
Read the original article
Hit count: 227
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