Skip to content

Commit 9e8eb2b

Browse files
committed
Update seeds
1 parent 97507a7 commit 9e8eb2b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

db/seeds.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require "faker"
22

33
JobApplication.destroy_all
4-
50.times do
4+
20.times do
55
method_of_contact = %w[email internet_job_application recruiter].sample
66
email_address = (method_of_contact == "email") ? Faker::Internet.email : nil
77
website_link = (method_of_contact == "internet_job_application") ? "https://example.com/" : nil
@@ -16,6 +16,7 @@
1616
position_title: Faker::Job.title,
1717
website_link: website_link,
1818
claimed_for_unemployment: [true, false].sample,
19-
status: %w[interviewing no_response not_hired job_offer].sample
19+
status: %w[interviewing no_response not_hired job_offer].sample,
20+
location: %w[remote in_office hybrid].sample
2021
)
2122
end

0 commit comments

Comments
 (0)