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

Reduce namespace pollution by removing Readonly#loaded?

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.3
    • Affects Version/s: None
    • Component/s: None
    • None

      Currently, Attributes::ReadOnly defines a private `#loaded?` method on every mongoid document.

      Since it is a common name for a public method, this may be seen as namespace pollution. In order to reduce the pollution, this method can be dissolved in its one and only call and also be removed with this change proposal.

            Assignee:
            emily.stolfo Emily Stolfo
            Reporter:
            roman_l Roman L
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: