Created
July 7, 2014 07:44
-
-
Save rocodev-tech/e8fa5ef8c9921c433470 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rails c | |
u = User.new(:email=> “[email protected]”,:password => “12345678”, :password_confirmation => “12345678”) | |
u.save | |
u.is_admin = true | |
u.save |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment