Sha256: 35ca11f4d0a71192d8c712743c14f3ee6f0c584bf3b1a0a9072a268edd97ddaa

Contents?: true

Size: 256 Bytes

Versions: 4

Compression:

Stored size: 256 Bytes

Contents

class Paper < ActiveRecord::Base
  # has_attached_file :avatar, :styles => { :medium => "300x300>", :thumb => "100x100>" }

  # stub for tests
  def self.attachment_definitions
    {:avatar=>{:styles=>{:medium=>"300x300>", :thumb=>"100x100>"}}} 
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
annotator-0.0.10 test/dummy/app/models/paper.rb
annotator-0.0.9 test/dummy/app/models/paper.rb
annotator-0.0.8.1 test/dummy/app/models/paper.rb
annotator-0.0.8 test/dummy/app/models/paper.rb