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

Require that associations have been eagerly loaded upon access

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None

      New in AR 6.1 where they call it "strict loading associations":

      https://guides.rubyonrails.org/6_1_release_notes.html#strict-loading-associations

      Strict loading associations allows you to ensure that all your associations are loaded eagerly and stop N+1's before they happen.

      https://github.com/rails/rails/pull/37400

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: