dawarich/db/seeds.rb

11 lines
221 B
Ruby

# frozen_string_literal: true
return if User.any?
User.create!(
email: 'user@domain.com',
password: 'password',
password_confirmation: 'password'
)
puts "User created: #{User.first.email} / password: 'password'"