Sha256: d4cff2636e585567722eae657ba1611b8f86b0560d97251dfc926a0fa8e9f921

Contents?: true

Size: 646 Bytes

Versions: 4

Compression:

Stored size: 646 Bytes

Contents

# Attributes:
# * id [integer, primary, not null] - primary key
# * avatar_content_type [string] - Paperclip for avatar
# * avatar_file_name [string] - Paperclip for avatar
# * avatar_file_size [integer] - Paperclip for avatar
# * avatar_updated_at [datetime] - Paperclip for avatar
# * created_at [datetime, not null] - creation time
# * updated_at [datetime, not null] - last update time
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/assets/paper_annotated.rb
annotator-0.0.9 test/assets/paper_annotated.rb
annotator-0.0.8.1 test/assets/paper_annotated.rb
annotator-0.0.8 test/assets/paper_annotated.rb