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