a rails hook that allows one to handle request parameter parsing exceptions (invalid XML, JSON) with a rescue block
Karol Bucek
gem "request_exception_handler", "~> 0.3"