title: Ruby on Rails 4 - config.consider_all_requests_local = true in production
body: <p>In <code>config/environments/production.rb</code> I can set <code>config.consider_all_requests_local       = true</code> to be able to see the errors with good info for debugging, but this will also show the error to users. </p>
  
  <p>In <code>production ENV</code> how is it possible to add <code>config.consider_all_requests_local       = true</code> <strong>Only for my IP address</strong> while others see 404 or 500 error?</p>
  
  <p>Or is it any work around for it?</p>
  
  <p><em>PS: I am using ruby on rails 4.2.4</em></p>