app/uploaders/file_uploader.rb in lolita-file-upload-0.3.0.1 vs app/uploaders/file_uploader.rb in lolita-file-upload-0.3.0.2
- old
+ new
@@ -3,10 +3,10 @@
include CarrierWave::MiniMagick
storage :file
after :remove, :delete_empty_upstream_dirs
version :normalized, :if => :image? do
- process :resize_to_fit => [600,600]
+ process :resize_to_limit => [600,600]
end
def timestamp
time=if model
model.created_at || Time.now
\ No newline at end of file