This method is defined automatically and only given for boolean attributes
create_table "users", :force => true do |t| t.boolean "email_confirmed" end # you may now say: User.email_confirmed?