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