method
primary_key_name
primary_key_name()
public
Hide source
# File activerecord/lib/active_record/reflection.rb, line 140 def primary_key_name @primary_key_name ||= options[:foreign_key] || derive_primary_key_name end