Skip to content

Instantly share code, notes, and snippets.

@kelso
Created September 30, 2015 11:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kelso/4b80b1dd9f868d17e388 to your computer and use it in GitHub Desktop.
Save kelso/4b80b1dd9f868d17e388 to your computer and use it in GitHub Desktop.
default user seed
# Default user
email = 'demo@demo.sk'
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