lib/rubocop/cop/rails/add_column_index.rb in rubocop-rails-2.14.2 vs lib/rubocop/cop/rails/add_column_index.rb in rubocop-rails-2.15.0
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module RuboCop
module Cop
module Rails
- # This cop checks for migrations using `add_column` that have an `index`
+ # Checks for migrations using `add_column` that have an `index`
# key. `add_column` does not accept `index`, but also does not raise an
# error for extra keys, so it is possible to mistakenly add the key without
# realizing it will not actually add an index.
#
# @example