Open rezaa1 opened 4 years ago
When I try to create account it fails, and rollback
Loading production environment (Rails 5.0.1) irb(main):001:0> Account.create(email: "my@email.com", password: "yourpassword", password_confirmation: "yourpasword") (0.3ms) begin transaction Account Exists (0.6ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."email" = ? LIMIT ? [["email", "my@email.com"], ["LIMIT", 1]] (0.3ms) rollback transaction => #<Account id: nil, email: "my@email.com", created_at: nil, updated_at: nil, authentication_token: nil> irb(main):002:0>
I tried different emails, but still failng
When I try to create account it fails, and rollback
Loading production environment (Rails 5.0.1) irb(main):001:0> Account.create(email: "my@email.com", password: "yourpassword", password_confirmation: "yourpasword") (0.3ms) begin transaction Account Exists (0.6ms) SELECT 1 AS one FROM "accounts" WHERE "accounts"."email" = ? LIMIT ? [["email", "my@email.com"], ["LIMIT", 1]] (0.3ms) rollback transaction => #<Account id: nil, email: "my@email.com", created_at: nil, updated_at: nil, authentication_token: nil> irb(main):002:0>
I tried different emails, but still failng