Sha256: 623edee86e48adf4f6bf1826db0deefec635b8d8ec177c0666a206482fa5b9ae
Contents?: true
Size: 329 Bytes
Versions: 8
Compression:
Stored size: 329 Bytes
Contents
class Models::AttachmentUploader < Models::FileUploader rad.extension :attachment_file_path, self do define_method :file_path do "#{rad.kit.fs_prefix}/#{model.item.id}" end end version :icon do process resize_to_fit: [50, 50] end version :thumb do process resize_to_fit: [150, 150] end end
Version data entries
8 entries across 8 versions & 1 rubygems