method

primary_key

Importance_0
v5.1.7 - 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_handler.rb, line 46
        def primary_key(value)
          associated_table.association_primary_key(base_class(value))
        end
Register or log in to add new notes.