Module Paperclip
In: lib/paperclip/attachment.rb
lib/paperclip/geometry.rb
lib/paperclip/storage.rb
lib/paperclip/thumbnail.rb
lib/paperclip/upfile.rb
lib/paperclip.rb

The base module that gets included in ActiveRecord::Base. See the documentation for Paperclip::ClassMethods for more useful information.

Methods

options  

Classes and Modules

Module Paperclip::ClassMethods
Module Paperclip::Storage
Module Paperclip::Upfile
Class Paperclip::Attachment
Class Paperclip::Geometry
Class Paperclip::Tempfile
Class Paperclip::Thumbnail

Constants

VERSION = "2.1.2"

Public Class methods

Provides configurability to Paperclip. There are a number of options available, such as:

  • whiny_thumbnails: Will raise an error if Paperclip cannot process thumbnails of an uploaded image. Defaults to true.
  • image_magick_path: Defines the path at which to find the convert and identify programs if they are not visible to Rails the system‘s search path. Defaults to nil, which uses the first executable found in the search path.

[Source]

    # File lib/paperclip.rb, line 49
49:     def options
50:       @options ||= {
51:         :whiny_thumbnails  => true,
52:         :image_magick_path => nil
53:       }
54:     end

[Validate]