Sha256: c5b1c372240b7f4a3af75c060ab78ddf2024ee29c9e7b4364a985e231d33f30e

Contents?: true

Size: 207 Bytes

Versions: 20

Compression:

Stored size: 207 Bytes

Contents

module Concerns::Attachment
  extend ActiveSupport::Concern

  included do
    field :name
    validates_presence_of :name
    mount_uploader :file, Core::FileUploader
  end

  module ClassMethods
  end

end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
mix-rails-0.26.3 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.26.3 app/models/concerns/attachment.rb
mix-rails-0.26.2 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.26.2 app/models/concerns/attachment.rb
mix-rails-0.26.1 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.26.1 app/models/concerns/attachment.rb
mix-rails-0.26.0 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.26.0 app/models/concerns/attachment.rb
mix-rails-0.25.1 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.25.1 app/models/concerns/attachment.rb
mix-rails-0.25.0 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.25.0 app/models/concerns/attachment.rb
mix-rails-0.24.1 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.24.1 app/models/concerns/attachment.rb
mix-rails-0.24.0 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.24.0 app/models/concerns/attachment.rb
mix-rails-0.23.1 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.23.1 app/models/concerns/attachment.rb
mix-rails-0.23.0 mix-rails-core/app/models/concerns/attachment.rb
mix-rails-core-0.23.0 app/models/concerns/attachment.rb