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


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to