Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

failsafe response: don't mess with privacy of `status_code'

This error:

  Error during failsafe response: private method `status_code'
  called for ActionDispatch::ExceptionWrapper

is dumped to the log whenever a backtrace is dumped to the log for an
app that uses will_paginate along with a Rails 3.2 and Hobo 1.4.
  • Loading branch information...
commit 9fc0690c7d191a6ccf30f70da16e8588fb28239b 1 parent 857bcca
@bryanlarsen bryanlarsen authored committed
Showing with 0 additions and 1 deletion.
  1. +0 −1  lib/will_paginate/railtie.rb
1  lib/will_paginate/railtie.rb
@@ -40,7 +40,6 @@ def self.add_locale_path(config)
module ShowExceptionsPatch
extend ActiveSupport::Concern
included { alias_method_chain :status_code, :paginate }
- private
def status_code_with_paginate(exception = @exception)
if exception.is_a?(WillPaginate::InvalidPage) or
(exception.respond_to?(:original_exception) &&
Please sign in to comment.
Something went wrong with that request. Please try again.