You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActionController::Serialization caches the serializer discovered in #get_serializer in @_serializer. When the render call raises an error and ends up in a rescue_from handler, the serializer is still set to whatever was discovered before the error was raised. This usually prevents the correct error response from being generated.
The text was updated successfully, but these errors were encountered:
ryansch
added a commit
to outstand/active_model_serializers
that referenced
this issue
May 20, 2015
ActionController::Serialization caches the serializer discovered in
#get_serializer
in@_serializer
. When the render call raises an error and ends up in a rescue_from handler, the serializer is still set to whatever was discovered before the error was raised. This usually prevents the correct error response from being generated.The text was updated successfully, but these errors were encountered: