Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not create a user #64

Open
rezaa1 opened this issue Sep 20, 2020 · 0 comments
Open

can not create a user #64

rezaa1 opened this issue Sep 20, 2020 · 0 comments

Comments

@rezaa1
Copy link

rezaa1 commented Sep 20, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant