Use rescue_from only on production for errors

Errors:
  ActionController::RoutingError
  ActionController::UnknownController
  ActiveRecord::RecordNotFound