Sha256: e59677aaefd24b04efa7a5087f7e455dc3c29bb5af45786744b6460cbe3d9c61

Contents?: true

Size: 237 Bytes

Versions: 6

Compression:

Stored size: 237 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
  acts_as_cached
end

class Dog < Animal
  acts_as_cached
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
second_level_cache-2.2.6 test/model/animal.rb
second_level_cache-2.2.5 test/model/animal.rb
second_level_cache-2.2.4 test/model/animal.rb
second_level_cache-2.2.3 test/model/animal.rb
second_level_cache-2.2.2 test/model/animal.rb
second_level_cache-2.2.1 test/model/animal.rb