#validates_attachment(*attributes) ⇒ Object

This method is a shortcut to validator classes that is in
“Attachment…Validator” format. It is almost the same thing as the
validates method that shipped with Rails, but this is customized
to be using with attachment validators. This is helpful when you're
using multiple attachment validators on a single attachment.