Sha256: fceeb453bbd15c668dfd771c18b09ef63b65783f48bb74e33b024e0d63cf9fa7
Contents?: true
Size: 336 Bytes
Versions: 4
Compression:
Stored size: 336 Bytes
Contents
module ActiveRecord module Precount module AutosaveAssociationExtension private def save_belongs_to_association(reflection) return if reflection.is_a? ActiveRecord::Reflection::CountLoaderReflection super(reflection) end end end Base.prepend(Precount::AutosaveAssociationExtension) end
Version data entries
4 entries across 4 versions & 1 rubygems