Class: ActiveRecord::Reflection::CountLoaderReflection
- Inherits:
-
AssociationReflection
- Object
- AssociationReflection
- ActiveRecord::Reflection::CountLoaderReflection
- Defined in:
- lib/active_record/associations/count_loader.rb
Instance Method Summary collapse
-
#initialize(name, scope, options, active_record) ⇒ CountLoaderReflection
constructor
A new instance of CountLoaderReflection.
- #macro ⇒ Object
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, , active_record) super(name, scope, , active_record) end |
Instance Method Details
#macro ⇒ Object
24 |
# File 'lib/active_record/associations/count_loader.rb', line 24 def macro; :count_loader; end |