fix for "Error during failsafe response: private method `status_code' called for #ActionDispatch::ExceptionWrapper:0x..."
The above error 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.
Hobo 1.4 never uses ExceptionWrapper or status_code; I'm not sure why it brings out this behaviour in Rails. Regardless, status_code is public in Rails, so bringing it private is probably not a good idea.
fix for "Error during failsafe response: private method `status_code'…
… called for #<ActionDispatch::ExceptionWrapper:0x...>"
Hi @mislav, could you please review this pull request?
We are reaching Hobo 2.0 (http://hobocentral.net/blog/2012/09/12/hobo-2-0-0-pre1-released/) and it would be really helpful if we could clear this bug before the release, because it's quite annoying for the developers (they can't see Rails errors in the browser in development mode). Is there anything we can do to help you get this merged?
I'm gonna comment of a couple of other pull requests we'd also like to discuss/merge. Thank you very much!