Sha256: 3aedddf8b5bd5d044cbe118bc220dfb10dd10e84c5bdb483cc2de222446ff05f

Contents?: true

Size: 243 Bytes

Versions: 18

Compression:

Stored size: 243 Bytes

Contents

class ArticleImageUploader < CarrierWave::Uploader::Base
  include CarrierWave::MiniMagick

  def store_dir
    "uploads/articles_images/#{ model.id }"
  end

  version :thumbnail_2x do
    process :resize_to_fill => [600, 380]
  end

end




Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
chr-0.5.1 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.5.0 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.25 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.24 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.23 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.22 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.21 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.20 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.19 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.18 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.17 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.15 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.14 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.13 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.12 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.11 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.10 test/rails_app/app/uploaders/article_image_uploader.rb
chr-0.4.9 test/rails_app/app/uploaders/article_image_uploader.rb