module Paperclip::Validators::HelperMethods
Public Instance Methods
validates_attachment_background(*attr_names)
click to toggle source
# File lib/paperclip/validators/attachment_background_validator.rb, line 39 def validates_attachment_background(*attr_names) options = _merge_attributes(attr_names) validates_with(AttachmentBackgroundValidator, options.dup) validate_before_processing(AttachmentBackgroundValidator, options.dup) end