Sha256: 06010bdedd22196557d1b2ab8e06d604ddde4c56ec0a2b970735e8e387cf3af7

Contents?: true

Size: 254 Bytes

Versions: 7

Compression:

Stored size: 254 Bytes

Contents

module ActiveRecord::Associations::Builder
  class CountLoader < SingularAssociation
    self.valid_options = [:class, :class_name, :foreign_key]

    def macro
      :count_loader
    end

    def self.valid_dependent_options
      []
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
activerecord-precount-0.5.1 lib/active_record/associations/builder/count_loader.rb
activerecord-precount-0.5.0 lib/active_record/associations/builder/count_loader.rb
activerecord-precount-0.4.3 lib/active_record/associations/builder/count_loader.rb
activerecord-precount-0.4.2 lib/active_record/associations/builder/count_loader.rb
activerecord-precount-0.4.1 lib/active_record/associations/builder/count_loader.rb
activerecord-precount-0.4.0 lib/active_record/associations/builder/count_loader.rb
activerecord-count_loader-0.3.3 lib/active_record/associations/builder/count_loader.rb