method

reflection_scope

rails latest stable - Class: ActiveRecord::Associations::Preloader::Association

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v7.0.0) is shown here.

reflection_scope()
private

No documentation available.

# File activerecord/lib/active_record/associations/preloader/association.rb, line 265
          def reflection_scope
            @reflection_scope ||= reflection.join_scopes(klass.arel_table, klass.predicate_builder, klass).inject(klass.unscoped, &:merge!)
          end