Sha256: 582eb29576a0d2b2aeff9553fc839ccdc2198cebfe6b733c3cf0f70e9a98b899

Contents?: true

Size: 338 Bytes

Versions: 1

Compression:

Stored size: 338 Bytes

Contents

class Artist
  include Mongoid::Document
  include AttachmentMagick

  field :name
  field :lastname
  embeds_many :works

  validates_presence_of :name, :lastname

  attachment_magick do
    grid_1
    grid_10 :width => 150
    grid_15 "200x300"
    grid_16 :height => 230, :ajust => "#"
    thumb
    fullscreen
    publisher
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
attachment_magick-0.2.1 test/dummy/app/models/artist.rb