Use a translated message for when an association fails validation during deletion due to dependent documents existing

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The validation error message for :restrict_with_error dependency option appears to be hardcoded in Mongoid source and is not translatable, unlike most of the error messages in Mongoid.

      Contributed PR: https://github.com/mongodb/mongoid/pull/4723

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: