Sha256: f815d63d4983f3c6164d99ae9997cdb3b8d6a5326a3b6fa3d21b78b6fcb653fd

Contents?: true

Size: 290 Bytes

Versions: 8

Compression:

Stored size: 290 Bytes

Contents

# frozen_string_literal: true

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
  second_level_cache expires_in: 3.days
  belongs_to :user
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
second_level_cache-2.5.3 test/model/account.rb
second_level_cache-2.5.2 test/model/account.rb
second_level_cache-2.5.0 test/model/account.rb
second_level_cache-2.4.4 test/model/account.rb
second_level_cache-2.4.3 test/model/account.rb
second_level_cache-2.4.2 test/model/account.rb
second_level_cache-2.4.1 test/model/account.rb
second_level_cache-2.4.0 test/model/account.rb