class Shoulda::Matchers::ActiveRecord::HaveDbIndexMatcher

def index_exists?

def index_exists?
  ! matched_index.nil?
end