Commit 3ef5f952 by Tute Costa

Merge pull request #2194 from cfinucane/patch-1

Clarify semantics of the only_process option (documentation-only)
parents 80904d39 2dcb7fd9
...@@ -50,7 +50,8 @@ module Paperclip ...@@ -50,7 +50,8 @@ module Paperclip
# +url+ - a relative URL of the attachment. This is interpolated using +interpolator+ # +url+ - a relative URL of the attachment. This is interpolated using +interpolator+
# +path+ - where on the filesystem to store the attachment. This is interpolated using +interpolator+ # +path+ - where on the filesystem to store the attachment. This is interpolated using +interpolator+
# +styles+ - a hash of options for processing the attachment. See +has_attached_file+ for the details # +styles+ - a hash of options for processing the attachment. See +has_attached_file+ for the details
# +only_process+ - style args to be run through the post-processor. This defaults to the empty list # +only_process+ - style args to be run through the post-processor. This defaults to the empty list (which is
# a special case that indicates all styles should be processed)
# +default_url+ - a URL for the missing image # +default_url+ - a URL for the missing image
# +default_style+ - the style to use when an argument is not specified e.g. #url, #path # +default_style+ - the style to use when an argument is not specified e.g. #url, #path
# +storage+ - the storage mechanism. Defaults to :filesystem # +storage+ - the storage mechanism. Defaults to :filesystem
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment