On Jun 8, 4:51 pm, Ralph Shnelvar <[email protected]> wrote:

>
> Do you know of any tutorial that explains this header stuff?

Setting headers is pretty easy:

response.headers['X-JSON'] = blah.to_json

And then in your client side code look at the the header and read the
JSON (prototype will do this for you, jquery might not)

Fred

-- 
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