Raised when a primary key is needed, but there is not one specified in the schema or model.
# File lib/active_record/errors.rb, line 190 def initialize(model) super("Unknown primary key for table #{model.table_name} in model #{model}.") @model = model end