class Shoulda::Matchers::ActiveRecord::HaveImplicitOrderColumnMatcher

def matches?(subject)

def matches?(subject)
  @subject = subject
  check_column_exists!
  check_implicit_order_column_matches!
  true
rescue SecondaryCheckFailedError => e
  @failure_message = Shoulda::Matchers.word_wrap(
    "Expected #{model.name} to #{expectation}, " +
    "but that could not be proved: #{e.message}.",
  )
  false
rescue PrimaryCheckFailedError => e
  @failure_message = Shoulda::Matchers.word_wrap(
    "Expected #{model.name} to #{expectation}, but #{e.message}.",
  )
  false
end