From 370def8a204f60d975438df7ff7f9bdf8ca63036 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 27 Oct 2021 16:16:31 +0100 Subject: [PATCH] Admin user seed --- db/seeds.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/seeds.rb b/db/seeds.rb index 7267776e0..f2be1012c 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -5,7 +5,7 @@ # # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }]) # Character.create(name: 'Luke', movie: movies.first) -# AdminUser.create!(email: "admin@example.com", password: "password", password_confirmation: "password") if Rails.env.development? +AdminUser.create!(email: "admin@example.com", password: "password", password_confirmation: "password") if Rails.env.development? income_ranges = [ { economic_status: "Full-time - 30 hours or more", soft_min: 143, soft_max: 730, hard_min: 90, hard_max: 1230 },