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

uid is blank upon basic rails 5 api setup, user registration #1111

Closed
tayloraucoin opened this issue Mar 17, 2018 · 2 comments
Closed

uid is blank upon basic rails 5 api setup, user registration #1111

tayloraucoin opened this issue Mar 17, 2018 · 2 comments

Comments

@tayloraucoin
Copy link

Latest devise_token_auth

Setting up a fresh rails 5 in api-mode

Following along this guide and have hit a snag: https://github.com/dnasseri/rails5-api-guide (the part where the first curl command is shown)

Trying to perform a very basic user registration under test conditions. Sending post request from my client and is hitting the correct route.

Each record is not having a 'uid' field generated. The first record saves fine because it falls to default as "". It is required to be unique so two ""'s are a no go.

Why is this field even needed since it is a user record and the id field is there? Why clue as to why uid is not being generated?

Thanks!

@zachfeldman
Copy link
Contributor

Kind of inconclusive whether Rails 5 or API are compatible:
#458

Could you try running the test suite against your setup?

@tayloraucoin
Copy link
Author

Wasn't including DeviseTokenAuth::Concerns::User

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

2 participants