Sha256: b2e91f450f72cd1dd10ebb32442857bce67033024e0eabe8cde796ca4a6a0a74

Contents?: true

Size: 202 Bytes

Versions: 10

Compression:

Stored size: 202 Bytes

Contents

class AlbumPhoto < ActiveRecord::Base
  attr_accessible :photo
  belongs_to :album_photoable, polymorphic: true
  has_attached_file :photo, :styles => { :medium => "300x300>", :thumb => "100x100>" }
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ruby_gallery-0.2.7 app/models/album_photo.rb
ruby_gallery-0.2.6 app/models/album_photo.rb
ruby_gallery-0.2.5 app/models/album_photo.rb
ruby_gallery-0.2.4 app/models/album_photo.rb
ruby_gallery-0.2.2 app/models/album_photo.rb
ruby_gallery-0.2.1 app/models/album_photo.rb
ruby_gallery-0.1.9 app/models/album_photo.rb
ruby_gallery-0.1.8 app/models/album_photo.rb
ruby_gallery-0.1.7 app/models/album_photo.rb
ruby_gallery-0.1.6 app/models/album_photo.rb