[Rails] Re: [Please help!]store parameters variable into database

2009-01-05 Thread Ukrit Himakoon
rp8 -_- wrote: > Ukrit Himakoon wrote: >> rp8 -_- wrote: >>> One way is to save a serialized hash into the db and you can deserialize >>> the saved hash object back to params. >>> >>> Regards, >>> >>> rp8 >>> === >>> http://lun.competo.com >> >> How to serialize would you m

[Rails] Re: [Please help!]store parameters variable into database

2009-01-05 Thread rp8 -_-
Ukrit Himakoon wrote: > rp8 -_- wrote: >> One way is to save a serialized hash into the db and you can deserialize >> the saved hash object back to params. >> >> Regards, >> >> rp8 >> === >> http://lun.competo.com > > How to serialize would you mind giving me some example.

[Rails] Re: [Please help!]store parameters variable into database

2009-01-05 Thread Ukrit Himakoon
rp8 -_- wrote: > One way is to save a serialized hash into the db and you can deserialize > the saved hash object back to params. > > Regards, > > rp8 > === > http://lun.competo.com How to serialize would you mind giving me some example. suppose that I've session['test'] wh

[Rails] Re: [Please help!]store parameters variable into database

2009-01-05 Thread rp8 -_-
One way is to save a serialized hash into the db and you can deserialize the saved hash object back to params. Regards, rp8 === http://lun.competo.com -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message

[Rails] Re: [Please help!]store parameters variable into database

2009-01-05 Thread Ukrit Himakoon
Ukrit Himakoon wrote: > So here's what I'm trying to do > I'm going to store params variables into database. > Here's what it's looklike. > > > Data that store on my database -- > --- !map:HashWithIndifferentAccess > "15": "1" > "16": "1" > 2-Medium: "0" > 1-H