Skip to content

Commit

Permalink
once more
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Feb 5, 2025
1 parent b878cf6 commit 24a3912
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class PopulateLastScorerOnCaseScores < ActiveRecord::Migration[8.0]
def up
Case.find_each do |kase|
if kase.scorer.present?
kase.scores.update_all(:scorer_id, kase.scorer.id)
kase.scores.update_all(scorer_id: kase.scorer.id)
end
end
end
Expand Down

0 comments on commit 24a3912

Please sign in to comment.