method

reflection_scope

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Association
reflection_scope() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# 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
Register or log in to add new notes.