Sha256: b300a10321a8d23ec0b460f02340dafc9db1a34cdff652a27e7a12e128d5d1c3

Contents?: true

Size: 312 Bytes

Versions: 12

Compression:

Stored size: 312 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 => {:medium => "300x300>", :thumb => "100x100>" }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
wheels-0.0.48 app/models/image.rb
wheels-0.0.47 app/models/image.rb
wheels-0.0.46 app/models/image.rb
wheels-0.0.45 app/models/image.rb
wheels-0.0.44 app/models/image.rb
wheels-0.0.43 app/models/image.rb
wheels-0.0.42 app/models/image.rb
wheels-0.0.41 app/models/image.rb
wheels-0.0.40 app/models/image.rb
wheels-0.0.39 app/models/image.rb
wheels-0.0.38 app/models/image.rb
wheels-0.0.37 app/models/image.rb