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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.