method

primary_key

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: PolymorphicArrayValue
primary_key(value) 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/relation/predicate_builder/polymorphic_array_value.rb, line 32
        def primary_key(value)
          associated_table.join_primary_key(klass(value))
        end
Register or log in to add new notes.