rails/rails — comment on commit 0d3333257156544feba729ba28f6874d5a30d561
File:  line 0
By josevalim:

Agreed. Can someone please check if Rails is going to work fine with jquery
if we return head :no_content with no content type? Changing an existing
scaffold to return "self.content_type = nil; head :no_content" and sending
over an ajax request should be enough.