method
new
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::UnknownPrimaryKey
new(model)public
No documentation available.
# File activerecord/lib/active_record/errors.rb, line 207
def initialize(model)
super("Unknown primary key for table #{model.table_name} in model #{model}.")
@model = model
end