我想通过以下一行将记录中的一列更改为is_deleted: true:但我知道鲁波克的错误:
Rails/skipsmodelvalidations: avoid using update_all because it skips validations我知道我可以使用每个块并在一个块中通过e.update更新所有列,但是u
我有项目,目前rubocop检查通过(我有rubocop_todo.yml)。我正在尝试自己在Github Actions中设置linter stage (没有运行rubocop的第三方操作,已经存在),但由于某种原因,rubocop没有通过: The following cops/AvoidSetupHook: # new in 2.4For more information: https://docs.rubocop.o