Sha256: 5af41abaa234608687800c1fe750dc2988f3aae88d898e2b66fc4f46c883ccdd
Contents?: true
Size: 1.02 KB
Versions: 5
Compression:
Stored size: 1.02 KB
Contents
require "active_record/precount/base_extension" require "active_record/precount/collection_proxy_extension" require "active_record/precount/has_many_extension" require "active_record/precount/join_dependency_extension" require "active_record/precount/preloader_extension" require "active_record/precount/reflection_extension" require "active_record/precount/relation_extension" ActiveSupport.on_load(:active_record) do module ActiveRecord Base.send(:extend, Precount::BaseExtension) Relation.send(:prepend, Precount::RelationExtension) Reflection.send(:prepend, Precount::ReflectionExtension) Associations::Preloader.send(:prepend, Precount::PreloaderExtension) Associations::JoinDependency.send(:prepend, Precount::JoinDependencyExtension) Associations::CollectionProxy.send(:prepend, Precount::CollectionProxyExtension) Associations::Builder::HasMany.send(:prepend, Precount::Builder::HasManyExtension) Reflection::AssociationReflection.send(:prepend, Precount::AssociationReflectionExtension) end end
Version data entries
5 entries across 5 versions & 1 rubygems