rails/rails — comment on commit 0d3333257156544feba729ba28f6874d5a30d561
File: actionpack/lib/action_controller/metal/responder.rb line 164
By activars:

How about adding another condition check if resource is nil or not
if resource and status is not nil, that means the caller explicitly set the response data?