Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit suppresses the following RuboCop offenses: ```console $ bundle exec rubocop (snip) Offenses: lib/rubocop/cop/rails/not_null_column.rb:95:23: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. return if type.value == :virtual || type.value == 'virtual' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ lib/rubocop/cop/rails/not_null_column.rb:96:24: C: [Correctable] Style/MultipleComparison: Avoid comparing a variable with multiple items in a conditional, use Array#include? instead. return if (type.value == :text || type.value == 'text') && database == MYSQL ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 296 files inspected, 2 offenses detected, 2 offenses autocorrectable ```
- Loading branch information