#8062 : callback'd JSON isn't JSON

http://dev.rubyonrails.org/ticket/8062

If you do render :json => @posts.to_json, :callback => 'InsertPosts', then you are returning executable javascript code - not json. This trivial patch updates the content type to reflect that.

Any interest in seeing this applied?

Cheers, Jon