From 7265cf693c701891a6069c06dd6ec03dd366a9a1 Mon Sep 17 00:00:00 2001 From: Just Me Date: Mon, 5 Feb 2024 18:22:42 +0200 Subject: [PATCH] Fix Grade#find_each --- app/models/grade.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/grade.rb b/app/models/grade.rb index 12f5be97..80639d91 100644 --- a/app/models/grade.rb +++ b/app/models/grade.rb @@ -18,6 +18,6 @@ def find id new id:, name: VALUES[id] if VALUES.key? id end - def find_each = all.each + def find_each(...) = all.each(...) end end