add docker
This commit is contained in:
1 parent
23bb0bca0d
commit
b9bde40edc
4 files changed
+54
-2
No files matched your search
+2
-2
@@ -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