method

constraints

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

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 1038
      def constraints
        @reflection.constraints + [source_type_scope]
      end