Sha256: 3997201d17d9312e6b8b9e7f64a7e548a2e82da90e1e312d78eed4eddf802b66
Contents?: true
Size: 228 Bytes
Versions: 2
Compression:
Stored size: 228 Bytes
Contents
# frozen_string_literal: true module ArLazyPreload class Railtie < Rails::Railtie config.to_prepare do |_app| ActiveSupport.on_load(:active_record) do ArLazyPreload.install_hooks end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ar_lazy_preload-2.1.0 | lib/ar_lazy_preload/railtie.rb |
ar_lazy_preload-2.0.0 | lib/ar_lazy_preload/railtie.rb |