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

Make the parent mandatory for a child in a belongs_to relation

    • Type: Icon: New Feature New Feature
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0
    • Affects Version/s: None
    • Component/s: None
    • None

      For associations via 'belongs_to', Rails 5 ActiveRecord requires a parent relation to be set on a child before it can be saved.
      We should parallel this in Mongoid.

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

              Created:
              Updated:
              Resolved: