lib/paperclip.rb in paperclip-3.5.2 vs lib/paperclip.rb in paperclip-3.5.3

- old
+ new

@@ -127,11 +127,12 @@ # Defaults to +original+. # has_attached_file :avatar, :styles => { :normal => "100x100#" }, # :default_style => :normal # user.avatar.url # => "/avatars/23/normal_me.png" # * +keep_old_files+: Keep the existing attachment files (original + resized) from - # being automatically deleted when an attachment is cleared or updated. - # Defaults to +false+.# + # being automatically deleted when an attachment is cleared or updated. Defaults to +false+. + # * +preserve_files+: Keep the existing attachment files in all cases, even if the parent + # record is destroyed. Defaults to +false+. # * +whiny+: Will raise an error if Paperclip cannot post_process an uploaded file due # to a command line error. This will override the global setting for this attachment. # Defaults to true. # * +convert_options+: When creating thumbnails, use this free-form options # array to pass in various convert command options. Typical options are "-strip" to