Sha256: 4caae24703fd640380747f5ac38b2b08c382580bb13f04a57b4c816664624fa7

Contents?: true

Size: 245 Bytes

Versions: 5

Compression:

Stored size: 245 Bytes

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
second_level_cache-2.3.3 test/model/animal.rb
second_level_cache-2.3.2 test/model/animal.rb
second_level_cache-2.3.1 test/model/animal.rb
second_level_cache-2.3.0 test/model/animal.rb
second_level_cache-2.3.0.beta test/model/animal.rb