Created
September 30, 2015 11:54
-
-
Save kelso/4b80b1dd9f868d17e388 to your computer and use it in GitHub Desktop.
default user seed
This file contains 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
# Default user | |
email = '[email protected]' | |
password = 'demodemo' | |
unless User.exists?(email: email) | |
User.create!(email: email, password: password, password_confirmation: password) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment