Sha256: 190590eb2226b0728de7031f6135324bcd95de949adfa1f69e8d335e13e51051

Contents?: true

Size: 231 Bytes

Versions: 13

Compression:

Stored size: 231 Bytes

Contents

# -*- encoding : utf-8 -*-
ActiveRecord::Base.connection.create_table(:topics, :force => true) do |t|
  t.string  :title
  t.text  :body

  t.timestamps
end

class Topic < ActiveRecord::Base
  acts_as_cached

  has_many :posts
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
second_level_cache-2.1.1 test/model/topic.rb
second_level_cache-2.1.0 test/model/topic.rb
second_level_cache-2.1.0.rc2 test/active_record/model/topic.rb
second_level_cache-2.1.0.rc1 test/active_record/model/topic.rb
second_level_cache-2.0.0 test/active_record/model/topic.rb
second_level_cache-2.0.0.rc1 test/active_record/model/topic.rb
second_level_cache-2.0.0.beta test/active_record/model/topic.rb
second_level_cache-1.6.2 test/active_record/model/topic.rb
second_level_cache-1.6.1 test/active_record/model/topic.rb
second_level_cache-1.6.0 test/active_record/model/topic.rb
second_level_cache-1.5.1 test/active_record/model/topic.rb
second_level_cache-1.5.0 test/active_record/model/topic.rb
second_level_cache-1.3.2 test/active_record/model/topic.rb