strict_lazy applies the spirit of Rails' strict_loading to computed values (external APIs, window functions, cross-table aggregates) that associations cannot express. It forces explicit preloading and raises on unloaded access in development/test, so hidden per-record queries never slip into views. No batch-loader / N1Loader / ar_lazy_preload dependency — activesupport only.

Required Ruby Version

>= 3.4.0

Authors

aki77

Versions

  1. 0.4.1 June 20, 2026 (19.5 KB)
  2. 0.4.0 June 15, 2026 (25 KB)
  3. 0.3.0 June 14, 2026 (21.5 KB)

Pushed by

SHA 256 checksum