Sha256: 8484371fc2a733462cfb47fea1dd8622db633704a024839ab719cb4e1c9655e5

Contents?: true

Size: 245 Bytes

Versions: 3

Compression:

Stored size: 245 Bytes

Contents

class Album < ActiveRecord::Base
  attr_accessible :name, :retained_cover_image, :cover_image
  validates_property :format, :of => :cover_image, :in => [:jpg, :png, :gif]
  validates_length_of :name, :in => 0..5
  image_accessor :cover_image
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dragonfly-0.9.15 fixtures/rails/files/app/models/album.rb
dragonfly-0.9.14 fixtures/rails/files/app/models/album.rb
dragonfly-0.9.13 fixtures/rails/files/app/models/album.rb