Sha256: df363e9210ae64259174097f2015e2cece12c9231ba26630f13c870caf395c55

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

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

  attachs_many :photos
  attachs_many :files
  attachs_many :compound_name_files

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

  attachs_many :pictures, uploader: PictureUploader
end

Version data entries

1 entries across 1 versions & 1 rubygems

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