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

try to sign up, but can not #4

Open
ghost opened this issue Jun 21, 2015 · 0 comments
Open

try to sign up, but can not #4

ghost opened this issue Jun 21, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 21, 2015

the apps works fine, but at time to sign up (i would like to try to use User.find(id).admin?, so i try to add a user and define it as admin one) i had an error:
"NoMethodError in Welcome#index
Showing /var/www/public_html/dummy/DummyApp/app/views/layouts/_current_user_info.html.haml where line #8 raised:
undefined method `name' for nil:NilClass"

after that, i will not be able to access root_path again (localhost:3000).

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

0 participants