Rene Retz wrote:> Hi,
>
> How do I transfer a big amount of data stored in a javascript client
> side
> object to my Rails application? I want to store this object in my DB and
> after get it back some time after.
>
> Thanks
>
> Rene
Rene,
I believe you are looking for is JSON:
http://www.json.org/
Here is the Ruby implementation:
http://json.rubyforge.org/
Basically, use a simple AJAX call but replace the X with JavaScript
Object Notation (AJAJ?) to transfer the data back and forth between your
client and the server.
David B. Williams
http://www.cybersprocket.com
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---