Skip to content

Commit

Permalink
Fix Grade#find_each
Browse files Browse the repository at this point in the history
  • Loading branch information
just806me committed Feb 5, 2024
1 parent 1855500 commit 7265cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/grade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7265cf6

Please sign in to comment.