Sha256: 8e6f227dceaeba6bbfbe18a9714fc2be4e35dff446f5916f67e971ec14ad9e06
Contents?: true
Size: 322 Bytes
Versions: 16
Compression:
Stored size: 322 Bytes
Contents
# encoding: utf-8 module Qbrick class CkimageUploader < CarrierWave::Uploader::Base include CarrierWave::MiniMagick storage :file def store_dir "uploads/#{model.class.to_s.underscore}/#{mounted_as}/#{model.id}" end version :thumb do process resize_to_fit: [150, 150] end end end
Version data entries
16 entries across 16 versions & 1 rubygems