In a Rails model I have an attribute is_subscriber, when I constructed a db migration to add this column to the database I specified the default value to be fal
From here
If you want to validate the presence of a boolean field (where the real values are true and false), you will want to use validates_inclusion_of :field_name, :in => [true, false] This is due to the way Object#blank? handles boolean values. false.blank? # => true
Or in Rails3 way
validates :field, :inclusion => {:in => [true, false]}