Sha256: 574a9b514094a3248097381c2599c36eeb88a48af9497ac0343d7e711af6deaa
Contents?: true
Size: 377 Bytes
Versions: 3
Compression:
Stored size: 377 Bytes
Contents
# To change this template, choose Tools | Templates # and open the template in the editor. require 'paperclip' class Digital < ActiveRecord::Base include Paperclip::Glue attr_accessible :attachment has_attached_file :attachment, :styles => { :medium => "300x300>", :thumb => "100x100>" }, :path => ":rails_root/private/digitals/:id/:basename.:extension" end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
datashift-0.11.1 | spec/fixtures/models/digital.rb |
datashift-0.11.0 | spec/fixtures/models/digital.rb |
datashift-0.10.2 | spec/fixtures/models/digital.rb |