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

Create the dependent behaviour restrict_with_error

    • Type: Icon: New Feature New Feature
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      Causes an error to be added to the owner if there are any associated
      objects.

      It is the same behaviour we have on AR.

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

              Created:
              Updated:
              Resolved: