config/rails.yml in rubocop-govuk-3.10.0 vs config/rails.yml in rubocop-govuk-3.11.0

- old
+ new

@@ -11,22 +11,19 @@ - 'db/migrate/201*' Rails: Enabled: true -# Introduced in: c69a7eb3af955d6c4c0cf0c3cec8e9f330c74429 -# TODO: unclear why this is here! -Rails/HasAndBelongsToMany: - Description: 'Prefer has_many :through to has_and_belongs_to_many.' - Enabled: false - -# Introduced in: c69a7eb3af955d6c4c0cf0c3cec8e9f330c74429 -# TODO: unclear why this is here! +# We commonly print output in Ruby code that has been +# extracted from a Rake task in 'lib/'. Rails/Output: - Description: 'Checks for calls to puts, print, etc.' - Enabled: false + Exclude: + - 'lib/**/*.rb' -# Introduced in: 91d7bf4895db12727582ad7bf47bdcb20ab178f7 -# TODO: unclear (in any real detail) why this is here! +# It's unclear what remedial action to take for the total +# set of methods this Cop has issues with. For example, we +# use 'update_all' in many of our repos, for which there is +# no efficient alternative. Instead, we should only enable +# this Cop for methods that have a clear alternative. Rails/SkipsModelValidations: - Description: 'Avoid methods that skip model validations.' - Enabled: false + Blacklist: + - update_attribute