Did Rails 3.2 change since your change?
It looks like there's a bug again - status_code no longer takes any params.
Here's my fix - not sure if it's correct...
My fix for Rails 3.2 tie-in
Weird. I thought my code worked but now that you pointed it out, status_code indeed doesn't take an argument.
I'll incorporate this in somehow. Thanks
+1 for including this patch. Rails 3.2 with will_paginate shows 500 errors instead of debug info on dev errors, and instead of the 404 page in production.
fix the ExceptionWrapper patch
@henrik all is well now in new 3.0.3 release. Sorry for the trouble.
@mislav No worries. Thanks a lot!