method
reflection_scope
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::Associations::Preloader::Association
reflection_scope()private
No documentation available.
# File activerecord/lib/active_record/associations/preloader/association.rb, line 129
def reflection_scope
@reflection_scope ||= reflection.scope ? klass.unscoped.instance_exec(nil, &reflection.scope) : klass.unscoped
end