rubyamf/rubyamf — pull request #8 by warhammerkid (2011-11-30 15:52:40+00:00)
Title: Fix exceptions being hidden in Rails 2

ActionController::Rescue is rescuing exceptions and handling them before RubyAMF sees them, which results in RubyAMF thinking that there were no exceptions when there actually were. I'm patching `rescue_action` so that it just re-raises the exception if the request is AMF. If anyone has a custom rescue handler, it won't be called, but it's probably easier this way for the user because a standard rescue handler really wouldn't work anyways. This only applies to Rails 2 - Rails 3 has its exception catching up higher in the stack than RubyAMF.