Displaying 1 result from an estimated 1 matches for "numbers_pkey".
2010 Apr 14
3
PGError: duplicate key
..., name: "nine", value: 8, created_at: nil,
updated_at: nil>
>> n
=> #<Number id: nil, name: "nine", value: 8, created_at: nil,
updated_at: nil>
>> n.save
ActiveRecord::StatementInvalid: PGError: ERROR: duplicate key value
violates unique constraint "numbers_pkey"
: INSERT INTO "numbers" ("name", "created_at", "updated_at", "value")
VALUES(E''nine'', ''2010-04-14 19:07:44.694130'', ''2010-04-14
19:07:44.694130'', 8) RETURNING "id"
Any ideas?
t...