ActionDispatch::ShowExceptions - rails upgrade 2.3.x to 3.2.x

11 views
Skip to first unread message

અમિત પંડ્યા

unread,
Feb 18, 2013, 12:06:43 PM2/18/13
to ogre...@googlegroups.com
In my rails2.3.11 app/controllers/application_controller.rb I have this

ActionDispatch::ShowExceptions::rescue_responses["ActionController::RoutingError"] = :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. I am using Jruby 1.7.2 and rails 3.2.11

Thanks

Geoff Longman

unread,
Feb 18, 2013, 5:23:40 PM2/18/13
to ogre...@googlegroups.com
looks to me like you already found the answer. It is you that answered the SO question right?

--
--
You received this message because you are subscribed to the Ottawa Group of Ruby Enthusiasts [OGRE].
To post to this group, send email to ogre...@googlegroups.com
To unsubscribe from this group, send email to
ogre-list+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/ogre-list?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Ottawa Ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ogre-list+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Geoff
Reply all
Reply to author
Forward
0 new messages