Javascript object to Ruby

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