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

All associations are validated on presence

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 12_01_17
    • Affects Version/s: 6.0.0
    • Component/s: None
    • Environment:
      Windows MRI ruby 2.2.3p173 (2015-08-18 revision 51636) [x64-mingw32]
      Rails 5.0.0beta4

      I was previously using Rails 5.0.0beta3 and Mongoid branch MONGOID-4218-rails-5, which was doing fine. As soon as I did the update, I get a lot of errors because every association is validated on presence, despite being no `validates_presence_of` in the models.

      I don't believe this is a design choice, so I am reporting this as Major.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            CyrilDD Cyril
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: