Sha256: c181c5d09be2356a1d1a2d886027fa05f86eec0e3beeaf57eb1e33a233cbab8e

Contents?: true

Size: 324 Bytes

Versions: 1

Compression:

Stored size: 324 Bytes

Contents

class Album
  include Mongoid::Document
  include MediaMagick::Model

  embeds_many :tracks

  attaches_many :photos
  attaches_many :files, :relation => :referenced
  attaches_many :compound_name_files

  attaches_many :images do
    field :tags, type: Array
  end

  attaches_many :pictures, uploader: PictureUploader
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
media_magick-0.1.0 spec/dummy/app/models/album.rb