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

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to