"validates :name, presence: true" is not working but "validates_presence_of :name" is

XMLWordPrintableJSON

    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using the latest version of the official mongoid (3.0.14) I am now seeing that shorthand style presence validations (validates :name, presence: true) are no longer doing anything. If I change my code to using the validates_presence_of version then my specs pass.

              Assignee:
              Unassigned
              Reporter:
              Jake Hoffner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: