ArLazyPreload

Lazy loading associations for the ActiveRecord models (by DmitryTsepelev)

ArLazyPreload Alternatives

Similar projects and alternatives to ArLazyPreload

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ArLazyPreload alternative or higher similarity.

ArLazyPreload reviews and mentions

Posts with mentions or reviews of ArLazyPreload. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-31.
  • Proof of Concept: auto-preloading in ActiveRecord
    4 projects | /r/rails | 31 Oct 2022
  • Enhanced ActiveRecord preloading
    6 projects | /r/rails | 19 May 2022
    Attentive reader could notice that in every described case, it was a requirement to explicitly list data that we want to preload for a group of users. Gladly, there is a simple solution! ArLazyPreload will make N+1 disappear just by enabling it. As soon as you need to load association for any record, it will load it once for all records that were fetched along this one. And it works with ActiveRecord and N1Loader perfectly!
    6 projects | /r/rails | 19 May 2022
    Thank you for sharing this with me! It seems that https://github.com/salsify/goldiloader gem does the same as https://github.com/DmitryTsepelev/ar_lazy_preload. It would be great to compare both solutions.
  • A note from our sponsor - LearnThisRepo.com
    learnthisrepo.com | 21 Feb 2024
    LearnThisRepo lets you learn 300+ open source repos including Postgres, Langchain, VS Code, and more by chatting with them using AI! Learn more →

Stats

Basic ArLazyPreload repo stats
3
624
5.8
about 1 month ago
The modern API for authentication & user identity.
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com