hi all,
whenever there's an error, that error page displays all the data i.e.
params,session vars,cookie,cache etc to the user. can't we hide those
details? or is there any other way to handle this? this happens
irrespective of current running environment, development or production.
By default they are hidden in production, unless you've chosen otherwise. Errors are however always shown if your browser is running on the same machine as the app.
By default they are hidden in production, unless you've chosen
otherwise.
as i said in my earlier post, it shows those details even if in
production mode. in my environment.rb file, i've "ENV['RAILS_ENV'] ||=
'production'". is thr any other setting needs to be done?
Are you looking at the pages from the same machine that is serving
them ?
the relevant setting is
config.action_controller.consider_all_requests_local