lib/paperclip.rb
# Adds errors if thumbnail creation fails. The same as specifying :whiny_thumbnails => true.
Adds errors if thumbnail creation fails. The same as specifying :whiny_thumbnails => true.
Adds errors if thumbnail creation fails . The same as specifying : whiny_thumbnails = > true .
def validates_attachment_thumbnails name, options = {}
      warn('[DEPRECATION] validates_attachment_thumbnail is deprecated. ' +
           'This validation is on by default and will be removed from future versions. ' +
           'If you wish to turn it off, supply :whiny => false in your definition.')
      attachment_definitions[name][:whiny_thumbnails] = true
    end
def validates_attachment_thumbnails name , options = { } warn ( '[DEPRECATION] validates_attachment_thumbnail is deprecated. ' + 'This validation is on by default and will be removed from future versions. ' + 'If you wish to turn it off, supply :whiny => false in your definition.' ) attachment_definitions [ name ] [ :whiny_thumbnails ] = true end
Adds errors if thumbnail creation fails.
Adds errors if thumbnail creation fails .
name
options