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

Create admin user from seeds #1

Open
danielmyasnikov opened this issue Aug 25, 2013 · 0 comments
Open

Create admin user from seeds #1

danielmyasnikov opened this issue Aug 25, 2013 · 0 comments

Comments

@danielmyasnikov
Copy link
Owner

Have look at AdminUser model, in seeds.rb file we create User only, we need a dummy AdminUser object.

So whenever you migrate an app you have this instance of an object in the app.

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

No branches or pull requests

2 participants