Sha256: f4099012e246e895e95c12d85b5ab1c595e53d1b97f7a0a4138f70fb4153a4b8

Contents?: true

Size: 241 Bytes

Versions: 2

Compression:

Stored size: 241 Bytes

Contents

ActiveRecord::Base.connection.create_table(:order_items, force: true, id: :uuid) do |t|
  t.text :body
  t.string :slug
  t.string :order_id
end

class OrderItem < ActiveRecord::Base
  second_level_cache
  belongs_to :order, touch: true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
second_level_cache-2.3.3 test/model/order_item.rb
second_level_cache-2.3.2 test/model/order_item.rb