There are cases where current_user is nil, and won't respond to #attributes. This causes an error in the error reporting, and no error is sent back at all - imagine an error when a user is signing up, current_user will be nil, and if there's an error in the sign-up flow you'll never see it.
There are cases where current_user is nil, and won't respond to #attributes. This causes an error in the error reporting, and no error is sent back at all - imagine an error when a user is signing up, current_user will be nil, and if there's an error in the sign-up flow you'll never see it.