Sha256: fae37ff7b3bcc210e303ad055ddfb925000d33a0a4d151bdf9329dfefbcb1f70

Contents?: true

Size: 332 Bytes

Versions: 28

Compression:

Stored size: 332 Bytes

Contents

class Image < ActiveRecord::Base
  belongs_to :gallery
  acts_as_taggable
  has_attached_file :image,
      :storage => :s3,
      :s3_credentials => "#{Rails.root}/config/amazon_s3.yml",
      :path => "/images/:user_email/:style/:filename",
      :styles => {:large=>"700x700>", :medium => "300x300>", :thumb => "100x100>" }
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
wheels-0.1.28 app/models/image.rb
wheels-0.1.27 app/models/image.rb
wheels-0.1.25 app/models/image.rb
wheels-0.1.24 app/models/image.rb
wheels-0.1.23 app/models/image.rb
wheels-0.1.22 app/models/image.rb
wheels-0.1.21 app/models/image.rb
wheels-0.1.20 app/models/image.rb
wheels-0.1.19 app/models/image.rb
wheels-0.1.18 app/models/image.rb
wheels-0.1.17 app/models/image.rb
wheels-0.1.16 app/models/image.rb
wheels-0.1.15 app/models/image.rb
wheels-0.1.14 app/models/image.rb
wheels-0.1.13 app/models/image.rb
wheels-0.1.12 app/models/image.rb
wheels-0.1.10 app/models/image.rb
wheels-0.1.9 app/models/image.rb
wheels-0.1.8 app/models/image.rb
wheels-0.1.7 app/models/image.rb