Sha256: 4c12e4fede23ac5cbab43e78743fb56f9fd5a13f2c14c704521470cda8d5f14e

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 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
    thumb   :crop => false
    fullscreen
    publisher
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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