Check_box, are values saved by default? what type in DB

Are checkboxes saved by default into the DB when you have a field with
the same name? I tried with the field as a boolean and then as a
string but both times value was not saved. Even though
validates_acceptance_of works beautifully.

Can anyone share some insight on check_box and rails :-).

Thanks.


John K.
[email protected]

http://www.kopanas.com

http://www.soen.info

This is weird. If I take validates_acceptance_of off the checkbox
then the value is being passed into the db. Once I put it on the
field then null is passed into the DB… even when it passes. Does
this make sense to anyone?

On 9/13/06, John K. [email protected] wrote:

John K.
[email protected]

http://www.kopanas.com
http://www.cusec.net
http://www.soen.info


John K.
[email protected]

http://www.kopanas.com

http://www.soen.info