Re: ActiveRecord boolean false returning Nil

Phlip
2009-08-05T16:36:42Z

> Any help would be greatly appreciated. This is occurring for all
> boolean attributes when their value is false. Thanks,

That sounds like a feature. An unassigned boolean is indistinguishable from
a false, so it''s a nil.

Well-written code never ever says ''if bool == false'', which is
probably why
I have never seen a complaint.