Sha256: 01af1f83071cf0b73ddcc93858e08b60b8177ec3bf710707533d88321fcbeeec

Contents?: true

Size: 255 Bytes

Versions: 6

Compression:

Stored size: 255 Bytes

Contents

ActiveRecord::Base.connection.create_table(:accounts, force: true) do |t|
  t.integer :age
  t.string :site
  t.integer :user_id
  t.timestamps null: false
end

class Account < ActiveRecord::Base
  acts_as_cached expires_in: 3.days
  belongs_to :user
end

Version data entries

6 entries across 6 versions & 1 rubygems

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