Sha256: 2ada48673527aa1b298458e6c8ca95fb0d64e8cbf02dc7b1b357438360787e96

Contents?: true

Size: 300 Bytes

Versions: 6

Compression:

Stored size: 300 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 < ActiveRecord::Base
  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.6.0 test/model/animal.rb
second_level_cache-2.5.3 test/model/animal.rb
second_level_cache-2.5.2 test/model/animal.rb
second_level_cache-2.5.0 test/model/animal.rb
second_level_cache-2.4.4 test/model/animal.rb
second_level_cache-2.4.3 test/model/animal.rb