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.6 app/models/image.rb
wheels-0.1.5 app/models/image.rb
wheels-0.1.4 app/models/image.rb
wheels-0.1.3 app/models/image.rb
wheels-0.1.2 app/models/image.rb
wheels-0.1.1 app/models/image.rb
wheels-0.1.0 app/models/image.rb
wheels-0.0.49 app/models/image.rb