Why does rails think my object isn't persisted?

前端 未结 0 1337
刺人心
刺人心 2021-01-27 21:47

I have a situation where a myobject.save! is resulting in this error:

PG::UniqueViolation: ERROR: duplicate key value violates unique constraint

相关标签:
回答
  • 消灭零回复
提交回复
热议问题