rails/rails — Issue #4846: "render :nothing => true" renders invalid JSON(" ")
Author: lewang
Created: 2012-02-02 05:15:18+00:00
State: open

I have this code snippet in a controller

format.json do
render :nothing => true
end

Which renders to " " (note single space). Which is invalid JSON. See jsonlint.com.