# File lib/paperclip/matchers/validate_attachment_presence_matcher.rb, line 19 def matches? subject @subject = subject @subject = subject.new if subject.class == Class error_when_not_valid? && no_error_when_valid? end