Sha256: f51ae84729c30265e37bc8c04f721a06e9c2bec1e17834d95fe6c7d4ff7db47e

Contents?: true

Size: 212 Bytes

Versions: 6

Compression:

Stored size: 212 Bytes

Contents

ActiveRecord::Base.connection.create_table(:topics, force: true) do |t|
  t.string  :title
  t.text :body

  t.timestamps null: false
end

class Topic < ActiveRecord::Base
  acts_as_cached

  has_many :posts
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
second_level_cache-2.2.6 test/model/topic.rb
second_level_cache-2.2.5 test/model/topic.rb
second_level_cache-2.2.4 test/model/topic.rb
second_level_cache-2.2.3 test/model/topic.rb
second_level_cache-2.2.2 test/model/topic.rb
second_level_cache-2.2.1 test/model/topic.rb