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

The resources are available in those cases, we simply don't want to render them back. You should fix this by passing a block to respond_with or by using a custom responder.