我正在使用偏执狂 2.4.2。我用过真的_detroy!“真正摧毁”用户。现在我在我的数据库中重新创建它失败了。
我做了:
Student.create(email: "blabla@bla.com", profile: 342)
错误信息是:
Student Exists (8.2ms) SELECT 1 AS one FROM "students" WHERE "students"."email" = $1 AND "students"."deleted_at" IS NULL LIMIT $2 [["email", "blabla@bla.com"], ["LIMIT", 1]]
有人知道发生了什么吗?
谢谢。