Skip to content

Commit

Permalink
Merge pull request rubyforgood#1329 from patrickarnett/issue-1323
Browse files Browse the repository at this point in the history
Correct operator.
  • Loading branch information
littleforest authored Nov 14, 2020
2 parents c84b0e9 + d3016d4 commit b9e5ac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/seeds/db_populator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def create_cases(casa_org, options)
case_number: generate_case_number,
transition_aged_youth: random_true_false
)
casa_org_volunteers = volunteers.select { |volunteer| volunteer.casa_org_id = casa_org.id }
casa_org_volunteers = volunteers.select { |volunteer| volunteer.casa_org_id == casa_org.id }
CaseAssignment.create!(casa_case: new_casa_case, volunteer: casa_org_volunteers.sample(random: rng))

random_case_contact_count.times do
Expand Down

0 comments on commit b9e5ac6

Please sign in to comment.