application_controllerで共通例外処理をする
rescue_from Timeout::Error, with: :timeout private def timeout(exception) end
な事ができます。
http://api.rubyonrails.org/classes/ActiveSupport/Rescuable/ClassMethods.html
rescue_from Timeout::Error, with: :timeout private def timeout(exception) end
な事ができます。
http://api.rubyonrails.org/classes/ActiveSupport/Rescuable/ClassMethods.html