Class: ActiveRecord::Reflection::CountLoaderReflection

Inherits:
AssociationReflection
  • Object
show all
Defined in:
lib/active_record/associations/count_loader.rb

Instance Method Summary collapse

Constructor Details

#initialize(name, scope, options, active_record) ⇒ CountLoaderReflection

Returns a new instance of CountLoaderReflection.



20
21
22
# File 'lib/active_record/associations/count_loader.rb', line 20

def initialize(name, scope, options, active_record)
  super(name, scope, options, active_record)
end

Instance Method Details

#macroObject



24
# File 'lib/active_record/associations/count_loader.rb', line 24

def macro; :count_loader; end