Add and apply Rails/Pick rubocop rule
The `pick` method was added in Rails 6.0.
This commit is contained in:
@@ -288,6 +288,9 @@ Rails/OutputSafety:
|
||||
Exclude:
|
||||
- app/helpers/text_with_links_helper.rb
|
||||
|
||||
Rails/Pick:
|
||||
Enabled: true
|
||||
|
||||
Rails/PluckId:
|
||||
Enabled: true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user