Sha256: e819ffa6d7b7071eaef0fc4e909c76c7a26b89fbff30bb491830bd24a81292e1

Contents?: true

Size: 212 Bytes

Versions: 16

Compression:

Stored size: 212 Bytes

Contents

class Almanac::Image < ActiveRecord::Base
  belongs_to :post

  attr_accessible :image, :thumb, :post_id

  image_accessor :image do
    copy_to(:thumb){|a| a.thumb('100x100#') }
  end
  image_accessor :thumb
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
almanac-0.9.2 app/models/almanac/image.rb
almanac-0.9.1 app/models/almanac/image.rb
almanac-0.9.0 app/models/almanac/image.rb
almanac-0.8.0 app/models/almanac/image.rb
almanac-0.7.4 app/models/almanac/image.rb
almanac-0.7.3 app/models/almanac/image.rb
almanac-0.7.2 app/models/almanac/image.rb
almanac-0.7.1 app/models/almanac/image.rb
almanac-0.6.1 app/models/almanac/image.rb
almanac-0.6.0 app/models/almanac/image.rb
almanac-0.5.3 app/models/almanac/image.rb
almanac-0.5.2 app/models/almanac/image.rb
almanac-0.5.1 app/models/almanac/image.rb
almanac-0.5.0 app/models/almanac/image.rb
almanac-0.4.5 app/models/almanac/image.rb
almanac-0.4.4 app/models/almanac/image.rb