I want to change one column to is_deleted: true in my records by below line:
UserTag.where(cms_tag_id: webhook.dig('entity', 'id')).update_all(is_deleted: true)
But I'm getting Rubocop's error:
Rails/skipsmodelvalidations: avoid using update_all because it skips validations.
I know I can use each block and update all columns through e.update in a block but update_all is much faster, one line, neat solution.
How to disable such a rubocop error only for this, specific line?