I am using paranoia 2.4.2. I have used really_detroy! to "really destroy" a user. Now I am failing with recreate it in my database.

I did:

Student.create(email: "[email protected]", profile: 342)

Error message is:

Student Exists (8.2ms) SELECT 1 AS one FROM "students" WHERE "students"."email" = $1 AND "students"."deleted_at" IS NULL LIMIT $2 [["email", "[email protected]"], ["LIMIT", 1]]

Does anybody know what is going on ?

Thx.

0

There are 0 best solutions below