Sha256: 9c8498259a64bebcacba2f6e7938e8c67baf1c2480edfe4c6c44daccf65753f7
Contents?: true
Size: 250 Bytes
Versions: 3
Compression:
Stored size: 250 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 < ApplicationRecord second_level_cache belongs_to :topic, touch: true end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
second_level_cache-2.6.3 | test/model/post.rb |
second_level_cache-2.6.2 | test/model/post.rb |
second_level_cache-2.6.1 | test/model/post.rb |