class Paperclip::Validators::AttachmentFileTypeIgnoranceValidator

Public Class Methods

helper_method_name() click to toggle source
# File lib/paperclip/validators/attachment_file_type_ignorance_validator.rb, line 11
def self.helper_method_name
  :do_not_validate_attachment_file_type
end

Public Instance Methods

validate_each(record, attribute, value) click to toggle source
# File lib/paperclip/validators/attachment_file_type_ignorance_validator.rb, line 6
def validate_each(record, attribute, value)
  # This doesn't do anything. It's just to mark that you don't care about
  # the file_names or content_types of your incoming attachments.
end