add docker
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
#
|
||||
# movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
|
||||
# Character.create(name: 'Luke', movie: movies.first)
|
||||
if Rails.env.development?
|
||||
AdminUser.create!(email: 'admin@example.com', password: 'password', password_confirmation: 'password')
|
||||
unless AdminUser.find_by(email: 'bijan@example.com')
|
||||
AdminUser.create!(email: 'bijan@example.com', password: '1234567890', password_confirmation: '1234567890')
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user