Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-1036

Document or provide a warning when assigning a field name as :class

      I ran into this hiccup and couldn't figure out what was going on. Basically, if you give a field name :class, (at least if it's an embedded document), you will run into a world of pain. Should an error be raised or something if you name a field this?

            Assignee:
            Unassigned Unassigned
            Reporter:
            lancecarlson Lance Carlson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: