Sha256: 8ced95c3508bfadf4e86b4466b1629fcd5db89c4efa1cbcc1c84968b81900f65
Contents?: true
Size: 251 Bytes
Versions: 9
Compression:
Stored size: 251 Bytes
Contents
# frozen_string_literal: true ActiveRecord::Base.connection.create_table(:posts, force: true) do |t| t.text :body t.string :slug t.integer :topic_id end class Post < ActiveRecord::Base second_level_cache belongs_to :topic, touch: true end
Version data entries
9 entries across 9 versions & 1 rubygems