Mongoid ODM doesn't properly output data types as form fields #19

mrrooijen opened this Issue Dec 11, 2010 · 1 comment


None yet

2 participants


In Mongoid when you define for example something like this:

class User
  include Mongoid::Document
  field :firstname, :type => String
  field :lastname, :type => String
  field :admin, :type => Boolean
  field :birthdate, :type => Date

It just creates text_field's for all input types, rather than a date select or checkbox for boolean.

rand99 commented Sep 23, 2011

use formtastic, probably its compatible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment