method

constraints

rails latest stable - Class: ActiveRecord::Reflection::ThroughReflection

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.

constraints()
public

No documentation available.

# File activerecord/lib/active_record/reflection.rb, line 976
      def constraints
        scope_chain = source_reflection.constraints
        scope_chain << scope if scope
        scope_chain
      end