method
reflection_scope
v6.1.3.1 -
Show latest stable
- Class:
ActiveRecord::Associations::Preloader::Association
reflection_scope()private
No documentation available.
# File activerecord/lib/active_record/associations/preloader/association.rb, line 131
def reflection_scope
@reflection_scope ||= begin
reflection.join_scopes(klass.arel_table, klass.predicate_builder, klass).inject(&:merge!) || klass.unscoped
end
end