Require that associations have been eagerly loaded upon access

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • 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
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: