Sha256: f27d5640b1a671af97945154b06bd7070516c3526762c55564160b15cb8cb2a1

Contents?: true

Size: 211 Bytes

Versions: 13

Compression:

Stored size: 211 Bytes

Contents

module Ecom
  module Core
    class TaskAttachment < ApplicationRecord
      mount_base64_uploader :file, TaskAttachmentUploader

      belongs_to :task

      validates :title, presence: true
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
ecom_core-1.3.11 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.10 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.9 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.8 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.7 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.6 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.5 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.4 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.3 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.2 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.1 app/models/ecom/core/task_attachment.rb
ecom_core-1.3.0 app/models/ecom/core/task_attachment.rb
ecom_core-1.2.36 app/models/ecom/core/task_attachment.rb