method

primary_key

Importance_0
v5.2.3 - Show latest stable - 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 33
        def primary_key(value)
          associated_table.association_join_primary_key(klass(value))
        end
Register or log in to add new notes.