El Lunes, 18 de febrero de 2013 09:01:44 ROR Architect escribió:
> In my rails2.3.11 app/controllers/application_controller.rb I have this
> 
> ActionDispatch::ShowExceptions::rescue_responses["ActionController::RoutingE
> rror"]
> > = :not_found
> 
> now this feature is deprecated in rails-3.2.11, I am getting this server log
> 
> DEPRECATION WARNING: ActionDispatch::ShowExceptions.rescue_responses is
> 
> > deprecated. Please configure your exceptions using a railtie or in your
> > application config instead. (called from ApplicationController at
> > /home/app/demo/app/controllers/application_controller.rb:31)
> 
> I need specific help on How to set
> ActionDispatch::ShowExceptions::rescue_responses in rails3.2.11, so I can't
> get deprecated warning.
> 
> Thanks

It is not related to ActiveScaffold. Anyway, you only have to follow the 
indications in deprecation warning.

In config/environments/production.rb (or config/application.rb for all 
environments):
config.action_dispatch.rescue_responses["ActionController::RoutingError"] = 
:not_found

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/activescaffold?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to