Sha256: 88f090cc92eadbd174546ecc26ebb8cb5259e277e4648935d37bac17d517778c

Contents?: true

Size: 184 Bytes

Versions: 56

Compression:

Stored size: 184 Bytes

Contents

class Album < ActiveRecord::Base
  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

56 entries across 56 versions & 2 rubygems

Version Path
classiccms-0.7.5 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.7.4 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.7.3 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.7.2 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.7.1 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.7.0 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.9 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.8 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.7 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.6 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.5 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.4 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.3 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.2 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.1 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.6.0 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.5.17 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.5.16 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.5.15 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb
classiccms-0.5.14 vendor/bundle/gems/dragonfly-0.9.12/fixtures/rails/files/app/models/album.rb