Sha256: 15fbbd726d08b0ad1beb5ddf1216c770992240267f499a517601ac4c471ddf6e

Contents?: true

Size: 252 Bytes

Versions: 1

Compression:

Stored size: 252 Bytes

Contents

# -*- encoding : utf-8 -*-
ActiveRecord::Base.connection.create_table(:animals, force: true) do |t|
  t.string  :type
  t.string  :name
  t.timestamps
end

class Animal < ActiveRecord::Base
  acts_as_cached
end

class Dog < Animal
  acts_as_cached
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
second_level_cache-2.1.1 test/model/animal.rb