Sha256: 74aa1c9587c3153684bd2576ad579150497317b6784a20167a178bc5f5f35456

Contents?: true

Size: 264 Bytes

Versions: 11

Compression:

Stored size: 264 Bytes

Contents

# -*- encoding : utf-8 -*-
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

11 entries across 11 versions & 1 rubygems

Version Path
second_level_cache-2.1.16 test/model/animal.rb
second_level_cache-2.1.15 test/model/animal.rb
second_level_cache-2.1.14 test/model/animal.rb
second_level_cache-2.1.13 test/model/animal.rb
second_level_cache-2.1.10 test/model/animal.rb
second_level_cache-2.1.9 test/model/animal.rb
second_level_cache-2.1.8 test/model/animal.rb
second_level_cache-2.1.7 test/model/animal.rb
second_level_cache-2.1.6 test/model/animal.rb
second_level_cache-2.1.5 test/model/animal.rb
second_level_cache-2.1.2 test/model/animal.rb