class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OrderMatcher
def matches?(subject)
def matches?(subject) self.subject = ModelReflector.new(subject, name) if option_verifier.correct_for_relation_clause?(:order, order) true else self.missing_option = "#{name} should be ordered by #{order}" false end end