-
Notifications
You must be signed in to change notification settings - Fork 13
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
Users & user profile #2
Comments
ghost
assigned terenceponce
Oct 5, 2012
@terenceponce can you use either cancan or declative authorization for role-based authorization? Thanks. |
Sure. Shall we implement OAuth authentication? |
@terenceponce No need. We don't need their social media data and they can sign up the difficult way. I will finish the post aggregator today. |
Oh okay. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create users table and profile table.
User has one profile
User fields:
username, name, email, password, password_confirmation
User HABTM roles
add role model
Profile:
user_id, github_username, twitter, facebook, bio (text), location (same way github or twitter works. they can enter anything like "Planet of the Apes")
Create account route and update user controlller
The text was updated successfully, but these errors were encountered: