Actions
Bug #32688
closedTracker #32684: Ruby 3.0 support
app/models/concerns/has_many_common.rb is incompatible with Ruby 3
Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Rails
Target version:
-
Description
/home/ekohl/.gem/ruby/gems/activerecord-6.0.3.7/lib/active_record/associations.rb:1370:in `has_many': wrong number of arguments (given 3, expected 1..2) (ArgumentError) from /home/ekohl/dev/foreman/app/models/concerns/has_many_common.rb:48:in `has_many' from /home/ekohl/.gem/ruby/gems/audited-4.10.0/lib/audited/auditor.rb:80:in `audited'
This is because it uses *args instead of **kwargs.
Updated by Ewoud Kohl van Wijngaarden over 3 years ago
- Blocks Tracker #32684: Ruby 3.0 support added
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Category set to Rails
- Parent task set to #32684
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Is duplicate of Bug #35300: Incorrect method signatures with keyword arguments added
Updated by Ewoud Kohl van Wijngaarden about 2 years ago
- Status changed from New to Duplicate
I forgot I already reported this. #35300 already has a PR.
Actions