On Sep 9, 4:00 pm, Joachim Bartosik <[email protected]> wrote:
> Maybe I missed something but I don't understand what's wrong with
> putting line like
>
>     attribute :boolean
>
> in fields?

That's what I did! Setting attribute to '' (Model#attribute='') then
results in
Model#attribute => nil
Model#read_attribute(:attribute) => false
When I save that record, false is saved to db, where I wanted nil to
be saved.

Regards, Bernhard

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to