Re: Help with serialization

QAS WM
Mon, 23 May 2011 16:18:59 -0000

Frederick Cheung wrote in post #1000379:
>
> So what does get saved in the database. What does the params hash look
> like at the point where this code runs?
>
> Fred

Values for each of the items in the hash are nil. If I replace the
params[:ac_rear] for example

:ac_rear => params[:ac_rear]

with true or false

:ac_rear => true,

that does get saved and shows as such.

--
Posted via http://www.ruby-forum.com/.