Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MongoDB booleans #635
I'm using default scaffolds, my model looks like this:
class Event include Mongoid::Document field :complete, type: Boolean, default: false
My view looks like this:
The :complete field is rendered as a textfield instead of the expected checkbox for boolean.
Dirty patch to Mongoid::Document