Add Rails/UniqueValidationWithoutIndex cop by pocke · Pull Request #197 · rubocop-hq/rubocop-rails

Target problem The target is the ActiveRecord's uniqueness validation. When you define uniqueness validation in a model, you also should add a unique index. It has two reasons. First, duplicate...