DEPRECATION WARNING: Defining enums with keyword arguments is deprecated and will be removed
Closed this issue · 0 comments
yamat47 commented
https://github.com/yamat47/kcff-match-hub/actions/runs/10332820528/job/28604475402
DEPRECATION WARNING: Defining enums with keyword arguments is deprecated and will be removed
in Rails 8.0. Positional arguments should be used instead:
enum :result, {:home_win=>"home_win", :visitor_win=>"visitor_win", :draw=>"draw", :canceled=>"canceled"}
(called from <class:GameResult> at /home/runner/work/kcff-match-hub/kcff-match-hub/app/app/models/game_result.rb:10)