Sha256: 8246a18e224dd07b726796941a080c007f37a6e104b7a170536547be181d50fc

Contents?: true

Size: 243 Bytes

Versions: 11

Compression:

Stored size: 243 Bytes

Contents

# -*- encoding : utf-8 -*-
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

11 entries across 11 versions & 1 rubygems

Version Path
second_level_cache-2.1.16 test/model/topic.rb
second_level_cache-2.1.15 test/model/topic.rb
second_level_cache-2.1.14 test/model/topic.rb
second_level_cache-2.1.13 test/model/topic.rb
second_level_cache-2.1.10 test/model/topic.rb
second_level_cache-2.1.9 test/model/topic.rb
second_level_cache-2.1.8 test/model/topic.rb
second_level_cache-2.1.7 test/model/topic.rb
second_level_cache-2.1.6 test/model/topic.rb
second_level_cache-2.1.5 test/model/topic.rb
second_level_cache-2.1.2 test/model/topic.rb