Registry / database / ar-lazy-preload

ar-lazy-preload

JSON →
library2.1.2rbrubygemsunverified

Lazy preload implementation for ActiveRecord models to optimize database queries.

gem install ar_lazy_preload
INSTALL
IMPORT
SIG · AR-LAZY-PRELOAD
A
ar-lazy-preload
databaserubyv2.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ArLazyPreload
require 'ar_lazy_preload'

Enables lazy preloading of associations in ActiveRecord.

require 'ar_lazy_preload' # In your model: lazy_preload :association_name # Then: User.lazy_preload(:posts).find_each { |u| u.posts.load }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
OpenAI (training)
1
Resources
ar-lazy-preload — gem install ar-lazy-preload · libregistry