Sha256: f2a665635217ffd2e5b3a1abcd5770505e29bbffd1967b0887031eb430eb5a7c
Contents?: true
Size: 315 Bytes
Versions: 8
Compression:
Stored size: 315 Bytes
Contents
module Comable class Image < ActiveRecord::Base mount_uploader :file, ImageUploader belongs_to :product, class_name: Comable::Product.name delegate :url, to: :file, allow_nil: true delegate :current_path, to: :file, allow_nil: true delegate :identifier, to: :file, allow_nil: true end end
Version data entries
8 entries across 8 versions & 1 rubygems