Boolean defaults no longer work

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 12_01_17
    • Affects Version/s: 6.0.0
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This has always worked, but In latest trunk, it is throwing a validation error:

        field :flagged, type: Mongoid::Boolean, default: false
      

      When I try to create an object, it says:

      The following errors were found: Flagged By can't be blank
      

      Any ideas?

              Assignee:
              Emily Stolfo (Inactive)
              Reporter:
              Roman Gaufman
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: