On 17 Jun 2010, at 22:50, Geoff wrote:

I see that rendering json arrays is very simple but JQuery needs to
have a jsonp format for cross domain requests.

is there a way to have rails output in the jsonp format?

Just a quick google search on "jsonp rails" brings up:

http://github.com/rack/rack-contrib/blob/cfee6eefe8291d0aa3c70a12b3b2cc350ec09beb/lib/rack/contrib/jsonp.rb
http://www.sitepoint.com/blogs/2006/10/05/json-p-output-with-rails/

... and some more interesting links.


Best regards

Peter De Berdt

--
You received this message because you are subscribed to the Google Groups "Ruby on 
Rails: Talk" 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-talk?hl=en.

Reply via email to