method
has_primary_key_column?
has_primary_key_column?()
private
Hide source
# File activerecord/lib/active_record/fixtures.rb, line 664 def has_primary_key_column? @has_primary_key_column ||= model_class && primary_key_name && model_class.columns.find { |c| c.name == primary_key_name } end