class Shoulda::ActiveRecord::Matchers::ValidateUniquenessOfMatcher
def matches?(subject)
def matches?(subject) @subject = subject.class.new @expected_message ||= :taken find_existing && set_scoped_attributes && validate_attribute && validate_after_scope_change end