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

Error PG::UndefinedTable: ERROR: relation "users" does not exist #10

Closed
ricardodovalle opened this issue Nov 26, 2013 · 3 comments
Closed
Labels
Milestone

Comments

@ricardodovalle
Copy link

I got this error on the first time that I runned rake db:migrate, then I removed the gem from Gemfile and the migrate worked.

The full stack error is here:
http://pastebin.com/U4ht3JkR

Thanks

@melekes
Copy link
Owner

melekes commented Nov 27, 2013

Could you share more details (file with migration, user model) or create a sample app? I tried to reproduce this on one of my applications with Devise, but no luck.

@ricardodovalle
Copy link
Author

@akalyaev, thanks for your work. I will create a sample and tried to reproduce the error soon.

I am using:
rails(4.0.1)
ruby(2.0.0)
devise (3.0.4) (it is outdated because I am using the token generator authentication)

User.rb : https://gist.github.com/ricardodovalle/7672677

melekes added a commit that referenced this issue Nov 28, 2013
fix relation does not exist error (fixes #10)
@melekes
Copy link
Owner

melekes commented Nov 28, 2013

@ricardodovalle This should be fixed now 😄. Feel free to reopen this issue if that's not the case.

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

No branches or pull requests

2 participants