# File lib/shoulda/active_record/macros.rb, line 425 425: def should_have_db_indices(*columns) 426: ::ActiveSupport::Deprecation.warn("use: should have_db_index") 427: unique = get_options!(columns, :unique) 428: 429: columns.each do |column| 430: should have_db_index(column).unique(unique) 431: end 432: end