Sha256: 369abd52970eb67cf967398374df0f1663459db0c93612de15bf7503e128b298

Contents?: true

Size: 299 Bytes

Versions: 6

Compression:

Stored size: 299 Bytes

Contents

# frozen_string_literal: true

ActiveRecord::Base.connection.create_table(:animals, force: true) do |t|
  t.string  :type
  t.string  :name
  t.timestamps null: false
end

class Animal < ApplicationRecord
  second_level_cache
end

class Dog < Animal
  second_level_cache
end

class Cat < Animal
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
second_level_cache-2.7.1 test/model/animal.rb
second_level_cache-2.7.0 test/model/animal.rb
second_level_cache-2.6.4 test/model/animal.rb
second_level_cache-2.6.3 test/model/animal.rb
second_level_cache-2.6.2 test/model/animal.rb
second_level_cache-2.6.1 test/model/animal.rb