thermos 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d17bae00eadc087f044feb617da37370bd93886f
4
- data.tar.gz: 615505cb0409ab3a2c284e51f7475eda45018060
2
+ SHA256:
3
+ metadata.gz: 04efdd478f71c4f4fe74081f47897d5697f31de2a8da87ec518576a95eb73ce5
4
+ data.tar.gz: 12ee9eeb685234e02ed3525f30d98ecb2862b4a4a0906f9eaacdd8eb1ff61f2f
5
5
  SHA512:
6
- metadata.gz: 70e900fc1a05b824e098c035dbf809ec5c4a704e476d468c870cfefcd3390bccd2a73d8271684d0e628fdaf2f52e655f49eb3c599527e5b75099e1baaeca3899
7
- data.tar.gz: 50d84fbbdd655aba0398777fc88098eb2f21c500c484e6c067c43626331f4c336775b1cd034eefda55e04da6ef3187b70b53e7cec20e56a4cf6e485ece0936b4
6
+ metadata.gz: 4869f239ad783a58f7aa8a51868eeb402ed2f8cf580a8db79e856effccdcad4760e3478dde841d822780cb578904e4ef059a16e1099d2c460fd217d58243fa2c
7
+ data.tar.gz: 634e49aab91d581c16586708880ae710f4340ca7d778bb38ff61cc8d8ad5790b0835c402d2dbe73cce1f76ace6ee224c42850c2678de187a3b98afc4c9424e99
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Thermos
4
- VERSION = '0.1.1'
4
+ VERSION = '0.2.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thermos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Thal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-10-17 00:00:00.000000000 Z
11
+ date: 2019-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -105,15 +105,11 @@ files:
105
105
  - test/dummy/config/locales/en.yml
106
106
  - test/dummy/config/routes.rb
107
107
  - test/dummy/config/secrets.yml
108
- - test/dummy/db/development.sqlite3
109
108
  - test/dummy/db/migrate/20160325214744_create_categories.rb
110
109
  - test/dummy/db/migrate/20160325214849_create_products.rb
111
110
  - test/dummy/db/migrate/20160325220006_create_category_items.rb
112
111
  - test/dummy/db/migrate/20160326174530_create_stores.rb
113
112
  - test/dummy/db/schema.rb
114
- - test/dummy/db/test.sqlite3
115
- - test/dummy/log/development.log
116
- - test/dummy/log/test.log
117
113
  - test/dummy/public/404.html
118
114
  - test/dummy/public/422.html
119
115
  - test/dummy/public/500.html
@@ -136,69 +132,64 @@ required_ruby_version: !ruby/object:Gem::Requirement
136
132
  requirements:
137
133
  - - ">="
138
134
  - !ruby/object:Gem::Version
139
- version: 2.4.0
135
+ version: 2.5.0
140
136
  required_rubygems_version: !ruby/object:Gem::Requirement
141
137
  requirements:
142
138
  - - ">="
143
139
  - !ruby/object:Gem::Version
144
140
  version: '0'
145
141
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.6.13
142
+ rubygems_version: 3.0.3
148
143
  signing_key:
149
144
  specification_version: 4
150
145
  summary: Always-warm, auto-rebuilding rails caching without timers or touching.
151
146
  test_files:
152
- - test/dummy/app/models/category.rb
153
- - test/dummy/app/models/product.rb
154
- - test/dummy/app/models/category_item.rb
155
- - test/dummy/app/models/store.rb
156
- - test/dummy/app/controllers/application_controller.rb
157
- - test/dummy/app/views/layouts/application.html.erb
158
- - test/dummy/app/assets/javascripts/application.js
159
- - test/dummy/app/assets/stylesheets/application.css
160
- - test/dummy/app/helpers/application_helper.rb
161
- - test/dummy/bin/rake
162
- - test/dummy/bin/setup
163
- - test/dummy/bin/bundle
164
- - test/dummy/bin/rails
165
- - test/dummy/config/secrets.yml
166
- - test/dummy/config/routes.rb
167
- - test/dummy/config/locales/en.yml
168
- - test/dummy/config/environments/production.rb
169
- - test/dummy/config/environments/development.rb
170
- - test/dummy/config/environments/test.rb
171
- - test/dummy/config/environment.rb
147
+ - test/fixtures/category_items.yml
148
+ - test/fixtures/categories.yml
149
+ - test/fixtures/stores.yml
150
+ - test/fixtures/products.yml
172
151
  - test/dummy/config/application.rb
173
- - test/dummy/config/database.yml
174
152
  - test/dummy/config/boot.rb
153
+ - test/dummy/config/routes.rb
154
+ - test/dummy/config/locales/en.yml
175
155
  - test/dummy/config/initializers/backtrace_silencers.rb
176
- - test/dummy/config/initializers/mime_types.rb
177
- - test/dummy/config/initializers/filter_parameter_logging.rb
178
- - test/dummy/config/initializers/session_store.rb
156
+ - test/dummy/config/initializers/cookies_serializer.rb
179
157
  - test/dummy/config/initializers/wrap_parameters.rb
158
+ - test/dummy/config/initializers/session_store.rb
159
+ - test/dummy/config/initializers/filter_parameter_logging.rb
180
160
  - test/dummy/config/initializers/assets.rb
181
- - test/dummy/config/initializers/cookies_serializer.rb
182
161
  - test/dummy/config/initializers/inflections.rb
183
- - test/dummy/config.ru
184
- - test/dummy/Rakefile
185
- - test/dummy/public/favicon.ico
186
- - test/dummy/public/422.html
187
- - test/dummy/public/500.html
188
- - test/dummy/public/404.html
162
+ - test/dummy/config/initializers/mime_types.rb
163
+ - test/dummy/config/secrets.yml
164
+ - test/dummy/config/environment.rb
165
+ - test/dummy/config/database.yml
166
+ - test/dummy/config/environments/development.rb
167
+ - test/dummy/config/environments/production.rb
168
+ - test/dummy/config/environments/test.rb
169
+ - test/dummy/bin/setup
170
+ - test/dummy/bin/rails
171
+ - test/dummy/bin/bundle
172
+ - test/dummy/bin/rake
173
+ - test/dummy/app/views/layouts/application.html.erb
174
+ - test/dummy/app/models/store.rb
175
+ - test/dummy/app/models/category.rb
176
+ - test/dummy/app/models/product.rb
177
+ - test/dummy/app/models/category_item.rb
178
+ - test/dummy/app/assets/stylesheets/application.css
179
+ - test/dummy/app/assets/javascripts/application.js
180
+ - test/dummy/app/controllers/application_controller.rb
181
+ - test/dummy/app/helpers/application_helper.rb
189
182
  - test/dummy/db/schema.rb
190
- - test/dummy/db/test.sqlite3
191
183
  - test/dummy/db/migrate/20160325214849_create_products.rb
192
- - test/dummy/db/migrate/20160326174530_create_stores.rb
193
- - test/dummy/db/migrate/20160325214744_create_categories.rb
194
184
  - test/dummy/db/migrate/20160325220006_create_category_items.rb
195
- - test/dummy/db/development.sqlite3
196
- - test/dummy/log/test.log
197
- - test/dummy/log/development.log
185
+ - test/dummy/db/migrate/20160325214744_create_categories.rb
186
+ - test/dummy/db/migrate/20160326174530_create_stores.rb
187
+ - test/dummy/public/404.html
188
+ - test/dummy/public/favicon.ico
189
+ - test/dummy/public/500.html
190
+ - test/dummy/public/422.html
191
+ - test/dummy/config.ru
192
+ - test/dummy/Rakefile
198
193
  - test/dummy/README.rdoc
199
194
  - test/thermos_test.rb
200
- - test/fixtures/products.yml
201
- - test/fixtures/categories.yml
202
- - test/fixtures/category_items.yml
203
- - test/fixtures/stores.yml
204
195
  - test/test_helper.rb
Binary file
@@ -1,164 +0,0 @@
1
- DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
2
- set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
3
- boolean values and must have old data converted to 1 and 0 (its native boolean
4
- serialization) before setting this flag to true. Conversion can be accomplished
5
- by setting up a rake task which runs
6
-
7
- ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
8
- ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
9
-
10
- for all models and all boolean columns, after which the flag must be set to
11
- true by adding the following to your application.rb file:
12
-
13
- Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
14
- (called from load at /Users/athal/.gem/ruby/2.3.3/bin/rake:22)
15
-  (0.1ms) SELECT sqlite_version(*)
16
-  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
17
-  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
18
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
19
- Migrating to CreateCategories (20160325214744)
20
- DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
21
- set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
22
- boolean values and must have old data converted to 1 and 0 (its native boolean
23
- serialization) before setting this flag to true. Conversion can be accomplished
24
- by setting up a rake task which runs
25
-
26
- ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
27
- ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
28
-
29
- for all models and all boolean columns, after which the flag must be set to
30
- true by adding the following to your application.rb file:
31
-
32
- Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
33
- (called from load at /Users/athal/.gem/ruby/2.3.3/bin/rake:22)
34
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
35
- Migrating to CreateCategories (20160325214744)
36
-  (0.1ms) begin transaction
37
-  (0.2ms) SELECT sqlite_version(*)
38
-  (1.1ms) CREATE TABLE "categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "store_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
39
- ActiveRecord::SchemaMigration Create (1.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160325214744"]]
40
-  (2.0ms) commit transaction
41
- Migrating to CreateProducts (20160325214849)
42
-  (0.1ms) begin transaction
43
-  (0.9ms) CREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
44
- ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160325214849"]]
45
-  (3.2ms) commit transaction
46
- Migrating to CreateCategoryItems (20160325220006)
47
-  (0.1ms) begin transaction
48
-  (0.8ms) CREATE TABLE "category_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "category_id" integer, "product_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
49
- ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160325220006"]]
50
-  (18.1ms) commit transaction
51
- Migrating to CreateStores (20160326174530)
52
-  (0.1ms) begin transaction
53
-  (0.8ms) CREATE TABLE "stores" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
54
- ActiveRecord::SchemaMigration Create (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160326174530"]]
55
-  (2.2ms) commit transaction
56
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
57
-  (0.1ms) begin transaction
58
- ActiveRecord::InternalMetadata Create (1.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "development"], ["created_at", "2018-10-15 21:20:44.366793"], ["updated_at", "2018-10-15 21:20:44.366793"]]
59
-  (1.9ms) commit transaction
60
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
61
- DEPRECATION WARNING: Leaving `ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer`
62
- set to false is deprecated. SQLite databases have used 't' and 'f' to serialize
63
- boolean values and must have old data converted to 1 and 0 (its native boolean
64
- serialization) before setting this flag to true. Conversion can be accomplished
65
- by setting up a rake task which runs
66
-
67
- ExampleModel.where("boolean_column = 't'").update_all(boolean_column: 1)
68
- ExampleModel.where("boolean_column = 'f'").update_all(boolean_column: 0)
69
-
70
- for all models and all boolean columns, after which the flag must be set to
71
- true by adding the following to your application.rb file:
72
-
73
- Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true
74
- (called from load at /Users/athal/.gem/ruby/2.3.3/bin/rake:22)
75
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
76
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
77
-  (0.1ms) begin transaction
78
-  (0.1ms) commit transaction
79
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
80
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
81
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
82
-  (0.1ms) begin transaction
83
-  (0.0ms) commit transaction
84
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
85
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
86
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
87
-  (0.1ms) begin transaction
88
-  (0.0ms) commit transaction
89
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
90
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
91
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
92
-  (0.1ms) begin transaction
93
-  (0.0ms) commit transaction
94
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
95
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
96
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
97
-  (0.0ms) begin transaction
98
-  (0.0ms) commit transaction
99
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
100
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
101
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
102
-  (0.0ms) begin transaction
103
-  (0.0ms) commit transaction
104
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
105
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
106
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
107
-  (0.0ms) begin transaction
108
-  (0.1ms) commit transaction
109
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
110
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
111
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
112
-  (0.0ms) begin transaction
113
-  (0.0ms) commit transaction
114
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
115
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
116
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
117
-  (0.0ms) begin transaction
118
-  (0.1ms) commit transaction
119
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
120
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
121
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
122
-  (0.1ms) begin transaction
123
-  (0.0ms) commit transaction
124
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
125
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
126
- ActiveRecord::InternalMetadata Load (0.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
127
-  (0.0ms) begin transaction
128
-  (0.0ms) commit transaction
129
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
130
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
131
- ActiveRecord::InternalMetadata Load (1.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
132
-  (0.1ms) begin transaction
133
-  (0.0ms) commit transaction
134
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
135
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
136
- ActiveRecord::InternalMetadata Load (1.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
137
-  (0.1ms) begin transaction
138
-  (0.0ms) commit transaction
139
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
140
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
141
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
142
-  (0.0ms) begin transaction
143
-  (0.0ms) commit transaction
144
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
145
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
146
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
147
-  (0.0ms) begin transaction
148
-  (0.0ms) commit transaction
149
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
150
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
151
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
152
-  (0.1ms) begin transaction
153
-  (0.0ms) commit transaction
154
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
155
-  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
156
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
157
-  (0.1ms) begin transaction
158
-  (0.1ms) commit transaction
159
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
160
-  (2.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
161
- ActiveRecord::InternalMetadata Load (0.7ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
162
-  (0.1ms) begin transaction
163
-  (0.1ms) commit transaction
164
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
@@ -1,2895 +0,0 @@
1
-  (0.1ms) DROP TABLE IF EXISTS "categories"
2
-  (0.1ms) SELECT sqlite_version(*)
3
-  (2.1ms) CREATE TABLE "categories" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "store_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
-  (0.2ms) DROP TABLE IF EXISTS "category_items"
5
-  (2.0ms) CREATE TABLE "category_items" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "category_id" integer, "product_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6
-  (0.1ms) DROP TABLE IF EXISTS "products"
7
-  (1.9ms) CREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
-  (0.2ms) DROP TABLE IF EXISTS "stores"
9
-  (2.3ms) CREATE TABLE "stores" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
10
-  (2.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
11
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
12
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES (20160326174530)
13
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES
14
- (20160325214849),
15
- (20160325214744),
16
- (20160325220006);
17
-
18
- 
19
-  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
20
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
21
-  (0.1ms) begin transaction
22
- ActiveRecord::InternalMetadata Create (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2018-10-15 21:20:02.032321"], ["updated_at", "2018-10-15 21:20:02.032321"]]
23
-  (1.5ms) commit transaction
24
- ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
25
-  (0.1ms) begin transaction
26
-  (0.0ms) commit transaction
27
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
28
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
29
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
30
-  (0.0ms) PRAGMA foreign_keys
31
-  (0.0ms) PRAGMA foreign_keys = OFF
32
-  (0.0ms) begin transaction
33
- Fixture Delete (0.5ms) DELETE FROM "products"
34
- Fixture Delete (0.2ms) DELETE FROM "categories"
35
- Fixture Delete (0.1ms) DELETE FROM "category_items"
36
- Fixture Delete (0.1ms) DELETE FROM "stores"
37
- Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 21:22:16.284556', '2018-10-15 21:22:16.284556', 469160771)
38
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 21:22:16.286635', '2018-10-15 21:22:16.286635', 322908140, 868874525)
39
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 21:22:16.288991', '2018-10-15 21:22:16.288991', 678302810, 322908140, 469160771)
40
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 21:22:16.291985', '2018-10-15 21:22:16.291985', 868874525)
41
-  (1.1ms) commit transaction
42
-  (0.1ms) PRAGMA foreign_keys = 1
43
-  (0.0ms) begin transaction
44
- ----------------------------------------------------------------------
45
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
46
- ----------------------------------------------------------------------
47
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
48
-  (0.1ms) SAVEPOINT active_record_1
49
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 21:22:16.340084"], ["updated_at", "2018-10-15 21:22:16.340084"]]
50
- CategoryItem Create (0.2ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 21:22:16.341408"], ["updated_at", "2018-10-15 21:22:16.341408"]]
51
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: d23eeddc-3a0c-44bc-94c5-52a1a7362512) to Async(default) with arguments: #<GlobalID:0x007f85bac5f700 @uri=#<URI::GID gid://dummy/Product/469160772>>
52
-  (0.0ms) RELEASE SAVEPOINT active_record_1
53
-  (0.4ms) rollback transaction
54
- Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
55
-  (0.1ms) begin transaction
56
- ----------------------------------------------------------------
57
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
58
- ----------------------------------------------------------------
59
-  (0.1ms) SAVEPOINT active_record_1
60
- Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 21:22:16.350098"], ["updated_at", "2018-10-15 21:22:16.350098"]]
61
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a1ccafe1-3519-4ed9-ba2b-a12307006c84) to Async(default) with arguments: #<GlobalID:0x007f85bab97930 @uri=#<URI::GID gid://dummy/Category/322908141>>
62
-  (0.1ms) RELEASE SAVEPOINT active_record_1
63
- Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
64
-  (0.4ms) rollback transaction
65
- [ActiveJob] [Thermos::RefillJob] [a1ccafe1-3519-4ed9-ba2b-a12307006c84] Performing Thermos::RefillJob (Job ID: a1ccafe1-3519-4ed9-ba2b-a12307006c84) from Async(default) with arguments: #<GlobalID:0x007f85bab7e7a0 @uri=#<URI::GID gid://dummy/Category/322908141>>
66
-  (0.1ms) begin transaction
67
- --------------------------------------------------------------
68
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
69
- --------------------------------------------------------------
70
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
71
-  (0.0ms) SAVEPOINT active_record_1
72
- CategoryItem Create (0.4ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 21:22:16.359137"], ["updated_at", "2018-10-15 21:22:16.359137"]]
73
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c00d19a5-dc71-4b54-972f-1d739cea4a4f) to Async(default) with arguments: #<GlobalID:0x007f85bab04978 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
74
-  (0.1ms) RELEASE SAVEPOINT active_record_1
75
- CategoryItem Load (0.9ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
76
- [ActiveJob] [Thermos::RefillJob] [a1ccafe1-3519-4ed9-ba2b-a12307006c84] Performed Thermos::RefillJob (Job ID: a1ccafe1-3519-4ed9-ba2b-a12307006c84) from Async(default) in 8.08ms
77
- [ActiveJob] [Thermos::RefillJob] [c00d19a5-dc71-4b54-972f-1d739cea4a4f] Performing Thermos::RefillJob (Job ID: c00d19a5-dc71-4b54-972f-1d739cea4a4f) from Async(default) with arguments: #<GlobalID:0x007f85bbb1cb58 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
78
-  (0.5ms) rollback transaction
79
- [ActiveJob] [Thermos::RefillJob] [c00d19a5-dc71-4b54-972f-1d739cea4a4f] Performed Thermos::RefillJob (Job ID: c00d19a5-dc71-4b54-972f-1d739cea4a4f) from Async(default) in 0.06ms
80
-  (0.1ms) begin transaction
81
- ------------------------------------------------------------
82
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
83
- ------------------------------------------------------------
84
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
85
-  (0.1ms) SAVEPOINT active_record_1
86
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.369373"], ["id", 322908140]]
87
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a67dc9fa-2ca0-483b-b2f8-9f8421de8d3a) to Async(default) with arguments: #<GlobalID:0x007f85bbadc7b0 @uri=#<URI::GID gid://dummy/Category/322908140>>
88
-  (0.1ms) RELEASE SAVEPOINT active_record_1
89
- Category Load (1.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
90
-  (0.4ms) rollback transaction
91
- [ActiveJob] [Thermos::RefillJob] [a67dc9fa-2ca0-483b-b2f8-9f8421de8d3a] Performing Thermos::RefillJob (Job ID: a67dc9fa-2ca0-483b-b2f8-9f8421de8d3a) from Async(default) with arguments: #<GlobalID:0x007f85bbacf240 @uri=#<URI::GID gid://dummy/Category/322908140>>
92
- [ActiveJob] [Thermos::RefillJob] [a67dc9fa-2ca0-483b-b2f8-9f8421de8d3a] Performed Thermos::RefillJob (Job ID: a67dc9fa-2ca0-483b-b2f8-9f8421de8d3a) from Async(default) in 0.07ms
93
-  (0.1ms) begin transaction
94
- ---------------------------------------------------------
95
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
96
- ---------------------------------------------------------
97
-  (0.1ms) rollback transaction
98
-  (0.2ms) begin transaction
99
- ---------------------------------------------------------------------------------------------------------------------------
100
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
101
- ---------------------------------------------------------------------------------------------------------------------------
102
- Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
103
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
104
-  (0.1ms) SAVEPOINT active_record_1
105
- Product Update (0.5ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.383942"], ["id", 469160771]]
106
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 85bf925d-0012-47d9-8625-9708a4746b6f) to Async(default) with arguments: #<GlobalID:0x007f85ba332d08 @uri=#<URI::GID gid://dummy/Product/469160771>>
107
-  (0.1ms) RELEASE SAVEPOINT active_record_1
108
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
109
-  (0.3ms) rollback transaction
110
- [ActiveJob] [Thermos::RefillJob] [85bf925d-0012-47d9-8625-9708a4746b6f] Performing Thermos::RefillJob (Job ID: 85bf925d-0012-47d9-8625-9708a4746b6f) from Async(default) with arguments: #<GlobalID:0x007f85ba312288 @uri=#<URI::GID gid://dummy/Product/469160771>>
111
- [ActiveJob] [Thermos::RefillJob] [85bf925d-0012-47d9-8625-9708a4746b6f] Performed Thermos::RefillJob (Job ID: 85bf925d-0012-47d9-8625-9708a4746b6f) from Async(default) in 0.05ms
112
-  (0.1ms) begin transaction
113
- --------------------------------------------------------------------------
114
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
115
- --------------------------------------------------------------------------
116
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
117
- Product Load (0.0ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
118
-  (0.1ms) SAVEPOINT active_record_1
119
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.391735"], ["id", 322908140]]
120
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 3908b320-fdab-43d0-bfaf-1c7574d08eab) to Async(default) with arguments: #<GlobalID:0x007f85bb132bb0 @uri=#<URI::GID gid://dummy/Category/322908140>>
121
-  (0.1ms) RELEASE SAVEPOINT active_record_1
122
- Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
123
-  (0.3ms) rollback transaction
124
- [ActiveJob] [Thermos::RefillJob] [3908b320-fdab-43d0-bfaf-1c7574d08eab] Performing Thermos::RefillJob (Job ID: 3908b320-fdab-43d0-bfaf-1c7574d08eab) from Async(default) with arguments: #<GlobalID:0x007f85bbaae478 @uri=#<URI::GID gid://dummy/Category/322908140>>
125
- [ActiveJob] [Thermos::RefillJob] [3908b320-fdab-43d0-bfaf-1c7574d08eab] Performed Thermos::RefillJob (Job ID: 3908b320-fdab-43d0-bfaf-1c7574d08eab) from Async(default) in 0.06ms
126
-  (0.1ms) begin transaction
127
- ---------------------------------------------------------------
128
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
129
- ---------------------------------------------------------------
130
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
131
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
132
-  (0.1ms) SAVEPOINT active_record_1
133
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.407308"], ["id", 868874525]]
134
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5b89b363-60f0-463e-ba80-07b96952de39) to Async(default) with arguments: #<GlobalID:0x007f85bba45f68 @uri=#<URI::GID gid://dummy/Store/868874525>>
135
-  (0.0ms) RELEASE SAVEPOINT active_record_1
136
-  (0.4ms) rollback transaction
137
- Store Load (0.3ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
138
- [ActiveJob] [Thermos::RefillJob] [5b89b363-60f0-463e-ba80-07b96952de39] Performing Thermos::RefillJob (Job ID: 5b89b363-60f0-463e-ba80-07b96952de39) from Async(default) with arguments: #<GlobalID:0x007f85ba9cd618 @uri=#<URI::GID gid://dummy/Store/868874525>>
139
- [ActiveJob] [Thermos::RefillJob] [5b89b363-60f0-463e-ba80-07b96952de39] Performed Thermos::RefillJob (Job ID: 5b89b363-60f0-463e-ba80-07b96952de39) from Async(default) in 0.24ms
140
-  (0.1ms) begin transaction
141
- -------------------------------------------------------------
142
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
143
- -------------------------------------------------------------
144
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
145
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
146
-  (0.1ms) SAVEPOINT active_record_1
147
- CategoryItem Update (0.5ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.423576"], ["id", 678302810]]
148
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 9dbb9b5c-f374-492f-9b01-87a50fc1571c) to Async(default) with arguments: #<GlobalID:0x007f85bb1181c0 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
149
-  (0.1ms) RELEASE SAVEPOINT active_record_1
150
- CategoryItem Load (0.9ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
151
-  (0.4ms) rollback transaction
152
- [ActiveJob] [Thermos::RefillJob] [9dbb9b5c-f374-492f-9b01-87a50fc1571c] Performing Thermos::RefillJob (Job ID: 9dbb9b5c-f374-492f-9b01-87a50fc1571c) from Async(default) with arguments: #<GlobalID:0x007f85bb9f7408 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
153
- [ActiveJob] [Thermos::RefillJob] [9dbb9b5c-f374-492f-9b01-87a50fc1571c] Performed Thermos::RefillJob (Job ID: 9dbb9b5c-f374-492f-9b01-87a50fc1571c) from Async(default) in 0.12ms
154
-  (0.1ms) begin transaction
155
- -------------------------------------------------------------------------------------------
156
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
157
- -------------------------------------------------------------------------------------------
158
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
159
-  (0.1ms) SAVEPOINT active_record_1
160
- Product Create (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 21:22:16.433162"], ["updated_at", "2018-10-15 21:22:16.433162"]]
161
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7ce17150-9e4a-4d17-af63-dabfd436d000) to Async(default) with arguments: #<GlobalID:0x007f85bb0c14d8 @uri=#<URI::GID gid://dummy/Product/469160772>>
162
-  (0.1ms) RELEASE SAVEPOINT active_record_1
163
- Product Load (1.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
164
- [ActiveJob] [Thermos::RefillJob] [7ce17150-9e4a-4d17-af63-dabfd436d000] Performing Thermos::RefillJob (Job ID: 7ce17150-9e4a-4d17-af63-dabfd436d000) from Async(default) with arguments: #<GlobalID:0x007f85bb9a6710 @uri=#<URI::GID gid://dummy/Product/469160772>>
165
-  (0.1ms) SAVEPOINT active_record_1
166
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.443192"], ["id", 469160772]]
167
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ede4cdf4-41d7-456e-837c-ab7a443de684) to Async(default) with arguments: #<GlobalID:0x007f85bb0c14d8 @uri=#<URI::GID gid://dummy/Product/469160772>>
168
-  (0.1ms) RELEASE SAVEPOINT active_record_1
169
- Product Load (2.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
170
-  (0.4ms) rollback transaction
171
- [ActiveJob] [Thermos::RefillJob] [ede4cdf4-41d7-456e-837c-ab7a443de684] Performing Thermos::RefillJob (Job ID: ede4cdf4-41d7-456e-837c-ab7a443de684) from Async(default) with arguments: #<GlobalID:0x007f85ba87e410 @uri=#<URI::GID gid://dummy/Product/469160772>>
172
-  (0.1ms) begin transaction
173
- [ActiveJob] [Thermos::RefillJob] [ede4cdf4-41d7-456e-837c-ab7a443de684] Performed Thermos::RefillJob (Job ID: ede4cdf4-41d7-456e-837c-ab7a443de684) from Async(default) in 0.06ms
174
- ----------------------------------------------------------------
175
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
176
- ----------------------------------------------------------------
177
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
178
- [ActiveJob] [Thermos::RefillJob] [7ce17150-9e4a-4d17-af63-dabfd436d000]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
179
-  (0.1ms) SAVEPOINT active_record_1
180
- [ActiveJob] [Thermos::RefillJob] [7ce17150-9e4a-4d17-af63-dabfd436d000] Performed Thermos::RefillJob (Job ID: 7ce17150-9e4a-4d17-af63-dabfd436d000) from Async(default) in 20.79ms
181
- Store Create (0.5ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 21:22:16.458786"], ["updated_at", "2018-10-15 21:22:16.458786"]]
182
- Category Update (0.2ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 21:22:16.460504"], ["id", 322908140]]
183
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 140592a6-4208-4889-94c7-ec9cc6d8eab9) to Async(default) with arguments: #<GlobalID:0x007f85ba160b38 @uri=#<URI::GID gid://dummy/Category/322908140>>
184
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 1d5ce941-cc5e-44ac-81b1-d8e7bdbf4907) to Async(default) with arguments: #<GlobalID:0x007f85ba128030 @uri=#<URI::GID gid://dummy/Store/868874526>>
185
-  (0.3ms) RELEASE SAVEPOINT active_record_1
186
- Category Load (3.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
187
- [ActiveJob] [Thermos::RefillJob] [140592a6-4208-4889-94c7-ec9cc6d8eab9] Performing Thermos::RefillJob (Job ID: 140592a6-4208-4889-94c7-ec9cc6d8eab9) from Async(default) with arguments: #<GlobalID:0x007f85ba0b8460 @uri=#<URI::GID gid://dummy/Category/322908140>>
188
- [ActiveJob] [Thermos::RefillJob] [140592a6-4208-4889-94c7-ec9cc6d8eab9] Performed Thermos::RefillJob (Job ID: 140592a6-4208-4889-94c7-ec9cc6d8eab9) from Async(default) in 0.1ms
189
- Store Load (5.6ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
190
- [ActiveJob] [Thermos::RefillJob] [1d5ce941-cc5e-44ac-81b1-d8e7bdbf4907] Performing Thermos::RefillJob (Job ID: 1d5ce941-cc5e-44ac-81b1-d8e7bdbf4907) from Async(default) with arguments: #<GlobalID:0x007f85ba067560 @uri=#<URI::GID gid://dummy/Store/868874526>>
191
- [ActiveJob] [Thermos::RefillJob] [1d5ce941-cc5e-44ac-81b1-d8e7bdbf4907] Performed Thermos::RefillJob (Job ID: 1d5ce941-cc5e-44ac-81b1-d8e7bdbf4907) from Async(default) in 0.24ms
192
-  (0.4ms) rollback transaction
193
-  (0.1ms) begin transaction
194
- ---------------------------------------------------------------------
195
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
196
- ---------------------------------------------------------------------
197
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
198
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
199
-  (0.1ms) SAVEPOINT active_record_1
200
- Product Update (0.5ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.477579"], ["id", 469160771]]
201
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c228cf3b-2f68-4541-8cec-a6004e59108a) to Async(default) with arguments: #<GlobalID:0x007f85bb5bef58 @uri=#<URI::GID gid://dummy/Product/469160771>>
202
-  (0.1ms) RELEASE SAVEPOINT active_record_1
203
- Product Load (1.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
204
-  (0.6ms) rollback transaction
205
- [ActiveJob] [Thermos::RefillJob] [c228cf3b-2f68-4541-8cec-a6004e59108a] Performing Thermos::RefillJob (Job ID: c228cf3b-2f68-4541-8cec-a6004e59108a) from Async(default) with arguments: #<GlobalID:0x007f85bb5c7798 @uri=#<URI::GID gid://dummy/Product/469160771>>
206
- [ActiveJob] [Thermos::RefillJob] [c228cf3b-2f68-4541-8cec-a6004e59108a] Performed Thermos::RefillJob (Job ID: c228cf3b-2f68-4541-8cec-a6004e59108a) from Async(default) in 0.27ms
207
-  (0.2ms) begin transaction
208
- -----------------------------------------------------------------------------------
209
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
210
- -----------------------------------------------------------------------------------
211
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
212
-  (0.1ms) SAVEPOINT active_record_1
213
- CategoryItem Create (0.7ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 21:22:16.501355"], ["updated_at", "2018-10-15 21:22:16.501355"]]
214
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7ed158ce-7d01-4d96-97b1-4f68126a9038) to Async(default) with arguments: #<GlobalID:0x007f85bb605d40 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
215
-  (0.1ms) RELEASE SAVEPOINT active_record_1
216
- CategoryItem Load (1.3ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
217
- [ActiveJob] [Thermos::RefillJob] [7ed158ce-7d01-4d96-97b1-4f68126a9038] Performing Thermos::RefillJob (Job ID: 7ed158ce-7d01-4d96-97b1-4f68126a9038) from Async(default) with arguments: #<GlobalID:0x007f85bae2ec98 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
218
- [ActiveJob] [Thermos::RefillJob] [7ed158ce-7d01-4d96-97b1-4f68126a9038]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
219
- [ActiveJob] [Thermos::RefillJob] [7ed158ce-7d01-4d96-97b1-4f68126a9038] Performed Thermos::RefillJob (Job ID: 7ed158ce-7d01-4d96-97b1-4f68126a9038) from Async(default) in 1.15ms
220
-  (0.1ms) SAVEPOINT active_record_1
221
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.509003"], ["id", 678302811]]
222
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e74134a2-11ea-4a32-af62-6199a2f92c17) to Async(default) with arguments: #<GlobalID:0x007f85bb605d40 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
223
-  (0.1ms) RELEASE SAVEPOINT active_record_1
224
- CategoryItem Load (0.5ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
225
- [ActiveJob] [Thermos::RefillJob] [e74134a2-11ea-4a32-af62-6199a2f92c17] Performing Thermos::RefillJob (Job ID: e74134a2-11ea-4a32-af62-6199a2f92c17) from Async(default) with arguments: #<GlobalID:0x007f85bbf5ae68 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
226
-  (0.5ms) rollback transaction
227
- [ActiveJob] [Thermos::RefillJob] [e74134a2-11ea-4a32-af62-6199a2f92c17] Performed Thermos::RefillJob (Job ID: e74134a2-11ea-4a32-af62-6199a2f92c17) from Async(default) in 0.06ms
228
-  (0.1ms) begin transaction
229
- -------------------------------------------------------------------------------------
230
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
231
- -------------------------------------------------------------------------------------
232
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
233
-  (0.1ms) SAVEPOINT active_record_1
234
- Store Create (0.7ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 21:22:16.516389"], ["updated_at", "2018-10-15 21:22:16.516389"]]
235
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 00c2bb62-7716-4cc6-9b5d-b66f8389666c) to Async(default) with arguments: #<GlobalID:0x007f85bb5dd3e0 @uri=#<URI::GID gid://dummy/Store/868874526>>
236
-  (0.2ms) RELEASE SAVEPOINT active_record_1
237
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
238
- [ActiveJob] [Thermos::RefillJob] [00c2bb62-7716-4cc6-9b5d-b66f8389666c] Performing Thermos::RefillJob (Job ID: 00c2bb62-7716-4cc6-9b5d-b66f8389666c) from Async(default) with arguments: #<GlobalID:0x007f85bb5cc158 @uri=#<URI::GID gid://dummy/Store/868874526>>
239
- [ActiveJob] [Thermos::RefillJob] [00c2bb62-7716-4cc6-9b5d-b66f8389666c]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
240
- [ActiveJob] [Thermos::RefillJob] [00c2bb62-7716-4cc6-9b5d-b66f8389666c] Performed Thermos::RefillJob (Job ID: 00c2bb62-7716-4cc6-9b5d-b66f8389666c) from Async(default) in 1.68ms
241
-  (0.1ms) SAVEPOINT active_record_1
242
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.527693"], ["id", 868874526]]
243
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 57f0ed98-bfb6-4b2a-98a7-473d62f82702) to Async(default) with arguments: #<GlobalID:0x007f85bb5dd3e0 @uri=#<URI::GID gid://dummy/Store/868874526>>
244
-  (0.2ms) RELEASE SAVEPOINT active_record_1
245
- Store Load (2.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
246
-  (0.5ms) rollback transaction
247
- [ActiveJob] [Thermos::RefillJob] [57f0ed98-bfb6-4b2a-98a7-473d62f82702] Performing Thermos::RefillJob (Job ID: 57f0ed98-bfb6-4b2a-98a7-473d62f82702) from Async(default) with arguments: #<GlobalID:0x007f85bbf4a040 @uri=#<URI::GID gid://dummy/Store/868874526>>
248
- [ActiveJob] [Thermos::RefillJob] [57f0ed98-bfb6-4b2a-98a7-473d62f82702] Performed Thermos::RefillJob (Job ID: 57f0ed98-bfb6-4b2a-98a7-473d62f82702) from Async(default) in 0.09ms
249
-  (0.1ms) begin transaction
250
- ------------------------------------------------------
251
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
252
- ------------------------------------------------------
253
-  (0.1ms) rollback transaction
254
-  (0.1ms) begin transaction
255
- ----------------------------------------------------------------------------------
256
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
257
- ----------------------------------------------------------------------------------
258
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
259
-  (0.1ms) SAVEPOINT active_record_1
260
- Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 21:22:16.546149"], ["updated_at", "2018-10-15 21:22:16.546149"]]
261
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0080c9e5-d5f1-462c-9d0c-a4bea7433fb0) to Async(default) with arguments: #<GlobalID:0x007f85bae044c0 @uri=#<URI::GID gid://dummy/Category/322908141>>
262
-  (0.1ms) RELEASE SAVEPOINT active_record_1
263
- Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
264
- [ActiveJob] [Thermos::RefillJob] [0080c9e5-d5f1-462c-9d0c-a4bea7433fb0] Performing Thermos::RefillJob (Job ID: 0080c9e5-d5f1-462c-9d0c-a4bea7433fb0) from Async(default) with arguments: #<GlobalID:0x007f85bbf39998 @uri=#<URI::GID gid://dummy/Category/322908141>>
265
- [ActiveJob] [Thermos::RefillJob] [0080c9e5-d5f1-462c-9d0c-a4bea7433fb0] Enqueued Thermos::RebuildCacheJob (Job ID: cbced373-b247-4cc8-82b4-227690e4da74) to Async(default) with arguments: "key", 322908141
266
- [ActiveJob] [Thermos::RefillJob] [0080c9e5-d5f1-462c-9d0c-a4bea7433fb0] Performed Thermos::RefillJob (Job ID: 0080c9e5-d5f1-462c-9d0c-a4bea7433fb0) from Async(default) in 0.41ms
267
- [ActiveJob] [Thermos::RebuildCacheJob] [cbced373-b247-4cc8-82b4-227690e4da74] Performing Thermos::RebuildCacheJob (Job ID: cbced373-b247-4cc8-82b4-227690e4da74) from Async(default) with arguments: "key", 322908141
268
-  (0.2ms) SAVEPOINT active_record_1
269
- [ActiveJob] [Thermos::RebuildCacheJob] [cbced373-b247-4cc8-82b4-227690e4da74] Error performing Thermos::RebuildCacheJob (Job ID: cbced373-b247-4cc8-82b4-227690e4da74) from Async(default) in 0.49ms: MockExpectationError (mocked method :call called with unexpected arguments [322908141]):
270
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:160:in `method_missing'
271
- /Users/athal/2u/thermos/test/thermos_test.rb:74:in `block (2 levels) in <class:ThermosTest>'
272
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
273
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
274
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
275
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
276
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
277
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
278
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
279
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
280
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
281
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
282
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
283
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
284
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
285
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
286
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
287
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
288
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
289
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
290
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
291
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
292
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
293
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
294
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
295
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
296
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
297
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
298
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
299
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
300
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
301
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
302
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
303
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
304
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
305
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
306
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
307
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
308
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
309
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
310
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
311
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
312
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
313
- Category Update (0.2ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 21:22:16.556095"], ["id", 322908140]]
314
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: dd9d4db6-cb0e-4786-b4b0-dbc6407ea2d4) to Async(default) with arguments: #<GlobalID:0x007f85bbf19968 @uri=#<URI::GID gid://dummy/Category/322908140>>
315
-  (0.1ms) RELEASE SAVEPOINT active_record_1
316
- Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
317
- [ActiveJob] [Thermos::RefillJob] [dd9d4db6-cb0e-4786-b4b0-dbc6407ea2d4] Performing Thermos::RefillJob (Job ID: dd9d4db6-cb0e-4786-b4b0-dbc6407ea2d4) from Async(default) with arguments: #<GlobalID:0x007f85bbf091a8 @uri=#<URI::GID gid://dummy/Category/322908140>>
318
- [ActiveJob] [Thermos::RefillJob] [dd9d4db6-cb0e-4786-b4b0-dbc6407ea2d4] Performed Thermos::RefillJob (Job ID: dd9d4db6-cb0e-4786-b4b0-dbc6407ea2d4) from Async(default) in 0.04ms
319
-  (0.4ms) rollback transaction
320
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
321
-  (0.0ms) PRAGMA foreign_keys
322
-  (0.1ms) PRAGMA foreign_keys = OFF
323
-  (0.0ms) begin transaction
324
- Fixture Delete (0.8ms) DELETE FROM "products"
325
- Fixture Delete (0.5ms) DELETE FROM "categories"
326
- Fixture Delete (0.5ms) DELETE FROM "category_items"
327
- Fixture Delete (0.4ms) DELETE FROM "stores"
328
- Fixture Insert (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:20:32.914698', '2018-10-15 22:20:32.914698', 469160771)
329
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:20:32.916693', '2018-10-15 22:20:32.916693', 322908140, 868874525)
330
- Fixture Insert (0.0ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:20:32.917674', '2018-10-15 22:20:32.917674', 678302810, 322908140, 469160771)
331
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:20:32.918753', '2018-10-15 22:20:32.918753', 868874525)
332
-  (1.4ms) commit transaction
333
-  (0.1ms) PRAGMA foreign_keys = 1
334
-  (0.0ms) begin transaction
335
- ----------------------------------------------------------------------------------
336
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
337
- ----------------------------------------------------------------------------------
338
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
339
-  (0.1ms) SAVEPOINT active_record_1
340
- Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 22:20:32.934298"], ["updated_at", "2018-10-15 22:20:32.934298"]]
341
-  (0.0ms) RELEASE SAVEPOINT active_record_1
342
-  (0.1ms) SAVEPOINT active_record_1
343
- Category Update (0.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:32.937730"], ["id", 322908140]]
344
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: adabc51b-1d97-4ab3-831b-5504fc1c75f3) to Async(default) with arguments: #<GlobalID:0x007f94ec631388 @uri=#<URI::GID gid://dummy/Category/322908140>>
345
-  (0.1ms) RELEASE SAVEPOINT active_record_1
346
-  (0.3ms) rollback transaction
347
-  (0.1ms) begin transaction
348
- --------------------------------------------------------------
349
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
350
- --------------------------------------------------------------
351
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
352
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
353
- [ActiveJob] [Thermos::RefillJob] [adabc51b-1d97-4ab3-831b-5504fc1c75f3] Performing Thermos::RefillJob (Job ID: adabc51b-1d97-4ab3-831b-5504fc1c75f3) from Async(default) with arguments: #<GlobalID:0x007f94ecd0fc18 @uri=#<URI::GID gid://dummy/Category/322908140>>
354
-  (0.1ms) SAVEPOINT active_record_1
355
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 22:20:32.964235"], ["updated_at", "2018-10-15 22:20:32.964235"]]
356
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 43e48cb4-86d8-4f14-9699-3a08db469ccf) to Async(default) with arguments: #<GlobalID:0x007f94ec58f498 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
357
-  (0.0ms) RELEASE SAVEPOINT active_record_1
358
- CategoryItem Load (0.9ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
359
- [ActiveJob] [Thermos::RefillJob] [43e48cb4-86d8-4f14-9699-3a08db469ccf] Performing Thermos::RefillJob (Job ID: 43e48cb4-86d8-4f14-9699-3a08db469ccf) from Async(default) with arguments: #<GlobalID:0x007f94ec574af8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
360
-  (0.4ms) rollback transaction
361
- [ActiveJob] [Thermos::RefillJob] [adabc51b-1d97-4ab3-831b-5504fc1c75f3] Performed Thermos::RefillJob (Job ID: adabc51b-1d97-4ab3-831b-5504fc1c75f3) from Async(default) in 18.9ms
362
-  (0.1ms) begin transaction
363
- [ActiveJob] [Thermos::RefillJob] [43e48cb4-86d8-4f14-9699-3a08db469ccf] Performed Thermos::RefillJob (Job ID: 43e48cb4-86d8-4f14-9699-3a08db469ccf) from Async(default) in 6.99ms
364
- ---------------------------------------------------------------
365
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
366
- ---------------------------------------------------------------
367
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
368
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
369
-  (0.1ms) SAVEPOINT active_record_1
370
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:32.982678"], ["id", 868874525]]
371
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: de3b7061-4da5-49f5-9138-a12a43d48fc0) to Async(default) with arguments: #<GlobalID:0x007f94ecc35cc0 @uri=#<URI::GID gid://dummy/Store/868874525>>
372
-  (0.0ms) RELEASE SAVEPOINT active_record_1
373
- Store Load (0.9ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
374
-  (0.3ms) rollback transaction
375
- [ActiveJob] [Thermos::RefillJob] [de3b7061-4da5-49f5-9138-a12a43d48fc0] Performing Thermos::RefillJob (Job ID: de3b7061-4da5-49f5-9138-a12a43d48fc0) from Async(default) with arguments: #<GlobalID:0x007f94ecc16d70 @uri=#<URI::GID gid://dummy/Store/868874525>>
376
- [ActiveJob] [Thermos::RefillJob] [de3b7061-4da5-49f5-9138-a12a43d48fc0] Performed Thermos::RefillJob (Job ID: de3b7061-4da5-49f5-9138-a12a43d48fc0) from Async(default) in 0.12ms
377
-  (0.3ms) begin transaction
378
- --------------------------------------------------------------------------
379
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
380
- --------------------------------------------------------------------------
381
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
382
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
383
-  (0.1ms) SAVEPOINT active_record_1
384
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.000408"], ["id", 322908140]]
385
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 1624d7a0-2445-42d6-9bb6-1a5348a674a1) to Async(default) with arguments: #<GlobalID:0x007f94ec49d9b8 @uri=#<URI::GID gid://dummy/Category/322908140>>
386
-  (0.0ms) RELEASE SAVEPOINT active_record_1
387
- Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
388
-  (0.3ms) rollback transaction
389
- [ActiveJob] [Thermos::RefillJob] [1624d7a0-2445-42d6-9bb6-1a5348a674a1] Performing Thermos::RefillJob (Job ID: 1624d7a0-2445-42d6-9bb6-1a5348a674a1) from Async(default) with arguments: #<GlobalID:0x007f94ec496e60 @uri=#<URI::GID gid://dummy/Category/322908140>>
390
- [ActiveJob] [Thermos::RefillJob] [1624d7a0-2445-42d6-9bb6-1a5348a674a1] Performed Thermos::RefillJob (Job ID: 1624d7a0-2445-42d6-9bb6-1a5348a674a1) from Async(default) in 0.04ms
391
-  (0.0ms) begin transaction
392
- ----------------------------------------------------------------
393
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
394
- ----------------------------------------------------------------
395
-  (0.1ms) SAVEPOINT active_record_1
396
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:20:33.006533"], ["updated_at", "2018-10-15 22:20:33.006533"]]
397
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f976385c-176e-44e0-af44-c66a0d8c75a9) to Async(default) with arguments: #<GlobalID:0x007f94ecbac178 @uri=#<URI::GID gid://dummy/Category/322908141>>
398
-  (0.2ms) RELEASE SAVEPOINT active_record_1
399
- Category Load (2.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
400
- [ActiveJob] [Thermos::RefillJob] [f976385c-176e-44e0-af44-c66a0d8c75a9] Performing Thermos::RefillJob (Job ID: f976385c-176e-44e0-af44-c66a0d8c75a9) from Async(default) with arguments: #<GlobalID:0x007f94ed9700c0 @uri=#<URI::GID gid://dummy/Category/322908141>>
401
- [ActiveJob] [Thermos::RefillJob] [f976385c-176e-44e0-af44-c66a0d8c75a9] Performed Thermos::RefillJob (Job ID: f976385c-176e-44e0-af44-c66a0d8c75a9) from Async(default) in 0.1ms
402
-  (0.5ms) rollback transaction
403
-  (0.1ms) begin transaction
404
- ------------------------------------------------------------
405
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
406
- ------------------------------------------------------------
407
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
408
-  (0.1ms) SAVEPOINT active_record_1
409
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.020086"], ["id", 322908140]]
410
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 62437d48-3f09-4280-8d59-d6e46987585b) to Async(default) with arguments: #<GlobalID:0x007f94ec467f20 @uri=#<URI::GID gid://dummy/Category/322908140>>
411
-  (0.1ms) RELEASE SAVEPOINT active_record_1
412
- Category Load (1.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
413
-  (0.3ms) rollback transaction
414
- [ActiveJob] [Thermos::RefillJob] [62437d48-3f09-4280-8d59-d6e46987585b] Performing Thermos::RefillJob (Job ID: 62437d48-3f09-4280-8d59-d6e46987585b) from Async(default) with arguments: #<GlobalID:0x007f94ed948ca0 @uri=#<URI::GID gid://dummy/Category/322908140>>
415
- [ActiveJob] [Thermos::RefillJob] [62437d48-3f09-4280-8d59-d6e46987585b] Performed Thermos::RefillJob (Job ID: 62437d48-3f09-4280-8d59-d6e46987585b) from Async(default) in 0.06ms
416
-  (0.1ms) begin transaction
417
- ----------------------------------------------------------------------
418
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
419
- ----------------------------------------------------------------------
420
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
421
-  (0.2ms) SAVEPOINT active_record_1
422
- Product Create (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:20:33.047710"], ["updated_at", "2018-10-15 22:20:33.047710"]]
423
- CategoryItem Create (0.3ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 22:20:33.049427"], ["updated_at", "2018-10-15 22:20:33.049427"]]
424
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 9eb85255-8f30-4d63-ae86-eeab2cd41ab4) to Async(default) with arguments: #<GlobalID:0x007f94ec397550 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
425
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f5c55b42-50a7-4367-a46c-bf4972a337d2) to Async(default) with arguments: #<GlobalID:0x007f94eca77ac8 @uri=#<URI::GID gid://dummy/Product/469160772>>
426
-  (0.1ms) RELEASE SAVEPOINT active_record_1
427
- CategoryItem Load (2.4ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
428
- Product Load (1.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
429
- [ActiveJob] [Thermos::RefillJob] [9eb85255-8f30-4d63-ae86-eeab2cd41ab4] Performing Thermos::RefillJob (Job ID: 9eb85255-8f30-4d63-ae86-eeab2cd41ab4) from Async(default) with arguments: #<GlobalID:0x007f94ec374fa0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
430
-  (0.8ms) rollback transaction
431
- [ActiveJob] [Thermos::RefillJob] [f5c55b42-50a7-4367-a46c-bf4972a337d2] Performing Thermos::RefillJob (Job ID: f5c55b42-50a7-4367-a46c-bf4972a337d2) from Async(default) with arguments: #<GlobalID:0x007f94eca3f150 @uri=#<URI::GID gid://dummy/Product/469160772>>
432
- [ActiveJob] [Thermos::RefillJob] [f5c55b42-50a7-4367-a46c-bf4972a337d2] Performed Thermos::RefillJob (Job ID: f5c55b42-50a7-4367-a46c-bf4972a337d2) from Async(default) in 0.11ms
433
- [ActiveJob] [Thermos::RefillJob] [9eb85255-8f30-4d63-ae86-eeab2cd41ab4] Performed Thermos::RefillJob (Job ID: 9eb85255-8f30-4d63-ae86-eeab2cd41ab4) from Async(default) in 0.07ms
434
-  (0.1ms) begin transaction
435
- ---------------------------------------------------------------------
436
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
437
- ---------------------------------------------------------------------
438
- Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
439
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
440
-  (0.1ms) SAVEPOINT active_record_1
441
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.068618"], ["id", 469160771]]
442
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a11f727a-39e7-43bf-9bda-182623414c77) to Async(default) with arguments: #<GlobalID:0x007f94ec356c58 @uri=#<URI::GID gid://dummy/Product/469160771>>
443
-  (0.1ms) RELEASE SAVEPOINT active_record_1
444
- Product Load (1.7ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
445
-  (0.4ms) rollback transaction
446
- [ActiveJob] [Thermos::RefillJob] [a11f727a-39e7-43bf-9bda-182623414c77] Performing Thermos::RefillJob (Job ID: a11f727a-39e7-43bf-9bda-182623414c77) from Async(default) with arguments: #<GlobalID:0x007f94ec32fe00 @uri=#<URI::GID gid://dummy/Product/469160771>>
447
- [ActiveJob] [Thermos::RefillJob] [a11f727a-39e7-43bf-9bda-182623414c77] Performed Thermos::RefillJob (Job ID: a11f727a-39e7-43bf-9bda-182623414c77) from Async(default) in 0.06ms
448
-  (0.1ms) begin transaction
449
- -------------------------------------------------------------------------------------------
450
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
451
- -------------------------------------------------------------------------------------------
452
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
453
-  (0.1ms) SAVEPOINT active_record_1
454
- Product Create (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:20:33.076714"], ["updated_at", "2018-10-15 22:20:33.076714"]]
455
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8) to Async(default) with arguments: #<GlobalID:0x007f94ed83aef8 @uri=#<URI::GID gid://dummy/Product/469160772>>
456
-  (0.1ms) RELEASE SAVEPOINT active_record_1
457
- Product Load (1.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
458
- [ActiveJob] [Thermos::RefillJob] [c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8] Performing Thermos::RefillJob (Job ID: c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8) from Async(default) with arguments: #<GlobalID:0x007f94ec9dd608 @uri=#<URI::GID gid://dummy/Product/469160772>>
459
-  (0.1ms) SAVEPOINT active_record_1
460
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.090595"], ["id", 469160772]]
461
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 135e2101-e73f-4258-9223-6d9a82e5b467) to Async(default) with arguments: #<GlobalID:0x007f94ed83aef8 @uri=#<URI::GID gid://dummy/Product/469160772>>
462
-  (0.1ms) RELEASE SAVEPOINT active_record_1
463
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
464
-  (0.4ms) rollback transaction
465
- [ActiveJob] [Thermos::RefillJob] [135e2101-e73f-4258-9223-6d9a82e5b467] Performing Thermos::RefillJob (Job ID: 135e2101-e73f-4258-9223-6d9a82e5b467) from Async(default) with arguments: #<GlobalID:0x007f94ec21d080 @uri=#<URI::GID gid://dummy/Product/469160772>>
466
-  (0.1ms) begin transaction
467
- [ActiveJob] [Thermos::RefillJob] [135e2101-e73f-4258-9223-6d9a82e5b467] Performed Thermos::RefillJob (Job ID: 135e2101-e73f-4258-9223-6d9a82e5b467) from Async(default) in 0.07ms
468
- -----------------------------------------------------------------------------------
469
- [ActiveJob] [Thermos::RefillJob] [c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8]  (0.4ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
470
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
471
- [ActiveJob] [Thermos::RefillJob] [c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8] Performed Thermos::RefillJob (Job ID: c2e055f9-bf7e-45db-b3fc-6ee9aa6b1ed8) from Async(default) in 19.22ms
472
- -----------------------------------------------------------------------------------
473
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
474
-  (0.1ms) SAVEPOINT active_record_1
475
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:20:33.106891"], ["updated_at", "2018-10-15 22:20:33.106891"]]
476
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c7a4135a-b84b-4ca9-9abb-e9feca4d4918) to Async(default) with arguments: #<GlobalID:0x007f94ec113db0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
477
-  (0.1ms) RELEASE SAVEPOINT active_record_1
478
- CategoryItem Load (2.6ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
479
- [ActiveJob] [Thermos::RefillJob] [c7a4135a-b84b-4ca9-9abb-e9feca4d4918] Performing Thermos::RefillJob (Job ID: c7a4135a-b84b-4ca9-9abb-e9feca4d4918) from Async(default) with arguments: #<GlobalID:0x007f94ec04f0f0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
480
- [ActiveJob] [Thermos::RefillJob] [c7a4135a-b84b-4ca9-9abb-e9feca4d4918]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
481
- [ActiveJob] [Thermos::RefillJob] [c7a4135a-b84b-4ca9-9abb-e9feca4d4918] Performed Thermos::RefillJob (Job ID: c7a4135a-b84b-4ca9-9abb-e9feca4d4918) from Async(default) in 1.99ms
482
-  (0.1ms) SAVEPOINT active_record_1
483
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.118935"], ["id", 678302811]]
484
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 09096a63-9cfd-4d72-a1b6-686a612189bc) to Async(default) with arguments: #<GlobalID:0x007f94ec113db0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
485
-  (0.1ms) RELEASE SAVEPOINT active_record_1
486
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
487
-  (0.4ms) rollback transaction
488
- [ActiveJob] [Thermos::RefillJob] [09096a63-9cfd-4d72-a1b6-686a612189bc] Performing Thermos::RefillJob (Job ID: 09096a63-9cfd-4d72-a1b6-686a612189bc) from Async(default) with arguments: #<GlobalID:0x007f94ed2952f0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
489
-  (0.1ms) begin transaction
490
- [ActiveJob] [Thermos::RefillJob] [09096a63-9cfd-4d72-a1b6-686a612189bc] Performed Thermos::RefillJob (Job ID: 09096a63-9cfd-4d72-a1b6-686a612189bc) from Async(default) in 0.06ms
491
- ----------------------------------------------------------------
492
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
493
- ----------------------------------------------------------------
494
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
495
-  (0.1ms) SAVEPOINT active_record_1
496
- Store Create (0.9ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:20:33.133732"], ["updated_at", "2018-10-15 22:20:33.133732"]]
497
- Category Update (0.4ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 22:20:33.136150"], ["id", 322908140]]
498
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 6eac0053-b749-468c-ab7b-2445c50afcdd) to Async(default) with arguments: #<GlobalID:0x007f94f02a0148 @uri=#<URI::GID gid://dummy/Category/322908140>>
499
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 55f55b7a-de33-439d-99be-daadf9ae467b) to Async(default) with arguments: #<GlobalID:0x007f94f0293420 @uri=#<URI::GID gid://dummy/Store/868874526>>
500
-  (0.1ms) RELEASE SAVEPOINT active_record_1
501
- Category Load (2.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
502
- Store Load (1.0ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
503
- [ActiveJob] [Thermos::RefillJob] [6eac0053-b749-468c-ab7b-2445c50afcdd] Performing Thermos::RefillJob (Job ID: 6eac0053-b749-468c-ab7b-2445c50afcdd) from Async(default) with arguments: #<GlobalID:0x007f94ecfc7500 @uri=#<URI::GID gid://dummy/Category/322908140>>
504
-  (0.5ms) rollback transaction
505
- [ActiveJob] [Thermos::RefillJob] [55f55b7a-de33-439d-99be-daadf9ae467b] Performing Thermos::RefillJob (Job ID: 55f55b7a-de33-439d-99be-daadf9ae467b) from Async(default) with arguments: #<GlobalID:0x007f94ecfbfa58 @uri=#<URI::GID gid://dummy/Store/868874526>>
506
- [ActiveJob] [Thermos::RefillJob] [6eac0053-b749-468c-ab7b-2445c50afcdd] Performed Thermos::RefillJob (Job ID: 6eac0053-b749-468c-ab7b-2445c50afcdd) from Async(default) in 0.07ms
507
- [ActiveJob] [Thermos::RefillJob] [55f55b7a-de33-439d-99be-daadf9ae467b] Performed Thermos::RefillJob (Job ID: 55f55b7a-de33-439d-99be-daadf9ae467b) from Async(default) in 0.15ms
508
-  (0.1ms) begin transaction
509
- ---------------------------------------------------------------------------------------------------------------------------
510
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
511
- ---------------------------------------------------------------------------------------------------------------------------
512
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
513
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
514
-  (0.2ms) SAVEPOINT active_record_1
515
- Product Update (0.6ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.152397"], ["id", 469160771]]
516
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 8628b529-ac8e-40b8-a4ec-463b4549b487) to Async(default) with arguments: #<GlobalID:0x007f94ecf8eae8 @uri=#<URI::GID gid://dummy/Product/469160771>>
517
-  (0.1ms) RELEASE SAVEPOINT active_record_1
518
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
519
-  (0.5ms) rollback transaction
520
- [ActiveJob] [Thermos::RefillJob] [8628b529-ac8e-40b8-a4ec-463b4549b487] Performing Thermos::RefillJob (Job ID: 8628b529-ac8e-40b8-a4ec-463b4549b487) from Async(default) with arguments: #<GlobalID:0x007f94ecf7f980 @uri=#<URI::GID gid://dummy/Product/469160771>>
521
- [ActiveJob] [Thermos::RefillJob] [8628b529-ac8e-40b8-a4ec-463b4549b487] Performed Thermos::RefillJob (Job ID: 8628b529-ac8e-40b8-a4ec-463b4549b487) from Async(default) in 0.09ms
522
-  (0.1ms) begin transaction
523
- ---------------------------------------------------------
524
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
525
- ---------------------------------------------------------
526
-  (0.1ms) rollback transaction
527
-  (0.1ms) begin transaction
528
- -------------------------------------------------------------
529
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
530
- -------------------------------------------------------------
531
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
532
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
533
-  (0.1ms) SAVEPOINT active_record_1
534
- CategoryItem Update (0.4ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.168590"], ["id", 678302810]]
535
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fa1fc906-bd70-4be2-95f4-2018cf17a248) to Async(default) with arguments: #<GlobalID:0x007f94ed286228 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
536
-  (0.1ms) RELEASE SAVEPOINT active_record_1
537
- CategoryItem Load (1.4ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
538
-  (0.4ms) rollback transaction
539
- [ActiveJob] [Thermos::RefillJob] [fa1fc906-bd70-4be2-95f4-2018cf17a248] Performing Thermos::RefillJob (Job ID: fa1fc906-bd70-4be2-95f4-2018cf17a248) from Async(default) with arguments: #<GlobalID:0x007f94ecf648b0 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
540
- [ActiveJob] [Thermos::RefillJob] [fa1fc906-bd70-4be2-95f4-2018cf17a248] Performed Thermos::RefillJob (Job ID: fa1fc906-bd70-4be2-95f4-2018cf17a248) from Async(default) in 0.06ms
541
-  (0.1ms) begin transaction
542
- -------------------------------------------------------------------------------------
543
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
544
- -------------------------------------------------------------------------------------
545
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
546
-  (0.1ms) SAVEPOINT active_record_1
547
- Store Create (1.1ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:20:33.176804"], ["updated_at", "2018-10-15 22:20:33.176804"]]
548
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: bf4ac314-83aa-4509-851d-18fbbcf934bd) to Async(default) with arguments: #<GlobalID:0x007f94ed2740c8 @uri=#<URI::GID gid://dummy/Store/868874526>>
549
-  (0.1ms) RELEASE SAVEPOINT active_record_1
550
- Store Load (1.7ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
551
- [ActiveJob] [Thermos::RefillJob] [bf4ac314-83aa-4509-851d-18fbbcf934bd] Performing Thermos::RefillJob (Job ID: bf4ac314-83aa-4509-851d-18fbbcf934bd) from Async(default) with arguments: #<GlobalID:0x007f94ecf55b30 @uri=#<URI::GID gid://dummy/Store/868874526>>
552
- [ActiveJob] [Thermos::RefillJob] [bf4ac314-83aa-4509-851d-18fbbcf934bd]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
553
- [ActiveJob] [Thermos::RefillJob] [bf4ac314-83aa-4509-851d-18fbbcf934bd] Performed Thermos::RefillJob (Job ID: bf4ac314-83aa-4509-851d-18fbbcf934bd) from Async(default) in 1.42ms
554
-  (0.1ms) SAVEPOINT active_record_1
555
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:20:33.187868"], ["id", 868874526]]
556
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4) to Async(default) with arguments: #<GlobalID:0x007f94ed2740c8 @uri=#<URI::GID gid://dummy/Store/868874526>>
557
-  (0.1ms) RELEASE SAVEPOINT active_record_1
558
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
559
- [ActiveJob] [Thermos::RefillJob] [b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4] Performing Thermos::RefillJob (Job ID: b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4) from Async(default) with arguments: #<GlobalID:0x007f94f02295c0 @uri=#<URI::GID gid://dummy/Store/868874526>>
560
- [ActiveJob] [Thermos::RefillJob] [b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
561
- [ActiveJob] [Thermos::RefillJob] [b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4] Performed Thermos::RefillJob (Job ID: b83b2a1f-7d7d-46c6-a353-5f18c32f5fb4) from Async(default) in 0.8ms
562
-  (0.2ms) rollback transaction
563
-  (0.1ms) begin transaction
564
- ------------------------------------------------------
565
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
566
- ------------------------------------------------------
567
-  (0.1ms) rollback transaction
568
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
569
-  (0.0ms) PRAGMA foreign_keys
570
-  (0.0ms) PRAGMA foreign_keys = OFF
571
-  (0.0ms) begin transaction
572
- Fixture Delete (0.5ms) DELETE FROM "products"
573
- Fixture Delete (0.1ms) DELETE FROM "categories"
574
- Fixture Delete (0.1ms) DELETE FROM "category_items"
575
- Fixture Delete (0.1ms) DELETE FROM "stores"
576
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:21:36.579289', '2018-10-15 22:21:36.579289', 469160771)
577
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:21:36.580776', '2018-10-15 22:21:36.580776', 322908140, 868874525)
578
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:21:36.581730', '2018-10-15 22:21:36.581730', 678302810, 322908140, 469160771)
579
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:21:36.582951', '2018-10-15 22:21:36.582951', 868874525)
580
-  (1.3ms) commit transaction
581
-  (0.1ms) PRAGMA foreign_keys = 1
582
-  (0.0ms) begin transaction
583
- ---------------------------------------------------------------
584
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
585
- ---------------------------------------------------------------
586
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
587
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
588
-  (0.1ms) SAVEPOINT active_record_1
589
- Store Update (0.5ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.603940"], ["id", 868874525]]
590
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 39ba8abe-6167-47f8-a8f0-53b66aad4e60) to Async(default) with arguments: #<GlobalID:0x007fd1869408e0 @uri=#<URI::GID gid://dummy/Store/868874525>>
591
-  (0.1ms) RELEASE SAVEPOINT active_record_1
592
-  (0.7ms) rollback transaction
593
- Store Load (0.3ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
594
- [ActiveJob] [Thermos::RefillJob] [39ba8abe-6167-47f8-a8f0-53b66aad4e60] Performing Thermos::RefillJob (Job ID: 39ba8abe-6167-47f8-a8f0-53b66aad4e60) from Async(default) with arguments: #<GlobalID:0x007fd18659d238 @uri=#<URI::GID gid://dummy/Store/868874525>>
595
-  (0.1ms) begin transaction
596
- ----------------------------------------------------------------
597
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
598
- ----------------------------------------------------------------
599
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
600
- [ActiveJob] [Thermos::RefillJob] [39ba8abe-6167-47f8-a8f0-53b66aad4e60] Performed Thermos::RefillJob (Job ID: 39ba8abe-6167-47f8-a8f0-53b66aad4e60) from Async(default) in 4.86ms
601
-  (0.1ms) SAVEPOINT active_record_1
602
- Store Create (0.5ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:21:36.634853"], ["updated_at", "2018-10-15 22:21:36.634853"]]
603
- Category Update (0.3ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 22:21:36.636467"], ["id", 322908140]]
604
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b490ffe6-d5bb-4b11-929a-9ffd8ae6c44f) to Async(default) with arguments: #<GlobalID:0x007fd1875cfd18 @uri=#<URI::GID gid://dummy/Category/322908140>>
605
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f4cbcc59-c99c-4c74-b525-5d60d246de9b) to Async(default) with arguments: #<GlobalID:0x007fd1864f3e68 @uri=#<URI::GID gid://dummy/Store/868874526>>
606
-  (0.5ms) RELEASE SAVEPOINT active_record_1
607
- Category Load (3.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
608
- Store Load (1.9ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
609
- [ActiveJob] [Thermos::RefillJob] [b490ffe6-d5bb-4b11-929a-9ffd8ae6c44f] Performing Thermos::RefillJob (Job ID: b490ffe6-d5bb-4b11-929a-9ffd8ae6c44f) from Async(default) with arguments: #<GlobalID:0x007fd1875afc20 @uri=#<URI::GID gid://dummy/Category/322908140>>
610
-  (1.1ms) rollback transaction
611
- [ActiveJob] [Thermos::RefillJob] [f4cbcc59-c99c-4c74-b525-5d60d246de9b] Performing Thermos::RefillJob (Job ID: f4cbcc59-c99c-4c74-b525-5d60d246de9b) from Async(default) with arguments: #<GlobalID:0x007fd1875a6dc8 @uri=#<URI::GID gid://dummy/Store/868874526>>
612
- [ActiveJob] [Thermos::RefillJob] [b490ffe6-d5bb-4b11-929a-9ffd8ae6c44f] Performed Thermos::RefillJob (Job ID: b490ffe6-d5bb-4b11-929a-9ffd8ae6c44f) from Async(default) in 0.04ms
613
-  (0.1ms) begin transaction
614
- [ActiveJob] [Thermos::RefillJob] [f4cbcc59-c99c-4c74-b525-5d60d246de9b] Performed Thermos::RefillJob (Job ID: f4cbcc59-c99c-4c74-b525-5d60d246de9b) from Async(default) in 0.05ms
615
- -------------------------------------------------------------------------------------
616
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
617
- -------------------------------------------------------------------------------------
618
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
619
-  (0.0ms) SAVEPOINT active_record_1
620
- Store Create (0.4ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:21:36.649955"], ["updated_at", "2018-10-15 22:21:36.649955"]]
621
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a775e7e7-2a5b-4432-8199-d6a08bbeb9d9) to Async(default) with arguments: #<GlobalID:0x007fd187574620 @uri=#<URI::GID gid://dummy/Store/868874526>>
622
-  (0.1ms) RELEASE SAVEPOINT active_record_1
623
- Store Load (1.2ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
624
- [ActiveJob] [Thermos::RefillJob] [a775e7e7-2a5b-4432-8199-d6a08bbeb9d9] Performing Thermos::RefillJob (Job ID: a775e7e7-2a5b-4432-8199-d6a08bbeb9d9) from Async(default) with arguments: #<GlobalID:0x007fd1864d06e8 @uri=#<URI::GID gid://dummy/Store/868874526>>
625
- [ActiveJob] [Thermos::RefillJob] [a775e7e7-2a5b-4432-8199-d6a08bbeb9d9]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
626
-  (0.1ms) SAVEPOINT active_record_1
627
- [ActiveJob] [Thermos::RefillJob] [a775e7e7-2a5b-4432-8199-d6a08bbeb9d9] Performed Thermos::RefillJob (Job ID: a775e7e7-2a5b-4432-8199-d6a08bbeb9d9) from Async(default) in 12.21ms
628
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.666253"], ["id", 868874526]]
629
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 6f113af4-28a3-4539-85be-053390a1b374) to Async(default) with arguments: #<GlobalID:0x007fd187574620 @uri=#<URI::GID gid://dummy/Store/868874526>>
630
-  (0.0ms) RELEASE SAVEPOINT active_record_1
631
- Store Load (0.6ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
632
- [ActiveJob] [Thermos::RefillJob] [6f113af4-28a3-4539-85be-053390a1b374] Performing Thermos::RefillJob (Job ID: 6f113af4-28a3-4539-85be-053390a1b374) from Async(default) with arguments: #<GlobalID:0x007fd1874b7e80 @uri=#<URI::GID gid://dummy/Store/868874526>>
633
-  (0.5ms) rollback transaction
634
- [ActiveJob] [Thermos::RefillJob] [6f113af4-28a3-4539-85be-053390a1b374] Performed Thermos::RefillJob (Job ID: 6f113af4-28a3-4539-85be-053390a1b374) from Async(default) in 0.06ms
635
-  (0.1ms) begin transaction
636
- -------------------------------------------------------------
637
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
638
- -------------------------------------------------------------
639
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
640
- CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
641
-  (0.1ms) SAVEPOINT active_record_1
642
- CategoryItem Update (0.5ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.689664"], ["id", 678302810]]
643
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 72898fd6-b497-4028-bb82-4e247eeeeb4b) to Async(default) with arguments: #<GlobalID:0x007fd18740c3a0 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
644
-  (0.1ms) RELEASE SAVEPOINT active_record_1
645
- CategoryItem Load (1.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
646
-  (0.3ms) rollback transaction
647
- [ActiveJob] [Thermos::RefillJob] [72898fd6-b497-4028-bb82-4e247eeeeb4b] Performing Thermos::RefillJob (Job ID: 72898fd6-b497-4028-bb82-4e247eeeeb4b) from Async(default) with arguments: #<GlobalID:0x007fd1873e6498 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
648
- [ActiveJob] [Thermos::RefillJob] [72898fd6-b497-4028-bb82-4e247eeeeb4b] Performed Thermos::RefillJob (Job ID: 72898fd6-b497-4028-bb82-4e247eeeeb4b) from Async(default) in 0.06ms
649
-  (0.0ms) begin transaction
650
- -----------------------------------------------------------------------------------
651
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
652
- -----------------------------------------------------------------------------------
653
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
654
-  (0.2ms) SAVEPOINT active_record_1
655
- CategoryItem Create (1.0ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:21:36.699939"], ["updated_at", "2018-10-15 22:21:36.699939"]]
656
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b92224af-61b0-4c14-92c4-a6d0cb7c4334) to Async(default) with arguments: #<GlobalID:0x007fd1863d1878 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
657
-  (0.1ms) RELEASE SAVEPOINT active_record_1
658
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
659
- [ActiveJob] [Thermos::RefillJob] [b92224af-61b0-4c14-92c4-a6d0cb7c4334] Performing Thermos::RefillJob (Job ID: b92224af-61b0-4c14-92c4-a6d0cb7c4334) from Async(default) with arguments: #<GlobalID:0x007fd1868b5c40 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
660
- [ActiveJob] [Thermos::RefillJob] [b92224af-61b0-4c14-92c4-a6d0cb7c4334]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
661
- [ActiveJob] [Thermos::RefillJob] [b92224af-61b0-4c14-92c4-a6d0cb7c4334] Performed Thermos::RefillJob (Job ID: b92224af-61b0-4c14-92c4-a6d0cb7c4334) from Async(default) in 1.35ms
662
-  (0.1ms) SAVEPOINT active_record_1
663
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.709353"], ["id", 678302811]]
664
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b088dcf8-3821-4589-9a82-9b546559028a) to Async(default) with arguments: #<GlobalID:0x007fd1863d1878 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
665
-  (0.1ms) RELEASE SAVEPOINT active_record_1
666
- CategoryItem Load (0.6ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
667
- [ActiveJob] [Thermos::RefillJob] [b088dcf8-3821-4589-9a82-9b546559028a] Performing Thermos::RefillJob (Job ID: b088dcf8-3821-4589-9a82-9b546559028a) from Async(default) with arguments: #<GlobalID:0x007fd1878cef50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
668
-  (0.5ms) rollback transaction
669
- [ActiveJob] [Thermos::RefillJob] [b088dcf8-3821-4589-9a82-9b546559028a] Performed Thermos::RefillJob (Job ID: b088dcf8-3821-4589-9a82-9b546559028a) from Async(default) in 0.06ms
670
-  (0.1ms) begin transaction
671
- ----------------------------------------------------------------------
672
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
673
- ----------------------------------------------------------------------
674
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
675
-  (0.2ms) SAVEPOINT active_record_1
676
- Product Create (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:21:36.734075"], ["updated_at", "2018-10-15 22:21:36.734075"]]
677
- CategoryItem Create (0.3ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 22:21:36.735458"], ["updated_at", "2018-10-15 22:21:36.735458"]]
678
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5e36a23a-b358-4175-abde-99adbec13436) to Async(default) with arguments: #<GlobalID:0x007fd1863199a8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
679
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 9e9f2822-0637-49c5-b342-0a7c26451834) to Async(default) with arguments: #<GlobalID:0x007fd1862ea8b0 @uri=#<URI::GID gid://dummy/Product/469160772>>
680
-  (0.1ms) RELEASE SAVEPOINT active_record_1
681
- CategoryItem Load (2.8ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
682
- Product Load (1.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
683
- [ActiveJob] [Thermos::RefillJob] [9e9f2822-0637-49c5-b342-0a7c26451834] Performing Thermos::RefillJob (Job ID: 9e9f2822-0637-49c5-b342-0a7c26451834) from Async(default) with arguments: #<GlobalID:0x007fd187837b28 @uri=#<URI::GID gid://dummy/Product/469160772>>
684
- [ActiveJob] [Thermos::RefillJob] [9e9f2822-0637-49c5-b342-0a7c26451834] Performed Thermos::RefillJob (Job ID: 9e9f2822-0637-49c5-b342-0a7c26451834) from Async(default) in 0.06ms
685
- [ActiveJob] [Thermos::RefillJob] [5e36a23a-b358-4175-abde-99adbec13436] Performing Thermos::RefillJob (Job ID: 5e36a23a-b358-4175-abde-99adbec13436) from Async(default) with arguments: #<GlobalID:0x007fd1878472a8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
686
- [ActiveJob] [Thermos::RefillJob] [5e36a23a-b358-4175-abde-99adbec13436] Performed Thermos::RefillJob (Job ID: 5e36a23a-b358-4175-abde-99adbec13436) from Async(default) in 0.03ms
687
-  (0.6ms) rollback transaction
688
-  (0.1ms) begin transaction
689
- ----------------------------------------------------------------
690
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
691
- ----------------------------------------------------------------
692
-  (0.1ms) SAVEPOINT active_record_1
693
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:21:36.747544"], ["updated_at", "2018-10-15 22:21:36.747544"]]
694
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0b6dcbc3-5a74-4cd6-9c08-5b113b45a3c6) to Async(default) with arguments: #<GlobalID:0x007fd186261d08 @uri=#<URI::GID gid://dummy/Category/322908141>>
695
-  (0.1ms) RELEASE SAVEPOINT active_record_1
696
- Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
697
- [ActiveJob] [Thermos::RefillJob] [0b6dcbc3-5a74-4cd6-9c08-5b113b45a3c6] Performing Thermos::RefillJob (Job ID: 0b6dcbc3-5a74-4cd6-9c08-5b113b45a3c6) from Async(default) with arguments: #<GlobalID:0x007fd1862436f0 @uri=#<URI::GID gid://dummy/Category/322908141>>
698
- [ActiveJob] [Thermos::RefillJob] [0b6dcbc3-5a74-4cd6-9c08-5b113b45a3c6] Performed Thermos::RefillJob (Job ID: 0b6dcbc3-5a74-4cd6-9c08-5b113b45a3c6) from Async(default) in 0.05ms
699
-  (0.4ms) rollback transaction
700
-  (0.1ms) begin transaction
701
- ---------------------------------------------------------------------
702
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
703
- ---------------------------------------------------------------------
704
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
705
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
706
-  (0.1ms) SAVEPOINT active_record_1
707
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.759068"], ["id", 469160771]]
708
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 391927b0-744f-417b-afef-5550a5931142) to Async(default) with arguments: #<GlobalID:0x007fd1872ad220 @uri=#<URI::GID gid://dummy/Product/469160771>>
709
-  (0.1ms) RELEASE SAVEPOINT active_record_1
710
- Product Load (2.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
711
- [ActiveJob] [Thermos::RefillJob] [391927b0-744f-417b-afef-5550a5931142] Performing Thermos::RefillJob (Job ID: 391927b0-744f-417b-afef-5550a5931142) from Async(default) with arguments: #<GlobalID:0x007fd1861aa1d0 @uri=#<URI::GID gid://dummy/Product/469160771>>
712
-  (1.3ms) rollback transaction
713
- [ActiveJob] [Thermos::RefillJob] [391927b0-744f-417b-afef-5550a5931142] Performed Thermos::RefillJob (Job ID: 391927b0-744f-417b-afef-5550a5931142) from Async(default) in 0.08ms
714
-  (0.1ms) begin transaction
715
- --------------------------------------------------------------
716
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
717
- --------------------------------------------------------------
718
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
719
-  (0.1ms) SAVEPOINT active_record_1
720
- CategoryItem Create (0.4ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 22:21:36.772052"], ["updated_at", "2018-10-15 22:21:36.772052"]]
721
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 69a43849-4823-4ca1-bfdf-b0a5a9e45f06) to Async(default) with arguments: #<GlobalID:0x007fd1871e5658 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
722
-  (0.1ms) RELEASE SAVEPOINT active_record_1
723
- CategoryItem Load (0.7ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
724
-  (0.5ms) rollback transaction
725
- [ActiveJob] [Thermos::RefillJob] [69a43849-4823-4ca1-bfdf-b0a5a9e45f06] Performing Thermos::RefillJob (Job ID: 69a43849-4823-4ca1-bfdf-b0a5a9e45f06) from Async(default) with arguments: #<GlobalID:0x007fd18719f090 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
726
- [ActiveJob] [Thermos::RefillJob] [69a43849-4823-4ca1-bfdf-b0a5a9e45f06] Performed Thermos::RefillJob (Job ID: 69a43849-4823-4ca1-bfdf-b0a5a9e45f06) from Async(default) in 0.05ms
727
-  (0.1ms) begin transaction
728
- --------------------------------------------------------------------------
729
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
730
- --------------------------------------------------------------------------
731
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
732
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
733
-  (0.1ms) SAVEPOINT active_record_1
734
- Category Update (0.7ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.782817"], ["id", 322908140]]
735
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2cd6eed1-d734-454d-9e41-96e6a343088b) to Async(default) with arguments: #<GlobalID:0x007fd1870af9f0 @uri=#<URI::GID gid://dummy/Category/322908140>>
736
-  (0.1ms) RELEASE SAVEPOINT active_record_1
737
- Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
738
-  (0.4ms) rollback transaction
739
- [ActiveJob] [Thermos::RefillJob] [2cd6eed1-d734-454d-9e41-96e6a343088b] Performing Thermos::RefillJob (Job ID: 2cd6eed1-d734-454d-9e41-96e6a343088b) from Async(default) with arguments: #<GlobalID:0x007fd187031d98 @uri=#<URI::GID gid://dummy/Category/322908140>>
740
-  (0.3ms) begin transaction
741
- [ActiveJob] [Thermos::RefillJob] [2cd6eed1-d734-454d-9e41-96e6a343088b] Performed Thermos::RefillJob (Job ID: 2cd6eed1-d734-454d-9e41-96e6a343088b) from Async(default) in 0.26ms
742
- ---------------------------------------------------------
743
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
744
- ---------------------------------------------------------
745
-  (0.1ms) rollback transaction
746
-  (0.1ms) begin transaction
747
- ------------------------------------------------------
748
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
749
- ------------------------------------------------------
750
-  (0.2ms) rollback transaction
751
-  (0.1ms) begin transaction
752
- ---------------------------------------------------------------------------------------------------------------------------
753
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
754
- ---------------------------------------------------------------------------------------------------------------------------
755
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
756
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
757
-  (0.1ms) SAVEPOINT active_record_1
758
- Product Update (0.8ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.817237"], ["id", 469160771]]
759
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 00f977fa-5ca0-436c-9745-e688eebd6d5a) to Async(default) with arguments: #<GlobalID:0x007fd18a9b8ad0 @uri=#<URI::GID gid://dummy/Product/469160771>>
760
-  (0.1ms) RELEASE SAVEPOINT active_record_1
761
-  (0.4ms) rollback transaction
762
- Product Load (1.4ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
763
- [ActiveJob] [Thermos::RefillJob] [00f977fa-5ca0-436c-9745-e688eebd6d5a] Performing Thermos::RefillJob (Job ID: 00f977fa-5ca0-436c-9745-e688eebd6d5a) from Async(default) with arguments: #<GlobalID:0x007fd18a21afa8 @uri=#<URI::GID gid://dummy/Product/469160771>>
764
- [ActiveJob] [Thermos::RefillJob] [00f977fa-5ca0-436c-9745-e688eebd6d5a] Performed Thermos::RefillJob (Job ID: 00f977fa-5ca0-436c-9745-e688eebd6d5a) from Async(default) in 0.06ms
765
-  (0.1ms) begin transaction
766
- ----------------------------------------------------------------------------------
767
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
768
- ----------------------------------------------------------------------------------
769
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
770
-  (0.1ms) SAVEPOINT active_record_1
771
- Category Create (0.6ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 22:21:36.825886"], ["updated_at", "2018-10-15 22:21:36.825886"]]
772
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 267ea402-84d5-4080-b962-42bd41eed60b) to Async(default) with arguments: #<GlobalID:0x007fd18a9a98f0 @uri=#<URI::GID gid://dummy/Category/322908141>>
773
-  (0.1ms) RELEASE SAVEPOINT active_record_1
774
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
775
- [ActiveJob] [Thermos::RefillJob] [267ea402-84d5-4080-b962-42bd41eed60b] Performing Thermos::RefillJob (Job ID: 267ea402-84d5-4080-b962-42bd41eed60b) from Async(default) with arguments: #<GlobalID:0x007fd18a992f38 @uri=#<URI::GID gid://dummy/Category/322908141>>
776
- [ActiveJob] [Thermos::RefillJob] [267ea402-84d5-4080-b962-42bd41eed60b] Enqueued Thermos::RebuildCacheJob (Job ID: e769b4ea-8ed7-43e3-8061-6fff44c4430d) to Async(default) with arguments: "key", 322908141
777
- [ActiveJob] [Thermos::RefillJob] [267ea402-84d5-4080-b962-42bd41eed60b] Performed Thermos::RefillJob (Job ID: 267ea402-84d5-4080-b962-42bd41eed60b) from Async(default) in 0.94ms
778
- [ActiveJob] [Thermos::RebuildCacheJob] [e769b4ea-8ed7-43e3-8061-6fff44c4430d] Performing Thermos::RebuildCacheJob (Job ID: e769b4ea-8ed7-43e3-8061-6fff44c4430d) from Async(default) with arguments: "key", 322908141
779
-  (0.1ms) SAVEPOINT active_record_1
780
- [ActiveJob] [Thermos::RebuildCacheJob] [e769b4ea-8ed7-43e3-8061-6fff44c4430d] Error performing Thermos::RebuildCacheJob (Job ID: e769b4ea-8ed7-43e3-8061-6fff44c4430d) from Async(default) in 0.25ms: MockExpectationError (mocked method :call called with unexpected arguments [322908141]):
781
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:160:in `method_missing'
782
- /Users/athal/2u/thermos/test/thermos_test.rb:74:in `block (2 levels) in <class:ThermosTest>'
783
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
784
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
785
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
786
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
787
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
788
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
789
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
790
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
791
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
792
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
793
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
794
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
795
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
796
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
797
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
798
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
799
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
800
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
801
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
802
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
803
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
804
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
805
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
806
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
807
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
808
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
809
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
810
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
811
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
812
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
813
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
814
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
815
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
816
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
817
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
818
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
819
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
820
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
821
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
822
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
823
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
824
- Category Update (0.7ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.835514"], ["id", 322908140]]
825
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fc2f1465-cf95-42e0-a1f7-47fe5a3ef06a) to Async(default) with arguments: #<GlobalID:0x007fd18a96b2d0 @uri=#<URI::GID gid://dummy/Category/322908140>>
826
-  (0.1ms) RELEASE SAVEPOINT active_record_1
827
- Category Load (2.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
828
- [ActiveJob] [Thermos::RefillJob] [fc2f1465-cf95-42e0-a1f7-47fe5a3ef06a] Performing Thermos::RefillJob (Job ID: fc2f1465-cf95-42e0-a1f7-47fe5a3ef06a) from Async(default) with arguments: #<GlobalID:0x007fd18a95ade0 @uri=#<URI::GID gid://dummy/Category/322908140>>
829
- [ActiveJob] [Thermos::RefillJob] [fc2f1465-cf95-42e0-a1f7-47fe5a3ef06a] Performed Thermos::RefillJob (Job ID: fc2f1465-cf95-42e0-a1f7-47fe5a3ef06a) from Async(default) in 0.06ms
830
-  (0.8ms) rollback transaction
831
-  (0.2ms) begin transaction
832
- -------------------------------------------------------------------------------------------
833
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
834
- -------------------------------------------------------------------------------------------
835
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
836
-  (0.1ms) SAVEPOINT active_record_1
837
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:21:36.851815"], ["updated_at", "2018-10-15 22:21:36.851815"]]
838
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2ea06b07-88eb-4464-8095-ed9dc0af57d4) to Async(default) with arguments: #<GlobalID:0x007fd18a201c88 @uri=#<URI::GID gid://dummy/Product/469160772>>
839
-  (0.1ms) RELEASE SAVEPOINT active_record_1
840
- Product Load (2.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
841
- [ActiveJob] [Thermos::RefillJob] [2ea06b07-88eb-4464-8095-ed9dc0af57d4] Performing Thermos::RefillJob (Job ID: 2ea06b07-88eb-4464-8095-ed9dc0af57d4) from Async(default) with arguments: #<GlobalID:0x007fd18a1f2d28 @uri=#<URI::GID gid://dummy/Product/469160772>>
842
- [ActiveJob] [Thermos::RefillJob] [2ea06b07-88eb-4464-8095-ed9dc0af57d4]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
843
- [ActiveJob] [Thermos::RefillJob] [2ea06b07-88eb-4464-8095-ed9dc0af57d4] Performed Thermos::RefillJob (Job ID: 2ea06b07-88eb-4464-8095-ed9dc0af57d4) from Async(default) in 1.85ms
844
-  (0.1ms) SAVEPOINT active_record_1
845
- Product Update (0.2ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.860910"], ["id", 469160772]]
846
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 340b7268-6475-4f06-934b-e66ef1aec564) to Async(default) with arguments: #<GlobalID:0x007fd18a201c88 @uri=#<URI::GID gid://dummy/Product/469160772>>
847
-  (0.1ms) RELEASE SAVEPOINT active_record_1
848
- Product Load (0.9ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
849
- [ActiveJob] [Thermos::RefillJob] [340b7268-6475-4f06-934b-e66ef1aec564] Performing Thermos::RefillJob (Job ID: 340b7268-6475-4f06-934b-e66ef1aec564) from Async(default) with arguments: #<GlobalID:0x007fd18a1d0610 @uri=#<URI::GID gid://dummy/Product/469160772>>
850
-  (0.8ms) rollback transaction
851
- [ActiveJob] [Thermos::RefillJob] [340b7268-6475-4f06-934b-e66ef1aec564] Performed Thermos::RefillJob (Job ID: 340b7268-6475-4f06-934b-e66ef1aec564) from Async(default) in 0.07ms
852
-  (0.3ms) begin transaction
853
- ------------------------------------------------------------
854
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
855
- ------------------------------------------------------------
856
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
857
-  (0.1ms) SAVEPOINT active_record_1
858
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:21:36.871759"], ["id", 322908140]]
859
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 73a7b816-8449-42e2-a410-697fc2c224cd) to Async(default) with arguments: #<GlobalID:0x007fd18a1b8ba0 @uri=#<URI::GID gid://dummy/Category/322908140>>
860
-  (0.1ms) RELEASE SAVEPOINT active_record_1
861
- Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
862
-  (0.4ms) rollback transaction
863
- [ActiveJob] [Thermos::RefillJob] [73a7b816-8449-42e2-a410-697fc2c224cd] Performing Thermos::RefillJob (Job ID: 73a7b816-8449-42e2-a410-697fc2c224cd) from Async(default) with arguments: #<GlobalID:0x007fd18a1a1b80 @uri=#<URI::GID gid://dummy/Category/322908140>>
864
- [ActiveJob] [Thermos::RefillJob] [73a7b816-8449-42e2-a410-697fc2c224cd] Performed Thermos::RefillJob (Job ID: 73a7b816-8449-42e2-a410-697fc2c224cd) from Async(default) in 0.07ms
865
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
866
-  (0.1ms) PRAGMA foreign_keys
867
-  (0.1ms) PRAGMA foreign_keys = OFF
868
-  (0.1ms) begin transaction
869
- Fixture Delete (1.0ms) DELETE FROM "products"
870
- Fixture Delete (0.5ms) DELETE FROM "categories"
871
- Fixture Delete (0.5ms) DELETE FROM "category_items"
872
- Fixture Delete (0.2ms) DELETE FROM "stores"
873
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:24:30.114571', '2018-10-15 22:24:30.114571', 469160771)
874
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:24:30.116118', '2018-10-15 22:24:30.116118', 322908140, 868874525)
875
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:24:30.117118', '2018-10-15 22:24:30.117118', 678302810, 322908140, 469160771)
876
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:24:30.118265', '2018-10-15 22:24:30.118265', 868874525)
877
-  (3.1ms) commit transaction
878
-  (0.1ms) PRAGMA foreign_keys = 1
879
-  (0.0ms) begin transaction
880
- ---------------------------------------------------------------
881
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
882
- ---------------------------------------------------------------
883
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
884
- Store Load (0.2ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
885
-  (0.1ms) SAVEPOINT active_record_1
886
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.148905"], ["id", 868874525]]
887
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5157b2e5-948d-4666-bc18-8aef3d1ee15d) to Async(default) with arguments: #<GlobalID:0x007f8fb8d7c130 @uri=#<URI::GID gid://dummy/Store/868874525>>
888
-  (0.1ms) RELEASE SAVEPOINT active_record_1
889
-  (0.3ms) rollback transaction
890
- Store Load (0.3ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
891
- [ActiveJob] [Thermos::RefillJob] [5157b2e5-948d-4666-bc18-8aef3d1ee15d] Performing Thermos::RefillJob (Job ID: 5157b2e5-948d-4666-bc18-8aef3d1ee15d) from Async(default) with arguments: #<GlobalID:0x007f8fb8d2ff88 @uri=#<URI::GID gid://dummy/Store/868874525>>
892
-  (0.1ms) begin transaction
893
- ----------------------------------------------------------------------
894
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
895
- ----------------------------------------------------------------------
896
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
897
- [ActiveJob] [Thermos::RefillJob] [5157b2e5-948d-4666-bc18-8aef3d1ee15d] Performed Thermos::RefillJob (Job ID: 5157b2e5-948d-4666-bc18-8aef3d1ee15d) from Async(default) in 18.57ms
898
-  (0.1ms) SAVEPOINT active_record_1
899
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:24:30.194455"], ["updated_at", "2018-10-15 22:24:30.194455"]]
900
- CategoryItem Create (0.2ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 22:24:30.195750"], ["updated_at", "2018-10-15 22:24:30.195750"]]
901
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e0aca936-58fe-4e6d-a0e8-c3f9138d905c) to Async(default) with arguments: #<GlobalID:0x007f8fb8378990 @uri=#<URI::GID gid://dummy/Product/469160772>>
902
-  (0.1ms) RELEASE SAVEPOINT active_record_1
903
- Product Load (0.6ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
904
-  (0.6ms) rollback transaction
905
- [ActiveJob] [Thermos::RefillJob] [e0aca936-58fe-4e6d-a0e8-c3f9138d905c] Performing Thermos::RefillJob (Job ID: e0aca936-58fe-4e6d-a0e8-c3f9138d905c) from Async(default) with arguments: #<GlobalID:0x007f8fb88f2448 @uri=#<URI::GID gid://dummy/Product/469160772>>
906
-  (0.1ms) begin transaction
907
- [ActiveJob] [Thermos::RefillJob] [e0aca936-58fe-4e6d-a0e8-c3f9138d905c] Performed Thermos::RefillJob (Job ID: e0aca936-58fe-4e6d-a0e8-c3f9138d905c) from Async(default) in 0.05ms
908
- ----------------------------------------------------------------------------------
909
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
910
- ----------------------------------------------------------------------------------
911
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
912
-  (0.1ms) SAVEPOINT active_record_1
913
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 22:24:30.203143"], ["updated_at", "2018-10-15 22:24:30.203143"]]
914
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e618c809-90ae-4ecc-bc1a-f938f95d6519) to Async(default) with arguments: #<GlobalID:0x007f8fb8339740 @uri=#<URI::GID gid://dummy/Category/322908141>>
915
-  (0.1ms) RELEASE SAVEPOINT active_record_1
916
- Category Load (2.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
917
- [ActiveJob] [Thermos::RefillJob] [e618c809-90ae-4ecc-bc1a-f938f95d6519] Performing Thermos::RefillJob (Job ID: e618c809-90ae-4ecc-bc1a-f938f95d6519) from Async(default) with arguments: #<GlobalID:0x007f8fb8b72420 @uri=#<URI::GID gid://dummy/Category/322908141>>
918
- [ActiveJob] [Thermos::RefillJob] [e618c809-90ae-4ecc-bc1a-f938f95d6519] Enqueued Thermos::RebuildCacheJob (Job ID: 35f65f00-a35e-416d-8d77-2e54748d69c9) to Async(default) with arguments: "key", 322908141
919
- [ActiveJob] [Thermos::RebuildCacheJob] [35f65f00-a35e-416d-8d77-2e54748d69c9] Performing Thermos::RebuildCacheJob (Job ID: 35f65f00-a35e-416d-8d77-2e54748d69c9) from Async(default) with arguments: "key", 322908141
920
- [ActiveJob] [Thermos::RefillJob] [e618c809-90ae-4ecc-bc1a-f938f95d6519] Performed Thermos::RefillJob (Job ID: e618c809-90ae-4ecc-bc1a-f938f95d6519) from Async(default) in 1.55ms
921
- [ActiveJob] [Thermos::RebuildCacheJob] [35f65f00-a35e-416d-8d77-2e54748d69c9] Error performing Thermos::RebuildCacheJob (Job ID: 35f65f00-a35e-416d-8d77-2e54748d69c9) from Async(default) in 0.2ms: MockExpectationError (No more expects available for :call: [322908141]):
922
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:132:in `method_missing'
923
- /Users/athal/2u/thermos/test/thermos_test.rb:74:in `block (2 levels) in <class:ThermosTest>'
924
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
925
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
926
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
927
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
928
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
929
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
930
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
931
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
932
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
933
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
934
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
935
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
936
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
937
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
938
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
939
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
940
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
941
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
942
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
943
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
944
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
945
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
946
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
947
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
948
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
949
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
950
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
951
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
952
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
953
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
954
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
955
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
956
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
957
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
958
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
959
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
960
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
961
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
962
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
963
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
964
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
965
-  (0.1ms) SAVEPOINT active_record_1
966
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.213594"], ["id", 322908140]]
967
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 27610046-62cb-4748-bb49-456e2180fa5d) to Async(default) with arguments: #<GlobalID:0x007f8fb8332ee0 @uri=#<URI::GID gid://dummy/Category/322908140>>
968
-  (0.1ms) RELEASE SAVEPOINT active_record_1
969
-  (0.3ms) rollback transaction
970
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
971
-  (0.0ms) begin transaction
972
- [ActiveJob] [Thermos::RefillJob] [27610046-62cb-4748-bb49-456e2180fa5d] Performing Thermos::RefillJob (Job ID: 27610046-62cb-4748-bb49-456e2180fa5d) from Async(default) with arguments: #<GlobalID:0x007f8fb8b10590 @uri=#<URI::GID gid://dummy/Category/322908140>>
973
- ---------------------------------------------------------------------------------------------------------------------------
974
- [ActiveJob] [Thermos::RefillJob] [27610046-62cb-4748-bb49-456e2180fa5d] Performed Thermos::RefillJob (Job ID: 27610046-62cb-4748-bb49-456e2180fa5d) from Async(default) in 0.04ms
975
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
976
- ---------------------------------------------------------------------------------------------------------------------------
977
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
978
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
979
-  (0.0ms) SAVEPOINT active_record_1
980
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.225333"], ["id", 469160771]]
981
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c76b63d2-e68c-4027-9366-ce99a3f8f651) to Async(default) with arguments: #<GlobalID:0x007f8fb8321a50 @uri=#<URI::GID gid://dummy/Product/469160771>>
982
-  (0.1ms) RELEASE SAVEPOINT active_record_1
983
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
984
- [ActiveJob] [Thermos::RefillJob] [c76b63d2-e68c-4027-9366-ce99a3f8f651] Performing Thermos::RefillJob (Job ID: c76b63d2-e68c-4027-9366-ce99a3f8f651) from Async(default) with arguments: #<GlobalID:0x007f8fb8309c48 @uri=#<URI::GID gid://dummy/Product/469160771>>
985
-  (0.4ms) rollback transaction
986
- [ActiveJob] [Thermos::RefillJob] [c76b63d2-e68c-4027-9366-ce99a3f8f651] Performed Thermos::RefillJob (Job ID: c76b63d2-e68c-4027-9366-ce99a3f8f651) from Async(default) in 0.05ms
987
-  (0.1ms) begin transaction
988
- ----------------------------------------------------------------
989
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
990
- ----------------------------------------------------------------
991
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
992
-  (0.1ms) SAVEPOINT active_record_1
993
- Store Create (0.5ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:24:30.233655"], ["updated_at", "2018-10-15 22:24:30.233655"]]
994
- Category Update (0.7ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 22:24:30.235037"], ["id", 322908140]]
995
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a55911eb-7a81-4b95-b629-ae1f75c91fc4) to Async(default) with arguments: #<GlobalID:0x007f8fb82f19e0 @uri=#<URI::GID gid://dummy/Category/322908140>>
996
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ba193903-b4a9-4167-9200-591f8b0865f9) to Async(default) with arguments: #<GlobalID:0x007f8fb82dae70 @uri=#<URI::GID gid://dummy/Store/868874526>>
997
-  (0.1ms) RELEASE SAVEPOINT active_record_1
998
- Category Load (2.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
999
- Store Load (1.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1000
- [ActiveJob] [Thermos::RefillJob] [a55911eb-7a81-4b95-b629-ae1f75c91fc4] Performing Thermos::RefillJob (Job ID: a55911eb-7a81-4b95-b629-ae1f75c91fc4) from Async(default) with arguments: #<GlobalID:0x007f8fb8aa0600 @uri=#<URI::GID gid://dummy/Category/322908140>>
1001
-  (0.7ms) rollback transaction
1002
- [ActiveJob] [Thermos::RefillJob] [ba193903-b4a9-4167-9200-591f8b0865f9] Performing Thermos::RefillJob (Job ID: ba193903-b4a9-4167-9200-591f8b0865f9) from Async(default) with arguments: #<GlobalID:0x007f8fb8a91240 @uri=#<URI::GID gid://dummy/Store/868874526>>
1003
- [ActiveJob] [Thermos::RefillJob] [a55911eb-7a81-4b95-b629-ae1f75c91fc4] Performed Thermos::RefillJob (Job ID: a55911eb-7a81-4b95-b629-ae1f75c91fc4) from Async(default) in 0.1ms
1004
- [ActiveJob] [Thermos::RefillJob] [ba193903-b4a9-4167-9200-591f8b0865f9] Performed Thermos::RefillJob (Job ID: ba193903-b4a9-4167-9200-591f8b0865f9) from Async(default) in 0.05ms
1005
-  (0.1ms) begin transaction
1006
- -------------------------------------------------------------------------------------
1007
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
1008
- -------------------------------------------------------------------------------------
1009
- Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1010
-  (0.3ms) SAVEPOINT active_record_1
1011
- Store Create (0.6ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:24:30.251019"], ["updated_at", "2018-10-15 22:24:30.251019"]]
1012
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fe45e89f-e43a-4435-8484-798ae457a617) to Async(default) with arguments: #<GlobalID:0x007f8fb8a48018 @uri=#<URI::GID gid://dummy/Store/868874526>>
1013
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1014
- Store Load (1.4ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1015
- [ActiveJob] [Thermos::RefillJob] [fe45e89f-e43a-4435-8484-798ae457a617] Performing Thermos::RefillJob (Job ID: fe45e89f-e43a-4435-8484-798ae457a617) from Async(default) with arguments: #<GlobalID:0x007f8fb82a10d0 @uri=#<URI::GID gid://dummy/Store/868874526>>
1016
-  (0.1ms) SAVEPOINT active_record_1
1017
- Store Update (0.3ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.264238"], ["id", 868874526]]
1018
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 4a9dde00-e58f-4387-ae78-75c1e30d126e) to Async(default) with arguments: #<GlobalID:0x007f8fb8a48018 @uri=#<URI::GID gid://dummy/Store/868874526>>
1019
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1020
- Store Load (1.9ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1021
- [ActiveJob] [Thermos::RefillJob] [4a9dde00-e58f-4387-ae78-75c1e30d126e] Performing Thermos::RefillJob (Job ID: 4a9dde00-e58f-4387-ae78-75c1e30d126e) from Async(default) with arguments: #<GlobalID:0x007f8fb89b8ad0 @uri=#<URI::GID gid://dummy/Store/868874526>>
1022
-  (0.5ms) rollback transaction
1023
- [ActiveJob] [Thermos::RefillJob] [4a9dde00-e58f-4387-ae78-75c1e30d126e] Performed Thermos::RefillJob (Job ID: 4a9dde00-e58f-4387-ae78-75c1e30d126e) from Async(default) in 0.09ms
1024
-  (0.1ms) begin transaction
1025
- -------------------------------------------------------------------------------------------
1026
- [ActiveJob] [Thermos::RefillJob] [fe45e89f-e43a-4435-8484-798ae457a617]  (1.6ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
1027
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
1028
- [ActiveJob] [Thermos::RefillJob] [fe45e89f-e43a-4435-8484-798ae457a617] Performed Thermos::RefillJob (Job ID: fe45e89f-e43a-4435-8484-798ae457a617) from Async(default) in 22.86ms
1029
- -------------------------------------------------------------------------------------------
1030
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1031
-  (0.1ms) SAVEPOINT active_record_1
1032
- Product Create (0.5ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:24:30.283526"], ["updated_at", "2018-10-15 22:24:30.283526"]]
1033
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 3563f845-8bfb-49b2-b7ac-7ba66e161139) to Async(default) with arguments: #<GlobalID:0x007f8fb8178ca8 @uri=#<URI::GID gid://dummy/Product/469160772>>
1034
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1035
- Product Load (1.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
1036
- [ActiveJob] [Thermos::RefillJob] [3563f845-8bfb-49b2-b7ac-7ba66e161139] Performing Thermos::RefillJob (Job ID: 3563f845-8bfb-49b2-b7ac-7ba66e161139) from Async(default) with arguments: #<GlobalID:0x007f8fb897a848 @uri=#<URI::GID gid://dummy/Product/469160772>>
1037
- [ActiveJob] [Thermos::RefillJob] [3563f845-8bfb-49b2-b7ac-7ba66e161139]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
1038
- [ActiveJob] [Thermos::RefillJob] [3563f845-8bfb-49b2-b7ac-7ba66e161139] Performed Thermos::RefillJob (Job ID: 3563f845-8bfb-49b2-b7ac-7ba66e161139) from Async(default) in 1.33ms
1039
-  (0.1ms) SAVEPOINT active_record_1
1040
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.290484"], ["id", 469160772]]
1041
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ec26a8e2-b15c-4f35-a5ca-188b1b2221c9) to Async(default) with arguments: #<GlobalID:0x007f8fb8178ca8 @uri=#<URI::GID gid://dummy/Product/469160772>>
1042
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1043
- Product Load (0.5ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
1044
- [ActiveJob] [Thermos::RefillJob] [ec26a8e2-b15c-4f35-a5ca-188b1b2221c9] Performing Thermos::RefillJob (Job ID: ec26a8e2-b15c-4f35-a5ca-188b1b2221c9) from Async(default) with arguments: #<GlobalID:0x007f8fb88dba90 @uri=#<URI::GID gid://dummy/Product/469160772>>
1045
-  (0.6ms) rollback transaction
1046
- [ActiveJob] [Thermos::RefillJob] [ec26a8e2-b15c-4f35-a5ca-188b1b2221c9] Performed Thermos::RefillJob (Job ID: ec26a8e2-b15c-4f35-a5ca-188b1b2221c9) from Async(default) in 0.06ms
1047
-  (0.1ms) begin transaction
1048
- --------------------------------------------------------------
1049
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
1050
- --------------------------------------------------------------
1051
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1052
-  (0.1ms) SAVEPOINT active_record_1
1053
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 22:24:30.297784"], ["updated_at", "2018-10-15 22:24:30.297784"]]
1054
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 104a2e92-3f45-40ef-abcc-fe7dce95ddae) to Async(default) with arguments: #<GlobalID:0x007f8fb9102728 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1055
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1056
- CategoryItem Load (0.7ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
1057
-  (0.4ms) rollback transaction
1058
- [ActiveJob] [Thermos::RefillJob] [104a2e92-3f45-40ef-abcc-fe7dce95ddae] Performing Thermos::RefillJob (Job ID: 104a2e92-3f45-40ef-abcc-fe7dce95ddae) from Async(default) with arguments: #<GlobalID:0x007f8fb80daf58 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1059
-  (0.1ms) begin transaction
1060
- [ActiveJob] [Thermos::RefillJob] [104a2e92-3f45-40ef-abcc-fe7dce95ddae] Performed Thermos::RefillJob (Job ID: 104a2e92-3f45-40ef-abcc-fe7dce95ddae) from Async(default) in 0.06ms
1061
- -------------------------------------------------------------
1062
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
1063
- -------------------------------------------------------------
1064
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1065
- CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
1066
-  (0.1ms) SAVEPOINT active_record_1
1067
- CategoryItem Update (0.4ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.310411"], ["id", 678302810]]
1068
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 8ac08825-3c45-419e-95f8-9c2cb683e6be) to Async(default) with arguments: #<GlobalID:0x007f8fb884a900 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
1069
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1070
- CategoryItem Load (1.9ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
1071
-  (1.2ms) rollback transaction
1072
- [ActiveJob] [Thermos::RefillJob] [8ac08825-3c45-419e-95f8-9c2cb683e6be] Performing Thermos::RefillJob (Job ID: 8ac08825-3c45-419e-95f8-9c2cb683e6be) from Async(default) with arguments: #<GlobalID:0x007f8fb901f400 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
1073
- [ActiveJob] [Thermos::RefillJob] [8ac08825-3c45-419e-95f8-9c2cb683e6be] Performed Thermos::RefillJob (Job ID: 8ac08825-3c45-419e-95f8-9c2cb683e6be) from Async(default) in 0.08ms
1074
-  (0.2ms) begin transaction
1075
- ---------------------------------------------------------
1076
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1077
- ---------------------------------------------------------
1078
-  (0.1ms) rollback transaction
1079
-  (0.1ms) begin transaction
1080
- -----------------------------------------------------------------------------------
1081
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
1082
- -----------------------------------------------------------------------------------
1083
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1084
-  (0.1ms) SAVEPOINT active_record_1
1085
- CategoryItem Create (0.4ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:24:30.326251"], ["updated_at", "2018-10-15 22:24:30.326251"]]
1086
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f48cc9c2-b7c3-4b9d-84ef-11c431cade72) to Async(default) with arguments: #<GlobalID:0x007f8fbba20b50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1087
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1088
- CategoryItem Load (3.4ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
1089
- [ActiveJob] [Thermos::RefillJob] [f48cc9c2-b7c3-4b9d-84ef-11c431cade72] Performing Thermos::RefillJob (Job ID: f48cc9c2-b7c3-4b9d-84ef-11c431cade72) from Async(default) with arguments: #<GlobalID:0x007f8fbc09a558 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1090
- [ActiveJob] [Thermos::RefillJob] [f48cc9c2-b7c3-4b9d-84ef-11c431cade72]  (0.4ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
1091
- [ActiveJob] [Thermos::RefillJob] [f48cc9c2-b7c3-4b9d-84ef-11c431cade72] Performed Thermos::RefillJob (Job ID: f48cc9c2-b7c3-4b9d-84ef-11c431cade72) from Async(default) in 2.2ms
1092
-  (0.1ms) SAVEPOINT active_record_1
1093
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.345144"], ["id", 678302811]]
1094
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e755e895-a6f8-4053-a1f2-6046413981f4) to Async(default) with arguments: #<GlobalID:0x007f8fbba20b50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1095
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
- CategoryItem Load (0.5ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
1097
-  (0.4ms) rollback transaction
1098
- [ActiveJob] [Thermos::RefillJob] [e755e895-a6f8-4053-a1f2-6046413981f4] Performing Thermos::RefillJob (Job ID: e755e895-a6f8-4053-a1f2-6046413981f4) from Async(default) with arguments: #<GlobalID:0x007f8fbc06a5b0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1099
-  (0.1ms) begin transaction
1100
- [ActiveJob] [Thermos::RefillJob] [e755e895-a6f8-4053-a1f2-6046413981f4] Performed Thermos::RefillJob (Job ID: e755e895-a6f8-4053-a1f2-6046413981f4) from Async(default) in 0.04ms
1101
- ---------------------------------------------------------------------
1102
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
1103
- ---------------------------------------------------------------------
1104
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1105
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1106
-  (0.1ms) SAVEPOINT active_record_1
1107
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.354810"], ["id", 469160771]]
1108
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2d2cafbe-ccc6-42ba-856e-418a514955e4) to Async(default) with arguments: #<GlobalID:0x007f8fbba3b8b0 @uri=#<URI::GID gid://dummy/Product/469160771>>
1109
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1110
- Product Load (1.7ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1111
- [ActiveJob] [Thermos::RefillJob] [2d2cafbe-ccc6-42ba-856e-418a514955e4] Performing Thermos::RefillJob (Job ID: 2d2cafbe-ccc6-42ba-856e-418a514955e4) from Async(default) with arguments: #<GlobalID:0x007f8fbba2bb68 @uri=#<URI::GID gid://dummy/Product/469160771>>
1112
- [ActiveJob] [Thermos::RefillJob] [2d2cafbe-ccc6-42ba-856e-418a514955e4] Performed Thermos::RefillJob (Job ID: 2d2cafbe-ccc6-42ba-856e-418a514955e4) from Async(default) in 0.07ms
1113
-  (0.5ms) rollback transaction
1114
-  (0.1ms) begin transaction
1115
- ------------------------------------------------------
1116
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1117
- ------------------------------------------------------
1118
-  (0.1ms) rollback transaction
1119
-  (0.1ms) begin transaction
1120
- --------------------------------------------------------------------------
1121
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
1122
- --------------------------------------------------------------------------
1123
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1124
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1125
-  (0.1ms) SAVEPOINT active_record_1
1126
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.371319"], ["id", 322908140]]
1127
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: dbf2a9b9-dfcd-408e-a6ff-5c400838d957) to Async(default) with arguments: #<GlobalID:0x007f8fbc051ba0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1128
-  (0.5ms) RELEASE SAVEPOINT active_record_1
1129
- Category Load (2.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1130
- [ActiveJob] [Thermos::RefillJob] [dbf2a9b9-dfcd-408e-a6ff-5c400838d957] Performing Thermos::RefillJob (Job ID: dbf2a9b9-dfcd-408e-a6ff-5c400838d957) from Async(default) with arguments: #<GlobalID:0x007f8fbc04b3b8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1131
-  (0.3ms) rollback transaction
1132
- [ActiveJob] [Thermos::RefillJob] [dbf2a9b9-dfcd-408e-a6ff-5c400838d957] Performed Thermos::RefillJob (Job ID: dbf2a9b9-dfcd-408e-a6ff-5c400838d957) from Async(default) in 0.05ms
1133
-  (0.1ms) begin transaction
1134
- ------------------------------------------------------------
1135
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1136
- ------------------------------------------------------------
1137
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1138
-  (0.1ms) SAVEPOINT active_record_1
1139
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:30.384748"], ["id", 322908140]]
1140
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e56288a5-1238-4fc1-991b-fe5efdb9c179) to Async(default) with arguments: #<GlobalID:0x007f8fbc023200 @uri=#<URI::GID gid://dummy/Category/322908140>>
1141
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1142
- Category Load (1.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1143
-  (0.3ms) rollback transaction
1144
- [ActiveJob] [Thermos::RefillJob] [e56288a5-1238-4fc1-991b-fe5efdb9c179] Performing Thermos::RefillJob (Job ID: e56288a5-1238-4fc1-991b-fe5efdb9c179) from Async(default) with arguments: #<GlobalID:0x007f8fbc010498 @uri=#<URI::GID gid://dummy/Category/322908140>>
1145
-  (0.1ms) begin transaction
1146
- [ActiveJob] [Thermos::RefillJob] [e56288a5-1238-4fc1-991b-fe5efdb9c179] Performed Thermos::RefillJob (Job ID: e56288a5-1238-4fc1-991b-fe5efdb9c179) from Async(default) in 0.06ms
1147
- ----------------------------------------------------------------
1148
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
1149
- ----------------------------------------------------------------
1150
-  (0.1ms) SAVEPOINT active_record_1
1151
- Category Create (0.7ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:24:30.392656"], ["updated_at", "2018-10-15 22:24:30.392656"]]
1152
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b680acf2-e606-43b9-aa31-70fdcffe0df8) to Async(default) with arguments: #<GlobalID:0x007f8fbc0089a0 @uri=#<URI::GID gid://dummy/Category/322908141>>
1153
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1154
- Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
1155
-  (0.3ms) rollback transaction
1156
- [ActiveJob] [Thermos::RefillJob] [b680acf2-e606-43b9-aa31-70fdcffe0df8] Performing Thermos::RefillJob (Job ID: b680acf2-e606-43b9-aa31-70fdcffe0df8) from Async(default) with arguments: #<GlobalID:0x007f8fb7b2bd50 @uri=#<URI::GID gid://dummy/Category/322908141>>
1157
- [ActiveJob] [Thermos::RefillJob] [b680acf2-e606-43b9-aa31-70fdcffe0df8] Performed Thermos::RefillJob (Job ID: b680acf2-e606-43b9-aa31-70fdcffe0df8) from Async(default) in 0.06ms
1158
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1159
-  (0.0ms) PRAGMA foreign_keys
1160
-  (0.0ms) PRAGMA foreign_keys = OFF
1161
-  (0.0ms) begin transaction
1162
- Fixture Delete (0.4ms) DELETE FROM "products"
1163
- Fixture Delete (0.1ms) DELETE FROM "categories"
1164
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1165
- Fixture Delete (0.1ms) DELETE FROM "stores"
1166
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:24:38.362751', '2018-10-15 22:24:38.362751', 469160771)
1167
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:24:38.365852', '2018-10-15 22:24:38.365852', 322908140, 868874525)
1168
- Fixture Insert (0.0ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:24:38.366903', '2018-10-15 22:24:38.366903', 678302810, 322908140, 469160771)
1169
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:24:38.368106', '2018-10-15 22:24:38.368106', 868874525)
1170
-  (2.7ms) commit transaction
1171
-  (0.1ms) PRAGMA foreign_keys = 1
1172
-  (0.0ms) begin transaction
1173
- ---------------------------------------------------------
1174
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1175
- ---------------------------------------------------------
1176
-  (0.1ms) rollback transaction
1177
-  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1178
-  (0.0ms) PRAGMA foreign_keys
1179
-  (0.0ms) PRAGMA foreign_keys = OFF
1180
-  (0.0ms) begin transaction
1181
- Fixture Delete (0.4ms) DELETE FROM "products"
1182
- Fixture Delete (0.1ms) DELETE FROM "categories"
1183
- Fixture Delete (0.2ms) DELETE FROM "category_items"
1184
- Fixture Delete (0.1ms) DELETE FROM "stores"
1185
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:24:46.805936', '2018-10-15 22:24:46.805936', 469160771)
1186
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:24:46.807368', '2018-10-15 22:24:46.807368', 322908140, 868874525)
1187
- Fixture Insert (0.0ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:24:46.808324', '2018-10-15 22:24:46.808324', 678302810, 322908140, 469160771)
1188
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:24:46.809401', '2018-10-15 22:24:46.809401', 868874525)
1189
-  (2.8ms) commit transaction
1190
-  (0.1ms) PRAGMA foreign_keys = 1
1191
-  (0.1ms) begin transaction
1192
- ---------------------------------------------------------
1193
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1194
- ---------------------------------------------------------
1195
-  (0.0ms) rollback transaction
1196
-  (0.0ms) begin transaction
1197
- ------------------------------------------------------
1198
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1199
- ------------------------------------------------------
1200
-  (0.1ms) rollback transaction
1201
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1202
-  (0.0ms) PRAGMA foreign_keys
1203
-  (0.0ms) PRAGMA foreign_keys = OFF
1204
-  (0.0ms) begin transaction
1205
- Fixture Delete (0.5ms) DELETE FROM "products"
1206
- Fixture Delete (0.1ms) DELETE FROM "categories"
1207
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1208
- Fixture Delete (0.1ms) DELETE FROM "stores"
1209
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:24:56.847730', '2018-10-15 22:24:56.847730', 469160771)
1210
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:24:56.849282', '2018-10-15 22:24:56.849282', 322908140, 868874525)
1211
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:24:56.850268', '2018-10-15 22:24:56.850268', 678302810, 322908140, 469160771)
1212
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:24:56.851432', '2018-10-15 22:24:56.851432', 868874525)
1213
-  (2.9ms) commit transaction
1214
-  (0.1ms) PRAGMA foreign_keys = 1
1215
-  (0.0ms) begin transaction
1216
- ------------------------------------------------------------
1217
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1218
- ------------------------------------------------------------
1219
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1220
-  (0.1ms) SAVEPOINT active_record_1
1221
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:24:56.873550"], ["id", 322908140]]
1222
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b6365424-57c3-491e-b30c-00e063ea74ae) to Async(default) with arguments: #<GlobalID:0x007fdad0e75c18 @uri=#<URI::GID gid://dummy/Category/322908140>>
1223
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1224
-  (0.2ms) rollback transaction
1225
- Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1226
- [ActiveJob] [Thermos::RefillJob] [b6365424-57c3-491e-b30c-00e063ea74ae] Performing Thermos::RefillJob (Job ID: b6365424-57c3-491e-b30c-00e063ea74ae) from Async(default) with arguments: #<GlobalID:0x007fdad0e4f978 @uri=#<URI::GID gid://dummy/Category/322908140>>
1227
-  (0.1ms) begin transaction
1228
- ---------------------------------------------------------
1229
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1230
- ---------------------------------------------------------
1231
- [ActiveJob] [Thermos::RefillJob] [b6365424-57c3-491e-b30c-00e063ea74ae] Enqueued Thermos::RebuildCacheJob (Job ID: dc871efe-c453-4465-b9a3-387b5eaa0bbf) to Async(default) with arguments: "key", 322908140
1232
- [ActiveJob] [Thermos::RebuildCacheJob] [dc871efe-c453-4465-b9a3-387b5eaa0bbf] Performing Thermos::RebuildCacheJob (Job ID: dc871efe-c453-4465-b9a3-387b5eaa0bbf) from Async(default) with arguments: "key", 322908140
1233
- [ActiveJob] [Thermos::RefillJob] [b6365424-57c3-491e-b30c-00e063ea74ae] Performed Thermos::RefillJob (Job ID: b6365424-57c3-491e-b30c-00e063ea74ae) from Async(default) in 5.79ms
1234
- [ActiveJob] [Thermos::RebuildCacheJob] [dc871efe-c453-4465-b9a3-387b5eaa0bbf] Error performing Thermos::RebuildCacheJob (Job ID: dc871efe-c453-4465-b9a3-387b5eaa0bbf) from Async(default) in 0.14ms: MockExpectationError (No more expects available for :call: [322908140]):
1235
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:132:in `method_missing'
1236
- /Users/athal/2u/thermos/test/thermos_test.rb:16:in `block (2 levels) in <class:ThermosTest>'
1237
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
1238
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
1239
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1240
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
1241
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
1242
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1243
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1244
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
1245
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
1246
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
1247
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
1248
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
1249
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
1250
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
1251
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
1252
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
1253
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
1254
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
1255
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1256
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1257
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1258
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
1259
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
1260
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1261
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
1262
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1263
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
1264
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1265
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
1266
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
1267
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1268
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1269
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1270
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
1271
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
1272
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
1273
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
1274
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
1275
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
1276
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
1277
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
1278
-  (0.1ms) rollback transaction
1279
-  (0.1ms) begin transaction
1280
- ------------------------------------------------------
1281
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1282
- ------------------------------------------------------
1283
-  (0.1ms) rollback transaction
1284
-  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1285
-  (0.0ms) PRAGMA foreign_keys
1286
-  (0.0ms) PRAGMA foreign_keys = OFF
1287
-  (0.0ms) begin transaction
1288
- Fixture Delete (0.4ms) DELETE FROM "products"
1289
- Fixture Delete (0.1ms) DELETE FROM "categories"
1290
- Fixture Delete (0.4ms) DELETE FROM "category_items"
1291
- Fixture Delete (0.3ms) DELETE FROM "stores"
1292
- Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:28:43.737266', '2018-10-15 22:28:43.737266', 469160771)
1293
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:28:43.740021', '2018-10-15 22:28:43.740021', 322908140, 868874525)
1294
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:28:43.742533', '2018-10-15 22:28:43.742533', 678302810, 322908140, 469160771)
1295
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:28:43.743995', '2018-10-15 22:28:43.743995', 868874525)
1296
-  (2.8ms) commit transaction
1297
-  (0.1ms) PRAGMA foreign_keys = 1
1298
-  (0.0ms) begin transaction
1299
- ---------------------------------------------------------
1300
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1301
- ---------------------------------------------------------
1302
-  (0.1ms) rollback transaction
1303
-  (0.0ms) begin transaction
1304
- ------------------------------------------------------------
1305
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1306
- ------------------------------------------------------------
1307
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1308
-  (0.1ms) SAVEPOINT active_record_1
1309
- Category Update (0.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:28:43.771377"], ["id", 322908140]]
1310
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: aaf5b270-ebcf-4943-b173-e314ebf89999) to Async(default) with arguments: #<GlobalID:0x007fe62b68ac68 @uri=#<URI::GID gid://dummy/Category/322908140>>
1311
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1312
-  (2.4ms) rollback transaction
1313
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1314
- [ActiveJob] [Thermos::RefillJob] [aaf5b270-ebcf-4943-b173-e314ebf89999] Performing Thermos::RefillJob (Job ID: aaf5b270-ebcf-4943-b173-e314ebf89999) from Async(default) with arguments: #<GlobalID:0x007fe62ba9ffb0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1315
-  (0.1ms) begin transaction
1316
- ------------------------------------------------------
1317
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1318
- ------------------------------------------------------
1319
- [ActiveJob] [Thermos::RefillJob] [aaf5b270-ebcf-4943-b173-e314ebf89999] Enqueued Thermos::RebuildCacheJob (Job ID: 8e7cdd3c-9e02-4004-9184-571f4d02b0bf) to Async(default) with arguments: "key", 322908140
1320
- [ActiveJob] [Thermos::RefillJob] [aaf5b270-ebcf-4943-b173-e314ebf89999] Performed Thermos::RefillJob (Job ID: aaf5b270-ebcf-4943-b173-e314ebf89999) from Async(default) in 6.58ms
1321
- [ActiveJob] [Thermos::RebuildCacheJob] [8e7cdd3c-9e02-4004-9184-571f4d02b0bf] Performing Thermos::RebuildCacheJob (Job ID: 8e7cdd3c-9e02-4004-9184-571f4d02b0bf) from Async(default) with arguments: "key", 322908140
1322
- [ActiveJob] [Thermos::RebuildCacheJob] [8e7cdd3c-9e02-4004-9184-571f4d02b0bf] Error performing Thermos::RebuildCacheJob (Job ID: 8e7cdd3c-9e02-4004-9184-571f4d02b0bf) from Async(default) in 0.23ms: MockExpectationError (No more expects available for :call: [322908140]):
1323
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:132:in `method_missing'
1324
- /Users/athal/2u/thermos/test/thermos_test.rb:40:in `block (2 levels) in <class:ThermosTest>'
1325
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
1326
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
1327
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1328
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
1329
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
1330
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1331
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1332
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
1333
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
1334
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
1335
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
1336
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
1337
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
1338
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
1339
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
1340
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
1341
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
1342
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
1343
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1344
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1345
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1346
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
1347
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
1348
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1349
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
1350
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1351
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
1352
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1353
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
1354
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
1355
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1356
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1357
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1358
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
1359
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
1360
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
1361
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
1362
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
1363
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
1364
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
1365
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
1366
-  (0.1ms) rollback transaction
1367
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1368
-  (0.0ms) PRAGMA foreign_keys
1369
-  (0.1ms) PRAGMA foreign_keys = OFF
1370
-  (0.0ms) begin transaction
1371
- Fixture Delete (0.5ms) DELETE FROM "products"
1372
- Fixture Delete (0.2ms) DELETE FROM "categories"
1373
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1374
- Fixture Delete (0.1ms) DELETE FROM "stores"
1375
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:28:57.554998', '2018-10-15 22:28:57.554998', 469160771)
1376
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:28:57.557915', '2018-10-15 22:28:57.557915', 322908140, 868874525)
1377
- Fixture Insert (0.0ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:28:57.559076', '2018-10-15 22:28:57.559076', 678302810, 322908140, 469160771)
1378
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:28:57.560913', '2018-10-15 22:28:57.560913', 868874525)
1379
-  (2.6ms) commit transaction
1380
-  (0.1ms) PRAGMA foreign_keys = 1
1381
-  (0.0ms) begin transaction
1382
- ---------------------------------------------------------
1383
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1384
- ---------------------------------------------------------
1385
-  (0.1ms) rollback transaction
1386
-  (0.1ms) begin transaction
1387
- ------------------------------------------------------------
1388
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1389
- ------------------------------------------------------------
1390
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1391
-  (0.1ms) SAVEPOINT active_record_1
1392
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:28:57.583222"], ["id", 322908140]]
1393
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a7e648d8-8f0a-4761-86f8-35adee4c1936) to Async(default) with arguments: #<GlobalID:0x007f840bdad3b0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1394
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1395
-  (0.5ms) rollback transaction
1396
- Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1397
- [ActiveJob] [Thermos::RefillJob] [a7e648d8-8f0a-4761-86f8-35adee4c1936] Performing Thermos::RefillJob (Job ID: a7e648d8-8f0a-4761-86f8-35adee4c1936) from Async(default) with arguments: #<GlobalID:0x007f840a51bf40 @uri=#<URI::GID gid://dummy/Category/322908140>>
1398
-  (0.2ms) begin transaction
1399
- ------------------------------------------------------
1400
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1401
- ------------------------------------------------------
1402
- [ActiveJob] [Thermos::RefillJob] [a7e648d8-8f0a-4761-86f8-35adee4c1936] Enqueued Thermos::RebuildCacheJob (Job ID: d2a1326d-8507-4c0f-b841-e2f36ce7a063) to Async(default) with arguments: "key", 322908140
1403
- [ActiveJob] [Thermos::RefillJob] [a7e648d8-8f0a-4761-86f8-35adee4c1936] Performed Thermos::RefillJob (Job ID: a7e648d8-8f0a-4761-86f8-35adee4c1936) from Async(default) in 6.12ms
1404
- [ActiveJob] [Thermos::RebuildCacheJob] [d2a1326d-8507-4c0f-b841-e2f36ce7a063] Performing Thermos::RebuildCacheJob (Job ID: d2a1326d-8507-4c0f-b841-e2f36ce7a063) from Async(default) with arguments: "key", 322908140
1405
- [ActiveJob] [Thermos::RebuildCacheJob] [d2a1326d-8507-4c0f-b841-e2f36ce7a063] Error performing Thermos::RebuildCacheJob (Job ID: d2a1326d-8507-4c0f-b841-e2f36ce7a063) from Async(default) in 0.14ms: MockExpectationError (No more expects available for :call: [322908140]):
1406
- /Users/athal/.gem/ruby/2.3.3/gems/minitest-5.11.3/lib/minitest/mock.rb:132:in `method_missing'
1407
- /Users/athal/2u/thermos/test/thermos_test.rb:33:in `block (2 levels) in <class:ThermosTest>'
1408
- /Users/athal/2u/thermos/lib/thermos/rebuild_cache_job.rb:5:in `perform'
1409
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:39:in `block in perform_now'
1410
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1411
- /Users/athal/.gem/ruby/2.3.3/gems/i18n-1.1.1/lib/i18n.rb:284:in `with_locale'
1412
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/translation.rb:9:in `block (2 levels) in <module:Translation>'
1413
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1414
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1415
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:26:in `block (4 levels) in <module:Logging>'
1416
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `block in instrument'
1417
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications/instrumenter.rb:23:in `instrument'
1418
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/notifications.rb:168:in `instrument'
1419
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:25:in `block (3 levels) in <module:Logging>'
1420
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `block in tag_logger'
1421
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `block in tagged'
1422
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:28:in `tagged'
1423
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/tagged_logging.rb:71:in `tagged'
1424
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:46:in `tag_logger'
1425
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/logging.rb:22:in `block (2 levels) in <module:Logging>'
1426
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1427
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1428
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1429
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:35:in `perform_now'
1430
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:24:in `block in execute'
1431
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:109:in `block in run_callbacks'
1432
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:28:in `block (4 levels) in <class:Railtie>'
1433
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1434
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:73:in `block in wrap'
1435
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/execution_wrapper.rb:87:in `wrap'
1436
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/reloader.rb:72:in `wrap'
1437
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/railtie.rb:27:in `block (3 levels) in <class:Railtie>'
1438
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `instance_exec'
1439
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:118:in `block in run_callbacks'
1440
- /Users/athal/.gem/ruby/2.3.3/gems/activesupport-5.2.1/lib/active_support/callbacks.rb:136:in `run_callbacks'
1441
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/execution.rb:22:in `execute'
1442
- /Users/athal/.gem/ruby/2.3.3/gems/activejob-5.2.1/lib/active_job/queue_adapters/async_adapter.rb:70:in `perform'
1443
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:348:in `run_task'
1444
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:337:in `block (3 levels) in create_worker'
1445
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `loop'
1446
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:320:in `block (2 levels) in create_worker'
1447
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `catch'
1448
- /Users/athal/.gem/ruby/2.3.3/gems/concurrent-ruby-1.0.5/lib/concurrent/executor/ruby_thread_pool_executor.rb:319:in `block in create_worker'
1449
-  (0.1ms) rollback transaction
1450
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1451
-  (0.0ms) PRAGMA foreign_keys
1452
-  (0.1ms) PRAGMA foreign_keys = OFF
1453
-  (0.0ms) begin transaction
1454
- Fixture Delete (0.4ms) DELETE FROM "products"
1455
- Fixture Delete (0.1ms) DELETE FROM "categories"
1456
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1457
- Fixture Delete (0.1ms) DELETE FROM "stores"
1458
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:30:03.590363', '2018-10-15 22:30:03.590363', 469160771)
1459
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:30:03.595711', '2018-10-15 22:30:03.595711', 322908140, 868874525)
1460
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:30:03.599174', '2018-10-15 22:30:03.599174', 678302810, 322908140, 469160771)
1461
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:30:03.600607', '2018-10-15 22:30:03.600607', 868874525)
1462
-  (3.1ms) commit transaction
1463
-  (0.1ms) PRAGMA foreign_keys = 1
1464
-  (0.1ms) begin transaction
1465
- ------------------------------------------------------
1466
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1467
- ------------------------------------------------------
1468
-  (0.1ms) rollback transaction
1469
-  (0.1ms) begin transaction
1470
- ---------------------------------------------------------
1471
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1472
- ---------------------------------------------------------
1473
-  (0.1ms) rollback transaction
1474
-  (0.0ms) begin transaction
1475
- ------------------------------------------------------------
1476
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1477
- ------------------------------------------------------------
1478
- Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1479
-  (0.1ms) rollback transaction
1480
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1481
-  (0.0ms) PRAGMA foreign_keys
1482
-  (0.0ms) PRAGMA foreign_keys = OFF
1483
-  (0.1ms) begin transaction
1484
- Fixture Delete (0.4ms) DELETE FROM "products"
1485
- Fixture Delete (0.2ms) DELETE FROM "categories"
1486
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1487
- Fixture Delete (0.1ms) DELETE FROM "stores"
1488
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:30:11.810205', '2018-10-15 22:30:11.810205', 469160771)
1489
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:30:11.813621', '2018-10-15 22:30:11.813621', 322908140, 868874525)
1490
- Fixture Insert (0.0ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:30:11.814673', '2018-10-15 22:30:11.814673', 678302810, 322908140, 469160771)
1491
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:30:11.815710', '2018-10-15 22:30:11.815710', 868874525)
1492
-  (2.7ms) commit transaction
1493
-  (0.1ms) PRAGMA foreign_keys = 1
1494
-  (0.0ms) begin transaction
1495
- ---------------------------------------------------------
1496
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1497
- ---------------------------------------------------------
1498
-  (0.1ms) rollback transaction
1499
-  (0.1ms) begin transaction
1500
- ------------------------------------------------------------
1501
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1502
- ------------------------------------------------------------
1503
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1504
-  (0.1ms) SAVEPOINT active_record_1
1505
- Category Update (0.6ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:30:11.839301"], ["id", 322908140]]
1506
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e8f977a2-9ab7-4ac5-b3aa-5bdde19a26db) to Async(default) with arguments: #<GlobalID:0x007fdbc64b32d8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1507
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1508
- Category Load (2.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1509
-  (1.3ms) rollback transaction
1510
- [ActiveJob] [Thermos::RefillJob] [e8f977a2-9ab7-4ac5-b3aa-5bdde19a26db] Performing Thermos::RefillJob (Job ID: e8f977a2-9ab7-4ac5-b3aa-5bdde19a26db) from Async(default) with arguments: #<GlobalID:0x007fdbc6dc14b0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1511
-  (0.1ms) begin transaction
1512
- ------------------------------------------------------
1513
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1514
- ------------------------------------------------------
1515
- [ActiveJob] [Thermos::RefillJob] [e8f977a2-9ab7-4ac5-b3aa-5bdde19a26db] Performed Thermos::RefillJob (Job ID: e8f977a2-9ab7-4ac5-b3aa-5bdde19a26db) from Async(default) in 5.3ms
1516
-  (0.1ms) rollback transaction
1517
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1518
-  (0.0ms) PRAGMA foreign_keys
1519
-  (0.0ms) PRAGMA foreign_keys = OFF
1520
-  (0.0ms) begin transaction
1521
- Fixture Delete (1.0ms) DELETE FROM "products"
1522
- Fixture Delete (0.5ms) DELETE FROM "categories"
1523
- Fixture Delete (0.6ms) DELETE FROM "category_items"
1524
- Fixture Delete (0.6ms) DELETE FROM "stores"
1525
- Fixture Insert (0.6ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:37:13.791093', '2018-10-15 22:37:13.791093', 469160771)
1526
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:37:13.792973', '2018-10-15 22:37:13.792973', 322908140, 868874525)
1527
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:37:13.795079', '2018-10-15 22:37:13.795079', 678302810, 322908140, 469160771)
1528
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:37:13.796647', '2018-10-15 22:37:13.796647', 868874525)
1529
-  (1.5ms) commit transaction
1530
-  (0.1ms) PRAGMA foreign_keys = 1
1531
-  (0.1ms) begin transaction
1532
- ---------------------------------------------------------
1533
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1534
- ---------------------------------------------------------
1535
-  (0.1ms) rollback transaction
1536
-  (0.1ms) begin transaction
1537
- ------------------------------------------------------
1538
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1539
- ------------------------------------------------------
1540
-  (0.0ms) rollback transaction
1541
-  (0.0ms) begin transaction
1542
- ------------------------------------------------------------
1543
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1544
- ------------------------------------------------------------
1545
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1546
-  (0.2ms) SAVEPOINT active_record_1
1547
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:37:13.828573"], ["id", 322908140]]
1548
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b7894d8b-8ea9-43df-8623-e328255e7620) to Async(default) with arguments: #<GlobalID:0x007f997c47f0c8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1549
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1550
-  (0.3ms) rollback transaction
1551
- Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1552
- [ActiveJob] [Thermos::RefillJob] [b7894d8b-8ea9-43df-8623-e328255e7620] Performing Thermos::RefillJob (Job ID: b7894d8b-8ea9-43df-8623-e328255e7620) from Async(default) with arguments: #<GlobalID:0x007f997d3c69c8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1553
- [ActiveJob] [Thermos::RefillJob] [b7894d8b-8ea9-43df-8623-e328255e7620] Performed Thermos::RefillJob (Job ID: b7894d8b-8ea9-43df-8623-e328255e7620) from Async(default) in 4.83ms
1554
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1555
-  (0.0ms) PRAGMA foreign_keys
1556
-  (0.1ms) PRAGMA foreign_keys = OFF
1557
-  (0.0ms) begin transaction
1558
- Fixture Delete (0.8ms) DELETE FROM "products"
1559
- Fixture Delete (0.6ms) DELETE FROM "categories"
1560
- Fixture Delete (0.8ms) DELETE FROM "category_items"
1561
- Fixture Delete (0.7ms) DELETE FROM "stores"
1562
- Fixture Insert (0.5ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:37:39.617236', '2018-10-15 22:37:39.617236', 469160771)
1563
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:37:39.620349', '2018-10-15 22:37:39.620349', 322908140, 868874525)
1564
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:37:39.621500', '2018-10-15 22:37:39.621500', 678302810, 322908140, 469160771)
1565
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:37:39.622590', '2018-10-15 22:37:39.622590', 868874525)
1566
-  (1.2ms) commit transaction
1567
-  (0.0ms) PRAGMA foreign_keys = 1
1568
-  (0.0ms) begin transaction
1569
- ------------------------------------------------------
1570
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1571
- ------------------------------------------------------
1572
-  (0.0ms) rollback transaction
1573
-  (0.0ms) begin transaction
1574
- ------------------------------------------------------------
1575
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1576
- ------------------------------------------------------------
1577
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1578
-  (0.1ms) SAVEPOINT active_record_1
1579
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:37:39.649414"], ["id", 322908140]]
1580
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 38c61c59-a15e-4f7b-b655-77d87f1942ee) to Async(default) with arguments: #<GlobalID:0x007fce332a9de8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1581
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1582
-  (1.4ms) rollback transaction
1583
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1584
-  (0.0ms) begin transaction
1585
- [ActiveJob] [Thermos::RefillJob] [38c61c59-a15e-4f7b-b655-77d87f1942ee] Performing Thermos::RefillJob (Job ID: 38c61c59-a15e-4f7b-b655-77d87f1942ee) from Async(default) with arguments: #<GlobalID:0x007fce3325aef0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1586
- ---------------------------------------------------------
1587
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1588
- ---------------------------------------------------------
1589
-  (0.0ms) rollback transaction
1590
- [ActiveJob] [Thermos::RefillJob] [38c61c59-a15e-4f7b-b655-77d87f1942ee] Performed Thermos::RefillJob (Job ID: 38c61c59-a15e-4f7b-b655-77d87f1942ee) from Async(default) in 7.47ms
1591
-  (1.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1592
-  (0.1ms) PRAGMA foreign_keys
1593
-  (0.1ms) PRAGMA foreign_keys = OFF
1594
-  (0.1ms) begin transaction
1595
- Fixture Delete (1.6ms) DELETE FROM "products"
1596
- Fixture Delete (0.1ms) DELETE FROM "categories"
1597
- Fixture Delete (0.4ms) DELETE FROM "category_items"
1598
- Fixture Delete (0.4ms) DELETE FROM "stores"
1599
- Fixture Insert (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:40:49.818914', '2018-10-15 22:40:49.818914', 469160771)
1600
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:40:49.820616', '2018-10-15 22:40:49.820616', 322908140, 868874525)
1601
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:40:49.821991', '2018-10-15 22:40:49.821991', 678302810, 322908140, 469160771)
1602
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:40:49.823554', '2018-10-15 22:40:49.823554', 868874525)
1603
-  (1.6ms) commit transaction
1604
-  (0.1ms) PRAGMA foreign_keys = 1
1605
-  (0.0ms) begin transaction
1606
- ---------------------------------------------------------
1607
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1608
- ---------------------------------------------------------
1609
-  (0.1ms) rollback transaction
1610
-  (0.1ms) begin transaction
1611
- ------------------------------------------------------
1612
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1613
- ------------------------------------------------------
1614
-  (0.0ms) rollback transaction
1615
-  (0.0ms) begin transaction
1616
- ------------------------------------------------------------
1617
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1618
- ------------------------------------------------------------
1619
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1620
-  (0.1ms) SAVEPOINT active_record_1
1621
- Category Update (0.7ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:40:49.852752"], ["id", 322908140]]
1622
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 070a6bf9-ffc4-4fa5-b26a-2afed5ab8af6) to Async(default) with arguments: #<GlobalID:0x007fbf7365da80 @uri=#<URI::GID gid://dummy/Category/322908140>>
1623
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1624
-  (0.4ms) rollback transaction
1625
- Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1626
- [ActiveJob] [Thermos::RefillJob] [070a6bf9-ffc4-4fa5-b26a-2afed5ab8af6] Performing Thermos::RefillJob (Job ID: 070a6bf9-ffc4-4fa5-b26a-2afed5ab8af6) from Async(default) with arguments: #<GlobalID:0x007fbf72f892e0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1627
- [ActiveJob] [Thermos::RefillJob] [070a6bf9-ffc4-4fa5-b26a-2afed5ab8af6] Performed Thermos::RefillJob (Job ID: 070a6bf9-ffc4-4fa5-b26a-2afed5ab8af6) from Async(default) in 6.62ms
1628
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1629
-  (0.1ms) PRAGMA foreign_keys
1630
-  (0.1ms) PRAGMA foreign_keys = OFF
1631
-  (0.0ms) begin transaction
1632
- Fixture Delete (1.1ms) DELETE FROM "products"
1633
- Fixture Delete (0.6ms) DELETE FROM "categories"
1634
- Fixture Delete (0.5ms) DELETE FROM "category_items"
1635
- Fixture Delete (0.5ms) DELETE FROM "stores"
1636
- Fixture Insert (0.5ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:41:53.649424', '2018-10-15 22:41:53.649424', 469160771)
1637
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:41:53.654048', '2018-10-15 22:41:53.654048', 322908140, 868874525)
1638
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:41:53.655929', '2018-10-15 22:41:53.655929', 678302810, 322908140, 469160771)
1639
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:41:53.658045', '2018-10-15 22:41:53.658045', 868874525)
1640
-  (1.4ms) commit transaction
1641
-  (0.1ms) PRAGMA foreign_keys = 1
1642
-  (0.1ms) begin transaction
1643
- ------------------------------------------------------
1644
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1645
- ------------------------------------------------------
1646
-  (0.1ms) rollback transaction
1647
-  (0.1ms) begin transaction
1648
- ------------------------------------------------------------
1649
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1650
- ------------------------------------------------------------
1651
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1652
-  (0.1ms) SAVEPOINT active_record_1
1653
- Category Update (0.6ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:41:53.683348"], ["id", 322908140]]
1654
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1655
- [ActiveJob] [Thermos::RefillJob] [ff8a21f5-9515-4722-a3b6-221e329bac61] Performing Thermos::RefillJob (Job ID: ff8a21f5-9515-4722-a3b6-221e329bac61) from Inline(default) with arguments: #<GlobalID:0x007f8ae2d47320 @uri=#<URI::GID gid://dummy/Category/322908140>>
1656
- [ActiveJob] [Thermos::RefillJob] [ff8a21f5-9515-4722-a3b6-221e329bac61] [Thermos::RebuildCacheJob] [41114b2a-dd92-4ede-afbc-9e66835213c8] Performing Thermos::RebuildCacheJob (Job ID: 41114b2a-dd92-4ede-afbc-9e66835213c8) from Inline(default) with arguments: "key", 322908140
1657
- [ActiveJob] [Thermos::RefillJob] [ff8a21f5-9515-4722-a3b6-221e329bac61] [Thermos::RebuildCacheJob] [41114b2a-dd92-4ede-afbc-9e66835213c8] Performed Thermos::RebuildCacheJob (Job ID: 41114b2a-dd92-4ede-afbc-9e66835213c8) from Inline(default) in 0.9ms
1658
- [ActiveJob] [Thermos::RefillJob] [ff8a21f5-9515-4722-a3b6-221e329bac61] Enqueued Thermos::RebuildCacheJob (Job ID: 41114b2a-dd92-4ede-afbc-9e66835213c8) to Inline(default) with arguments: "key", 322908140
1659
- [ActiveJob] [Thermos::RefillJob] [ff8a21f5-9515-4722-a3b6-221e329bac61] Performed Thermos::RefillJob (Job ID: ff8a21f5-9515-4722-a3b6-221e329bac61) from Inline(default) in 10.27ms
1660
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ff8a21f5-9515-4722-a3b6-221e329bac61) to Inline(default) with arguments: #<GlobalID:0x007f8ae42634e8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1661
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1662
-  (0.5ms) rollback transaction
1663
-  (0.1ms) begin transaction
1664
- ---------------------------------------------------------
1665
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1666
- ---------------------------------------------------------
1667
-  (0.1ms) rollback transaction
1668
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1669
-  (0.1ms) PRAGMA foreign_keys
1670
-  (0.1ms) PRAGMA foreign_keys = OFF
1671
-  (0.0ms) begin transaction
1672
- Fixture Delete (0.5ms) DELETE FROM "products"
1673
- Fixture Delete (0.1ms) DELETE FROM "categories"
1674
- Fixture Delete (0.2ms) DELETE FROM "category_items"
1675
- Fixture Delete (0.2ms) DELETE FROM "stores"
1676
- Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:42:07.042676', '2018-10-15 22:42:07.042676', 469160771)
1677
- Fixture Insert (0.2ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:42:07.045270', '2018-10-15 22:42:07.045270', 322908140, 868874525)
1678
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:42:07.049031', '2018-10-15 22:42:07.049031', 678302810, 322908140, 469160771)
1679
- Fixture Insert (0.2ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:42:07.050182', '2018-10-15 22:42:07.050182', 868874525)
1680
-  (3.0ms) commit transaction
1681
-  (0.1ms) PRAGMA foreign_keys = 1
1682
-  (0.0ms) begin transaction
1683
- ------------------------------------------------------
1684
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1685
- ------------------------------------------------------
1686
-  (0.1ms) rollback transaction
1687
-  (0.0ms) begin transaction
1688
- ---------------------------------------------------------
1689
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1690
- ---------------------------------------------------------
1691
-  (0.1ms) rollback transaction
1692
-  (0.1ms) begin transaction
1693
- ------------------------------------------------------------
1694
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1695
- ------------------------------------------------------------
1696
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1697
-  (0.1ms) SAVEPOINT active_record_1
1698
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:07.079693"], ["id", 322908140]]
1699
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1700
- [ActiveJob] [Thermos::RefillJob] [16ed98a1-725f-4573-88ee-3da3e78d0237] Performing Thermos::RefillJob (Job ID: 16ed98a1-725f-4573-88ee-3da3e78d0237) from Inline(default) with arguments: #<GlobalID:0x007f8a01a7a4a8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1701
- [ActiveJob] [Thermos::RefillJob] [16ed98a1-725f-4573-88ee-3da3e78d0237] [Thermos::RebuildCacheJob] [9686ffc2-d912-4f00-b7d9-e655deb951d2] Performing Thermos::RebuildCacheJob (Job ID: 9686ffc2-d912-4f00-b7d9-e655deb951d2) from Inline(default) with arguments: "key", 322908140
1702
- [ActiveJob] [Thermos::RefillJob] [16ed98a1-725f-4573-88ee-3da3e78d0237] [Thermos::RebuildCacheJob] [9686ffc2-d912-4f00-b7d9-e655deb951d2] Performed Thermos::RebuildCacheJob (Job ID: 9686ffc2-d912-4f00-b7d9-e655deb951d2) from Inline(default) in 0.99ms
1703
- [ActiveJob] [Thermos::RefillJob] [16ed98a1-725f-4573-88ee-3da3e78d0237] Enqueued Thermos::RebuildCacheJob (Job ID: 9686ffc2-d912-4f00-b7d9-e655deb951d2) to Inline(default) with arguments: "key", 322908140
1704
- [ActiveJob] [Thermos::RefillJob] [16ed98a1-725f-4573-88ee-3da3e78d0237] Performed Thermos::RefillJob (Job ID: 16ed98a1-725f-4573-88ee-3da3e78d0237) from Inline(default) in 6.56ms
1705
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 16ed98a1-725f-4573-88ee-3da3e78d0237) to Inline(default) with arguments: #<GlobalID:0x007f8a00668078 @uri=#<URI::GID gid://dummy/Category/322908140>>
1706
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1707
-  (0.4ms) rollback transaction
1708
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1709
-  (0.0ms) PRAGMA foreign_keys
1710
-  (0.0ms) PRAGMA foreign_keys = OFF
1711
-  (0.0ms) begin transaction
1712
- Fixture Delete (0.4ms) DELETE FROM "products"
1713
- Fixture Delete (0.1ms) DELETE FROM "categories"
1714
- Fixture Delete (0.1ms) DELETE FROM "category_items"
1715
- Fixture Delete (0.1ms) DELETE FROM "stores"
1716
- Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:42:18.224968', '2018-10-15 22:42:18.224968', 469160771)
1717
- Fixture Insert (0.0ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:42:18.226463', '2018-10-15 22:42:18.226463', 322908140, 868874525)
1718
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:42:18.227468', '2018-10-15 22:42:18.227468', 678302810, 322908140, 469160771)
1719
- Fixture Insert (0.0ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:42:18.228466', '2018-10-15 22:42:18.228466', 868874525)
1720
-  (3.1ms) commit transaction
1721
-  (0.1ms) PRAGMA foreign_keys = 1
1722
-  (0.0ms) begin transaction
1723
- ---------------------------------------------------------------------
1724
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
1725
- ---------------------------------------------------------------------
1726
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1727
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1728
-  (0.1ms) SAVEPOINT active_record_1
1729
- Product Update (0.6ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.254319"], ["id", 469160771]]
1730
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1731
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1] Performing Thermos::RefillJob (Job ID: 717dca43-ad17-49ca-8549-de7d285dc9d1) from Inline(default) with arguments: #<GlobalID:0x007fde1b540f28 @uri=#<URI::GID gid://dummy/Product/469160771>>
1732
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
1733
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1] [Thermos::RebuildCacheJob] [7f00cb14-5a28-40de-80f3-882f511f34a8] Performing Thermos::RebuildCacheJob (Job ID: 7f00cb14-5a28-40de-80f3-882f511f34a8) from Inline(default) with arguments: "key", 322908140
1734
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1] [Thermos::RebuildCacheJob] [7f00cb14-5a28-40de-80f3-882f511f34a8] Performed Thermos::RebuildCacheJob (Job ID: 7f00cb14-5a28-40de-80f3-882f511f34a8) from Inline(default) in 0.75ms
1735
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1] Enqueued Thermos::RebuildCacheJob (Job ID: 7f00cb14-5a28-40de-80f3-882f511f34a8) to Inline(default) with arguments: "key", 322908140
1736
- [ActiveJob] [Thermos::RefillJob] [717dca43-ad17-49ca-8549-de7d285dc9d1] Performed Thermos::RefillJob (Job ID: 717dca43-ad17-49ca-8549-de7d285dc9d1) from Inline(default) in 15.3ms
1737
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 717dca43-ad17-49ca-8549-de7d285dc9d1) to Inline(default) with arguments: #<GlobalID:0x007fde1b57b3d0 @uri=#<URI::GID gid://dummy/Product/469160771>>
1738
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1739
-  (0.3ms) rollback transaction
1740
-  (0.0ms) begin transaction
1741
- ----------------------------------------------------------------------
1742
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
1743
- ----------------------------------------------------------------------
1744
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1745
-  (0.1ms) SAVEPOINT active_record_1
1746
- Product Create (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:42:18.308587"], ["updated_at", "2018-10-15 22:42:18.308587"]]
1747
- CategoryItem Create (0.2ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 22:42:18.310335"], ["updated_at", "2018-10-15 22:42:18.310335"]]
1748
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
1749
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9] Performing Thermos::RefillJob (Job ID: ea5595c5-5771-4986-893b-f1f4047a25d9) from Inline(default) with arguments: #<GlobalID:0x007fde1c142218 @uri=#<URI::GID gid://dummy/Product/469160772>>
1750
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
1751
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9] [Thermos::RebuildCacheJob] [7f84604b-7390-4165-9d98-19dc02b2902f] Performing Thermos::RebuildCacheJob (Job ID: 7f84604b-7390-4165-9d98-19dc02b2902f) from Inline(default) with arguments: "key", 322908140
1752
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9] [Thermos::RebuildCacheJob] [7f84604b-7390-4165-9d98-19dc02b2902f] Performed Thermos::RebuildCacheJob (Job ID: 7f84604b-7390-4165-9d98-19dc02b2902f) from Inline(default) in 1.49ms
1753
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9] Enqueued Thermos::RebuildCacheJob (Job ID: 7f84604b-7390-4165-9d98-19dc02b2902f) to Inline(default) with arguments: "key", 322908140
1754
- [ActiveJob] [Thermos::RefillJob] [ea5595c5-5771-4986-893b-f1f4047a25d9] Performed Thermos::RefillJob (Job ID: ea5595c5-5771-4986-893b-f1f4047a25d9) from Inline(default) in 2.78ms
1755
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ea5595c5-5771-4986-893b-f1f4047a25d9) to Inline(default) with arguments: #<GlobalID:0x007fde1ab6b1d8 @uri=#<URI::GID gid://dummy/Product/469160772>>
1756
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1757
-  (0.3ms) rollback transaction
1758
-  (0.1ms) begin transaction
1759
- ----------------------------------------------------------------
1760
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
1761
- ----------------------------------------------------------------
1762
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1763
-  (0.1ms) SAVEPOINT active_record_1
1764
- Store Create (0.4ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:42:18.323459"], ["updated_at", "2018-10-15 22:42:18.323459"]]
1765
- Category Update (0.2ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 22:42:18.324662"], ["id", 322908140]]
1766
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1767
- [ActiveJob] [Thermos::RefillJob] [f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab] Performing Thermos::RefillJob (Job ID: f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab) from Inline(default) with arguments: #<GlobalID:0x007fde1aaa0a78 @uri=#<URI::GID gid://dummy/Category/322908140>>
1768
- [ActiveJob] [Thermos::RefillJob] [f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab] [Thermos::RebuildCacheJob] [87d8baa5-2e25-41b1-9455-585b517e0371] Performing Thermos::RebuildCacheJob (Job ID: 87d8baa5-2e25-41b1-9455-585b517e0371) from Inline(default) with arguments: "key", 322908140
1769
- [ActiveJob] [Thermos::RefillJob] [f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab] [Thermos::RebuildCacheJob] [87d8baa5-2e25-41b1-9455-585b517e0371] Performed Thermos::RebuildCacheJob (Job ID: 87d8baa5-2e25-41b1-9455-585b517e0371) from Inline(default) in 1.19ms
1770
- [ActiveJob] [Thermos::RefillJob] [f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab] Enqueued Thermos::RebuildCacheJob (Job ID: 87d8baa5-2e25-41b1-9455-585b517e0371) to Inline(default) with arguments: "key", 322908140
1771
- [ActiveJob] [Thermos::RefillJob] [f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab] Performed Thermos::RefillJob (Job ID: f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab) from Inline(default) in 1.68ms
1772
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f44dc054-f3ea-49d7-a7d9-0efa1a47b3ab) to Inline(default) with arguments: #<GlobalID:0x007fde1aab1788 @uri=#<URI::GID gid://dummy/Category/322908140>>
1773
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1774
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d] Performing Thermos::RefillJob (Job ID: 3ad370a5-f63b-47ea-b0b3-a34415e1f83d) from Inline(default) with arguments: #<GlobalID:0x007fde1b35de18 @uri=#<URI::GID gid://dummy/Store/868874526>>
1775
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
1776
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d] [Thermos::RebuildCacheJob] [6c51cc9a-57ca-4b20-b7cb-5b7c12f53049] Performing Thermos::RebuildCacheJob (Job ID: 6c51cc9a-57ca-4b20-b7cb-5b7c12f53049) from Inline(default) with arguments: "key", 322908140
1777
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d] [Thermos::RebuildCacheJob] [6c51cc9a-57ca-4b20-b7cb-5b7c12f53049] Performed Thermos::RebuildCacheJob (Job ID: 6c51cc9a-57ca-4b20-b7cb-5b7c12f53049) from Inline(default) in 1.26ms
1778
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d] Enqueued Thermos::RebuildCacheJob (Job ID: 6c51cc9a-57ca-4b20-b7cb-5b7c12f53049) to Inline(default) with arguments: "key", 322908140
1779
- [ActiveJob] [Thermos::RefillJob] [3ad370a5-f63b-47ea-b0b3-a34415e1f83d] Performed Thermos::RefillJob (Job ID: 3ad370a5-f63b-47ea-b0b3-a34415e1f83d) from Inline(default) in 3.73ms
1780
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 3ad370a5-f63b-47ea-b0b3-a34415e1f83d) to Inline(default) with arguments: #<GlobalID:0x007fde1b36e510 @uri=#<URI::GID gid://dummy/Store/868874526>>
1781
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1782
-  (0.4ms) rollback transaction
1783
-  (0.1ms) begin transaction
1784
- ----------------------------------------------------------------------------------
1785
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
1786
- ----------------------------------------------------------------------------------
1787
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1788
-  (0.1ms) SAVEPOINT active_record_1
1789
- Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 22:42:18.340795"], ["updated_at", "2018-10-15 22:42:18.340795"]]
1790
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
1791
- [ActiveJob] [Thermos::RefillJob] [04dbdc33-17a9-4fec-8a60-38c281e03236] Performing Thermos::RefillJob (Job ID: 04dbdc33-17a9-4fec-8a60-38c281e03236) from Inline(default) with arguments: #<GlobalID:0x007fde1b931088 @uri=#<URI::GID gid://dummy/Category/322908141>>
1792
- [ActiveJob] [Thermos::RefillJob] [04dbdc33-17a9-4fec-8a60-38c281e03236] Performed Thermos::RefillJob (Job ID: 04dbdc33-17a9-4fec-8a60-38c281e03236) from Inline(default) in 0.04ms
1793
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 04dbdc33-17a9-4fec-8a60-38c281e03236) to Inline(default) with arguments: #<GlobalID:0x007fde1b95a7a8 @uri=#<URI::GID gid://dummy/Category/322908141>>
1794
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1795
-  (0.0ms) SAVEPOINT active_record_1
1796
- Category Update (0.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.344922"], ["id", 322908140]]
1797
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1798
- [ActiveJob] [Thermos::RefillJob] [46ba1c7e-5e17-4799-a781-7e33004476b3] Performing Thermos::RefillJob (Job ID: 46ba1c7e-5e17-4799-a781-7e33004476b3) from Inline(default) with arguments: #<GlobalID:0x007fde1aa58318 @uri=#<URI::GID gid://dummy/Category/322908140>>
1799
- [ActiveJob] [Thermos::RefillJob] [46ba1c7e-5e17-4799-a781-7e33004476b3] [Thermos::RebuildCacheJob] [a362a9b3-f366-46a1-8cdf-4a3e62a2fa01] Performing Thermos::RebuildCacheJob (Job ID: a362a9b3-f366-46a1-8cdf-4a3e62a2fa01) from Inline(default) with arguments: "key", 322908140
1800
- [ActiveJob] [Thermos::RefillJob] [46ba1c7e-5e17-4799-a781-7e33004476b3] [Thermos::RebuildCacheJob] [a362a9b3-f366-46a1-8cdf-4a3e62a2fa01] Performed Thermos::RebuildCacheJob (Job ID: a362a9b3-f366-46a1-8cdf-4a3e62a2fa01) from Inline(default) in 1.59ms
1801
- [ActiveJob] [Thermos::RefillJob] [46ba1c7e-5e17-4799-a781-7e33004476b3] Enqueued Thermos::RebuildCacheJob (Job ID: a362a9b3-f366-46a1-8cdf-4a3e62a2fa01) to Inline(default) with arguments: "key", 322908140
1802
- [ActiveJob] [Thermos::RefillJob] [46ba1c7e-5e17-4799-a781-7e33004476b3] Performed Thermos::RefillJob (Job ID: 46ba1c7e-5e17-4799-a781-7e33004476b3) from Inline(default) in 2.17ms
1803
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 46ba1c7e-5e17-4799-a781-7e33004476b3) to Inline(default) with arguments: #<GlobalID:0x007fde1aa68df8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1804
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1805
-  (0.3ms) rollback transaction
1806
-  (0.0ms) begin transaction
1807
- ----------------------------------------------------------------
1808
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
1809
- ----------------------------------------------------------------
1810
-  (0.1ms) SAVEPOINT active_record_1
1811
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:42:18.352548"], ["updated_at", "2018-10-15 22:42:18.352548"]]
1812
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
1813
- [ActiveJob] [Thermos::RefillJob] [dc3460a2-7114-4865-81c8-a21f12d86731] Performing Thermos::RefillJob (Job ID: dc3460a2-7114-4865-81c8-a21f12d86731) from Inline(default) with arguments: #<GlobalID:0x007fde1c0f9ea0 @uri=#<URI::GID gid://dummy/Category/322908141>>
1814
- [ActiveJob] [Thermos::RefillJob] [dc3460a2-7114-4865-81c8-a21f12d86731] [Thermos::RebuildCacheJob] [8dda68d0-5f95-4415-a2b9-5798c4886822] Performing Thermos::RebuildCacheJob (Job ID: 8dda68d0-5f95-4415-a2b9-5798c4886822) from Inline(default) with arguments: "key", "foo"
1815
- [ActiveJob] [Thermos::RefillJob] [dc3460a2-7114-4865-81c8-a21f12d86731] [Thermos::RebuildCacheJob] [8dda68d0-5f95-4415-a2b9-5798c4886822] Performed Thermos::RebuildCacheJob (Job ID: 8dda68d0-5f95-4415-a2b9-5798c4886822) from Inline(default) in 1.86ms
1816
- [ActiveJob] [Thermos::RefillJob] [dc3460a2-7114-4865-81c8-a21f12d86731] Enqueued Thermos::RebuildCacheJob (Job ID: 8dda68d0-5f95-4415-a2b9-5798c4886822) to Inline(default) with arguments: "key", "foo"
1817
- [ActiveJob] [Thermos::RefillJob] [dc3460a2-7114-4865-81c8-a21f12d86731] Performed Thermos::RefillJob (Job ID: dc3460a2-7114-4865-81c8-a21f12d86731) from Inline(default) in 2.89ms
1818
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: dc3460a2-7114-4865-81c8-a21f12d86731) to Inline(default) with arguments: #<GlobalID:0x007fde1aa214a8 @uri=#<URI::GID gid://dummy/Category/322908141>>
1819
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1820
-  (0.4ms) rollback transaction
1821
-  (0.1ms) begin transaction
1822
- -----------------------------------------------------------------------------------
1823
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
1824
- -----------------------------------------------------------------------------------
1825
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1826
-  (0.1ms) SAVEPOINT active_record_1
1827
- CategoryItem Create (0.8ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:42:18.363405"], ["updated_at", "2018-10-15 22:42:18.363405"]]
1828
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1829
-  (0.1ms) SAVEPOINT active_record_1
1830
- CategoryItem Update (0.3ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.367505"], ["id", 678302811]]
1831
- [ActiveJob] CategoryItem Load (0.5ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
1832
- [ActiveJob] [Thermos::RefillJob] [177f578a-a5b5-45d7-8aa1-17fe6381a592] Performing Thermos::RefillJob (Job ID: 177f578a-a5b5-45d7-8aa1-17fe6381a592) from Inline(default) with arguments: #<GlobalID:0x007fde1c0e0ae0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1833
- [ActiveJob] [Thermos::RefillJob] [177f578a-a5b5-45d7-8aa1-17fe6381a592]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
1834
- [ActiveJob] [Thermos::RefillJob] [177f578a-a5b5-45d7-8aa1-17fe6381a592] Performed Thermos::RefillJob (Job ID: 177f578a-a5b5-45d7-8aa1-17fe6381a592) from Inline(default) in 0.8ms
1835
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 177f578a-a5b5-45d7-8aa1-17fe6381a592) to Inline(default) with arguments: #<GlobalID:0x007fde1b207820 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1836
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1837
-  (0.2ms) rollback transaction
1838
-  (0.0ms) begin transaction
1839
- ---------------------------------------------------------------
1840
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
1841
- ---------------------------------------------------------------
1842
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1843
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
1844
-  (0.1ms) SAVEPOINT active_record_1
1845
- Store Update (0.3ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.379752"], ["id", 868874525]]
1846
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
1847
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b] Performing Thermos::RefillJob (Job ID: d7ce79a7-28df-4330-8ea8-bd8a542e3d3b) from Inline(default) with arguments: #<GlobalID:0x007fde1b878fb0 @uri=#<URI::GID gid://dummy/Store/868874525>>
1848
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874525]]
1849
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b] [Thermos::RebuildCacheJob] [5a0fa33b-ea84-4013-bbff-1d3440064f0b] Performing Thermos::RebuildCacheJob (Job ID: 5a0fa33b-ea84-4013-bbff-1d3440064f0b) from Inline(default) with arguments: "key", 322908140
1850
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b] [Thermos::RebuildCacheJob] [5a0fa33b-ea84-4013-bbff-1d3440064f0b] Performed Thermos::RebuildCacheJob (Job ID: 5a0fa33b-ea84-4013-bbff-1d3440064f0b) from Inline(default) in 0.82ms
1851
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b] Enqueued Thermos::RebuildCacheJob (Job ID: 5a0fa33b-ea84-4013-bbff-1d3440064f0b) to Inline(default) with arguments: "key", 322908140
1852
- [ActiveJob] [Thermos::RefillJob] [d7ce79a7-28df-4330-8ea8-bd8a542e3d3b] Performed Thermos::RefillJob (Job ID: d7ce79a7-28df-4330-8ea8-bd8a542e3d3b) from Inline(default) in 2.21ms
1853
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: d7ce79a7-28df-4330-8ea8-bd8a542e3d3b) to Inline(default) with arguments: #<GlobalID:0x007fde1c080078 @uri=#<URI::GID gid://dummy/Store/868874525>>
1854
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1855
-  (0.5ms) rollback transaction
1856
-  (0.0ms) begin transaction
1857
- -------------------------------------------------------------------------------------
1858
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
1859
- -------------------------------------------------------------------------------------
1860
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1861
-  (0.1ms) SAVEPOINT active_record_1
1862
- Store Create (0.5ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:42:18.388995"], ["updated_at", "2018-10-15 22:42:18.388995"]]
1863
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1864
- [ActiveJob] [Thermos::RefillJob] [74566e80-6665-46e7-96d5-db7aaf1faf35] Performing Thermos::RefillJob (Job ID: 74566e80-6665-46e7-96d5-db7aaf1faf35) from Inline(default) with arguments: #<GlobalID:0x007fde1a8629f0 @uri=#<URI::GID gid://dummy/Store/868874526>>
1865
- [ActiveJob] [Thermos::RefillJob] [74566e80-6665-46e7-96d5-db7aaf1faf35] Performed Thermos::RefillJob (Job ID: 74566e80-6665-46e7-96d5-db7aaf1faf35) from Inline(default) in 0.06ms
1866
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 74566e80-6665-46e7-96d5-db7aaf1faf35) to Inline(default) with arguments: #<GlobalID:0x007fde1a8a3a40 @uri=#<URI::GID gid://dummy/Store/868874526>>
1867
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1868
-  (0.1ms) SAVEPOINT active_record_1
1869
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.394317"], ["id", 868874526]]
1870
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
1871
- [ActiveJob] [Thermos::RefillJob] [0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9] Performing Thermos::RefillJob (Job ID: 0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9) from Inline(default) with arguments: #<GlobalID:0x007fde1b132990 @uri=#<URI::GID gid://dummy/Store/868874526>>
1872
- [ActiveJob] [Thermos::RefillJob] [0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
1873
- [ActiveJob] [Thermos::RefillJob] [0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9] Performed Thermos::RefillJob (Job ID: 0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9) from Inline(default) in 0.85ms
1874
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0f540b4f-74ca-44bf-a3ff-ac2f2165d7c9) to Inline(default) with arguments: #<GlobalID:0x007fde1a8a3a40 @uri=#<URI::GID gid://dummy/Store/868874526>>
1875
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1876
-  (0.4ms) rollback transaction
1877
-  (0.1ms) begin transaction
1878
- --------------------------------------------------------------
1879
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
1880
- --------------------------------------------------------------
1881
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1882
-  (0.4ms) SAVEPOINT active_record_1
1883
- CategoryItem Create (0.9ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 22:42:18.403072"], ["updated_at", "2018-10-15 22:42:18.403072"]]
1884
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
1885
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100] Performing Thermos::RefillJob (Job ID: 4e27d782-ef07-4678-9632-ecc850a72100) from Inline(default) with arguments: #<GlobalID:0x007fde1c2336b8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1886
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
1887
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100] [Thermos::RebuildCacheJob] [c012e0cf-d501-457c-9833-9079e79b43ef] Performing Thermos::RebuildCacheJob (Job ID: c012e0cf-d501-457c-9833-9079e79b43ef) from Inline(default) with arguments: "key", 322908140
1888
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100] [Thermos::RebuildCacheJob] [c012e0cf-d501-457c-9833-9079e79b43ef] Performed Thermos::RebuildCacheJob (Job ID: c012e0cf-d501-457c-9833-9079e79b43ef) from Inline(default) in 1.1ms
1889
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100] Enqueued Thermos::RebuildCacheJob (Job ID: c012e0cf-d501-457c-9833-9079e79b43ef) to Inline(default) with arguments: "key", 322908140
1890
- [ActiveJob] [Thermos::RefillJob] [4e27d782-ef07-4678-9632-ecc850a72100] Performed Thermos::RefillJob (Job ID: 4e27d782-ef07-4678-9632-ecc850a72100) from Inline(default) in 2.15ms
1891
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 4e27d782-ef07-4678-9632-ecc850a72100) to Inline(default) with arguments: #<GlobalID:0x007fde1c239888 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
1892
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1893
-  (0.3ms) rollback transaction
1894
-  (0.0ms) begin transaction
1895
- ------------------------------------------------------------
1896
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
1897
- ------------------------------------------------------------
1898
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1899
-  (0.1ms) SAVEPOINT active_record_1
1900
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.418862"], ["id", 322908140]]
1901
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1902
- [ActiveJob] [Thermos::RefillJob] [595b2040-44a5-4dfe-8b64-74c58b5c1a88] Performing Thermos::RefillJob (Job ID: 595b2040-44a5-4dfe-8b64-74c58b5c1a88) from Inline(default) with arguments: #<GlobalID:0x007fde1c270bf8 @uri=#<URI::GID gid://dummy/Category/322908140>>
1903
- [ActiveJob] [Thermos::RefillJob] [595b2040-44a5-4dfe-8b64-74c58b5c1a88] [Thermos::RebuildCacheJob] [c8e13e20-c8d3-486a-ab58-ac625d8a3bc4] Performing Thermos::RebuildCacheJob (Job ID: c8e13e20-c8d3-486a-ab58-ac625d8a3bc4) from Inline(default) with arguments: "key", 322908140
1904
- [ActiveJob] [Thermos::RefillJob] [595b2040-44a5-4dfe-8b64-74c58b5c1a88] [Thermos::RebuildCacheJob] [c8e13e20-c8d3-486a-ab58-ac625d8a3bc4] Performed Thermos::RebuildCacheJob (Job ID: c8e13e20-c8d3-486a-ab58-ac625d8a3bc4) from Inline(default) in 0.76ms
1905
- [ActiveJob] [Thermos::RefillJob] [595b2040-44a5-4dfe-8b64-74c58b5c1a88] Enqueued Thermos::RebuildCacheJob (Job ID: c8e13e20-c8d3-486a-ab58-ac625d8a3bc4) to Inline(default) with arguments: "key", 322908140
1906
- [ActiveJob] [Thermos::RefillJob] [595b2040-44a5-4dfe-8b64-74c58b5c1a88] Performed Thermos::RefillJob (Job ID: 595b2040-44a5-4dfe-8b64-74c58b5c1a88) from Inline(default) in 1.59ms
1907
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 595b2040-44a5-4dfe-8b64-74c58b5c1a88) to Inline(default) with arguments: #<GlobalID:0x007fde1c27ad88 @uri=#<URI::GID gid://dummy/Category/322908140>>
1908
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1909
-  (0.3ms) rollback transaction
1910
-  (0.0ms) begin transaction
1911
- ---------------------------------------------------------
1912
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
1913
- ---------------------------------------------------------
1914
-  (0.1ms) rollback transaction
1915
-  (0.0ms) begin transaction
1916
- -------------------------------------------------------------
1917
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
1918
- -------------------------------------------------------------
1919
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1920
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
1921
-  (0.1ms) SAVEPOINT active_record_1
1922
- CategoryItem Update (0.5ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.433083"], ["id", 678302810]]
1923
- [ActiveJob] CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
1924
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a] Performing Thermos::RefillJob (Job ID: 11b3916f-bd39-489b-ab25-a4149d5d499a) from Inline(default) with arguments: #<GlobalID:0x007fde1afba090 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
1925
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302810]]
1926
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a] [Thermos::RebuildCacheJob] [2e8a4bf2-da8e-4cef-b33e-f8fe28d0ad12] Performing Thermos::RebuildCacheJob (Job ID: 2e8a4bf2-da8e-4cef-b33e-f8fe28d0ad12) from Inline(default) with arguments: "key", 322908140
1927
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a] [Thermos::RebuildCacheJob] [2e8a4bf2-da8e-4cef-b33e-f8fe28d0ad12] Performed Thermos::RebuildCacheJob (Job ID: 2e8a4bf2-da8e-4cef-b33e-f8fe28d0ad12) from Inline(default) in 0.97ms
1928
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a] Enqueued Thermos::RebuildCacheJob (Job ID: 2e8a4bf2-da8e-4cef-b33e-f8fe28d0ad12) to Inline(default) with arguments: "key", 322908140
1929
- [ActiveJob] [Thermos::RefillJob] [11b3916f-bd39-489b-ab25-a4149d5d499a] Performed Thermos::RefillJob (Job ID: 11b3916f-bd39-489b-ab25-a4149d5d499a) from Inline(default) in 2.76ms
1930
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 11b3916f-bd39-489b-ab25-a4149d5d499a) to Inline(default) with arguments: #<GlobalID:0x007fde1c220388 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
1931
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1932
-  (0.2ms) rollback transaction
1933
-  (0.1ms) begin transaction
1934
- -------------------------------------------------------------------------------------------
1935
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
1936
- -------------------------------------------------------------------------------------------
1937
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1938
-  (0.0ms) SAVEPOINT active_record_1
1939
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:42:18.444657"], ["updated_at", "2018-10-15 22:42:18.444657"]]
1940
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
1941
- [ActiveJob] [Thermos::RefillJob] [00279324-329b-4ea9-bcc1-b6a4424975c4] Performing Thermos::RefillJob (Job ID: 00279324-329b-4ea9-bcc1-b6a4424975c4) from Inline(default) with arguments: #<GlobalID:0x007fde1e8d8cf0 @uri=#<URI::GID gid://dummy/Product/469160772>>
1942
- [ActiveJob] [Thermos::RefillJob] [00279324-329b-4ea9-bcc1-b6a4424975c4] Performed Thermos::RefillJob (Job ID: 00279324-329b-4ea9-bcc1-b6a4424975c4) from Inline(default) in 0.03ms
1943
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 00279324-329b-4ea9-bcc1-b6a4424975c4) to Inline(default) with arguments: #<GlobalID:0x007fde1e8e2e08 @uri=#<URI::GID gid://dummy/Product/469160772>>
1944
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1945
-  (0.1ms) SAVEPOINT active_record_1
1946
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.448757"], ["id", 469160772]]
1947
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
1948
- [ActiveJob] [Thermos::RefillJob] [13180426-9d55-47e0-bdef-44135e737a1c] Performing Thermos::RefillJob (Job ID: 13180426-9d55-47e0-bdef-44135e737a1c) from Inline(default) with arguments: #<GlobalID:0x007fde1e8b04f8 @uri=#<URI::GID gid://dummy/Product/469160772>>
1949
- [ActiveJob] [Thermos::RefillJob] [13180426-9d55-47e0-bdef-44135e737a1c]  (0.3ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
1950
- [ActiveJob] [Thermos::RefillJob] [13180426-9d55-47e0-bdef-44135e737a1c] Performed Thermos::RefillJob (Job ID: 13180426-9d55-47e0-bdef-44135e737a1c) from Inline(default) in 1.45ms
1951
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 13180426-9d55-47e0-bdef-44135e737a1c) to Inline(default) with arguments: #<GlobalID:0x007fde1e8e2e08 @uri=#<URI::GID gid://dummy/Product/469160772>>
1952
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1953
-  (0.8ms) rollback transaction
1954
-  (0.1ms) begin transaction
1955
- ---------------------------------------------------------------------------------------------------------------------------
1956
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
1957
- ---------------------------------------------------------------------------------------------------------------------------
1958
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1959
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1960
-  (0.1ms) SAVEPOINT active_record_1
1961
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.458903"], ["id", 469160771]]
1962
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1963
- [ActiveJob] [Thermos::RefillJob] [c647daf4-8670-42eb-b0cc-147e7f114c5b] Performing Thermos::RefillJob (Job ID: c647daf4-8670-42eb-b0cc-147e7f114c5b) from Inline(default) with arguments: #<GlobalID:0x007fde1e8823f0 @uri=#<URI::GID gid://dummy/Product/469160771>>
1964
- [ActiveJob] [Thermos::RefillJob] [c647daf4-8670-42eb-b0cc-147e7f114c5b] [Thermos::RebuildCacheJob] [0efe358f-6a74-43a8-9415-cd061f0f7f4e] Performing Thermos::RebuildCacheJob (Job ID: 0efe358f-6a74-43a8-9415-cd061f0f7f4e) from Inline(default) with arguments: "product_key", 469160771
1965
- [ActiveJob] [Thermos::RefillJob] [c647daf4-8670-42eb-b0cc-147e7f114c5b] [Thermos::RebuildCacheJob] [0efe358f-6a74-43a8-9415-cd061f0f7f4e] Performed Thermos::RebuildCacheJob (Job ID: 0efe358f-6a74-43a8-9415-cd061f0f7f4e) from Inline(default) in 1.38ms
1966
- [ActiveJob] [Thermos::RefillJob] [c647daf4-8670-42eb-b0cc-147e7f114c5b] Enqueued Thermos::RebuildCacheJob (Job ID: 0efe358f-6a74-43a8-9415-cd061f0f7f4e) to Inline(default) with arguments: "product_key", 469160771
1967
- [ActiveJob] [Thermos::RefillJob] [c647daf4-8670-42eb-b0cc-147e7f114c5b] Performed Thermos::RefillJob (Job ID: c647daf4-8670-42eb-b0cc-147e7f114c5b) from Inline(default) in 1.94ms
1968
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c647daf4-8670-42eb-b0cc-147e7f114c5b) to Inline(default) with arguments: #<GlobalID:0x007fde1af81d80 @uri=#<URI::GID gid://dummy/Product/469160771>>
1969
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1970
-  (0.4ms) rollback transaction
1971
-  (0.1ms) begin transaction
1972
- ------------------------------------------------------
1973
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
1974
- ------------------------------------------------------
1975
-  (0.1ms) rollback transaction
1976
-  (0.3ms) begin transaction
1977
- --------------------------------------------------------------------------
1978
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
1979
- --------------------------------------------------------------------------
1980
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1981
- Product Load (0.0ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1982
-  (0.1ms) SAVEPOINT active_record_1
1983
- Category Update (0.3ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.475670"], ["id", 322908140]]
1984
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
1985
- [ActiveJob] [Thermos::RefillJob] [36c668e3-b269-4d7a-bc6f-80f651e08395] Performing Thermos::RefillJob (Job ID: 36c668e3-b269-4d7a-bc6f-80f651e08395) from Inline(default) with arguments: #<GlobalID:0x007fde1bcf4da0 @uri=#<URI::GID gid://dummy/Category/322908140>>
1986
- [ActiveJob] [Thermos::RefillJob] [36c668e3-b269-4d7a-bc6f-80f651e08395] [Thermos::RebuildCacheJob] [7b1ae7cc-ef97-4cf6-9917-bfa6764b3dee] Performing Thermos::RebuildCacheJob (Job ID: 7b1ae7cc-ef97-4cf6-9917-bfa6764b3dee) from Inline(default) with arguments: "key", "foo"
1987
- [ActiveJob] [Thermos::RefillJob] [36c668e3-b269-4d7a-bc6f-80f651e08395] [Thermos::RebuildCacheJob] [7b1ae7cc-ef97-4cf6-9917-bfa6764b3dee] Performed Thermos::RebuildCacheJob (Job ID: 7b1ae7cc-ef97-4cf6-9917-bfa6764b3dee) from Inline(default) in 1.05ms
1988
- [ActiveJob] [Thermos::RefillJob] [36c668e3-b269-4d7a-bc6f-80f651e08395] Enqueued Thermos::RebuildCacheJob (Job ID: 7b1ae7cc-ef97-4cf6-9917-bfa6764b3dee) to Inline(default) with arguments: "key", "foo"
1989
- [ActiveJob] [Thermos::RefillJob] [36c668e3-b269-4d7a-bc6f-80f651e08395] Performed Thermos::RefillJob (Job ID: 36c668e3-b269-4d7a-bc6f-80f651e08395) from Inline(default) in 1.54ms
1990
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 36c668e3-b269-4d7a-bc6f-80f651e08395) to Inline(default) with arguments: #<GlobalID:0x007fde1af53188 @uri=#<URI::GID gid://dummy/Category/322908140>>
1991
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1992
-  (0.0ms) SAVEPOINT active_record_1
1993
- Product Update (0.2ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:42:18.479887"], ["id", 469160771]]
1994
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
1995
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada] Performing Thermos::RefillJob (Job ID: fa68d859-e6cd-40d8-b851-ad66a1afcada) from Inline(default) with arguments: #<GlobalID:0x007fde1bce5b48 @uri=#<URI::GID gid://dummy/Product/469160771>>
1996
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada]  (0.1ms) SELECT "categories"."name" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
1997
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada] [Thermos::RebuildCacheJob] [bbf4795b-41ed-4e68-9f30-81ad8778f6b4] Performing Thermos::RebuildCacheJob (Job ID: bbf4795b-41ed-4e68-9f30-81ad8778f6b4) from Inline(default) with arguments: "key", "foo"
1998
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada] [Thermos::RebuildCacheJob] [bbf4795b-41ed-4e68-9f30-81ad8778f6b4] Performed Thermos::RebuildCacheJob (Job ID: bbf4795b-41ed-4e68-9f30-81ad8778f6b4) from Inline(default) in 0.94ms
1999
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada] Enqueued Thermos::RebuildCacheJob (Job ID: bbf4795b-41ed-4e68-9f30-81ad8778f6b4) to Inline(default) with arguments: "key", "foo"
2000
- [ActiveJob] [Thermos::RefillJob] [fa68d859-e6cd-40d8-b851-ad66a1afcada] Performed Thermos::RefillJob (Job ID: fa68d859-e6cd-40d8-b851-ad66a1afcada) from Inline(default) in 2.45ms
2001
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fa68d859-e6cd-40d8-b851-ad66a1afcada) to Inline(default) with arguments: #<GlobalID:0x007fde1e85b8e0 @uri=#<URI::GID gid://dummy/Product/469160771>>
2002
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2003
-  (0.3ms) rollback transaction
2004
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2005
-  (0.0ms) PRAGMA foreign_keys
2006
-  (0.0ms) PRAGMA foreign_keys = OFF
2007
-  (0.0ms) begin transaction
2008
- Fixture Delete (0.8ms) DELETE FROM "products"
2009
- Fixture Delete (0.4ms) DELETE FROM "categories"
2010
- Fixture Delete (0.4ms) DELETE FROM "category_items"
2011
- Fixture Delete (0.4ms) DELETE FROM "stores"
2012
- Fixture Insert (0.5ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-15 22:47:23.715435', '2018-10-15 22:47:23.715435', 469160771)
2013
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-15 22:47:23.716903', '2018-10-15 22:47:23.716903', 322908140, 868874525)
2014
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-15 22:47:23.717834', '2018-10-15 22:47:23.717834', 678302810, 322908140, 469160771)
2015
- Fixture Insert (0.4ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-15 22:47:23.718817', '2018-10-15 22:47:23.718817', 868874525)
2016
-  (2.2ms) commit transaction
2017
-  (0.1ms) PRAGMA foreign_keys = 1
2018
-  (0.0ms) begin transaction
2019
- ----------------------------------------------------------------
2020
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
2021
- ----------------------------------------------------------------
2022
-  (0.1ms) SAVEPOINT active_record_1
2023
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:47:23.733070"], ["updated_at", "2018-10-15 22:47:23.733070"]]
2024
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2025
- [ActiveJob] [Thermos::RefillJob] [38f156f9-98f2-4b84-a778-efe98b404c9d] Performing Thermos::RefillJob (Job ID: 38f156f9-98f2-4b84-a778-efe98b404c9d) from Inline(default) with arguments: #<GlobalID:0x007fe184dbd7e8 @uri=#<URI::GID gid://dummy/Category/322908141>>
2026
- [ActiveJob] [Thermos::RefillJob] [38f156f9-98f2-4b84-a778-efe98b404c9d] [Thermos::RebuildCacheJob] [89604d03-8dfc-4dba-8ec1-45348b937fd2] Performing Thermos::RebuildCacheJob (Job ID: 89604d03-8dfc-4dba-8ec1-45348b937fd2) from Inline(default) with arguments: "key", "foo"
2027
- [ActiveJob] [Thermos::RefillJob] [38f156f9-98f2-4b84-a778-efe98b404c9d] [Thermos::RebuildCacheJob] [89604d03-8dfc-4dba-8ec1-45348b937fd2] Performed Thermos::RebuildCacheJob (Job ID: 89604d03-8dfc-4dba-8ec1-45348b937fd2) from Inline(default) in 1.38ms
2028
- [ActiveJob] [Thermos::RefillJob] [38f156f9-98f2-4b84-a778-efe98b404c9d] Enqueued Thermos::RebuildCacheJob (Job ID: 89604d03-8dfc-4dba-8ec1-45348b937fd2) to Inline(default) with arguments: "key", "foo"
2029
- [ActiveJob] [Thermos::RefillJob] [38f156f9-98f2-4b84-a778-efe98b404c9d] Performed Thermos::RefillJob (Job ID: 38f156f9-98f2-4b84-a778-efe98b404c9d) from Inline(default) in 6.63ms
2030
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 38f156f9-98f2-4b84-a778-efe98b404c9d) to Inline(default) with arguments: #<GlobalID:0x007fe186cb74a0 @uri=#<URI::GID gid://dummy/Category/322908141>>
2031
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2032
-  (0.3ms) rollback transaction
2033
-  (0.1ms) begin transaction
2034
- -------------------------------------------------------------------------------------
2035
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
2036
- -------------------------------------------------------------------------------------
2037
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2038
-  (0.1ms) SAVEPOINT active_record_1
2039
- Store Create (0.4ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:47:23.757012"], ["updated_at", "2018-10-15 22:47:23.757012"]]
2040
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2041
-  (0.1ms) SAVEPOINT active_record_1
2042
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.761187"], ["id", 868874526]]
2043
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2044
- [ActiveJob] [Thermos::RefillJob] [e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc] Performing Thermos::RefillJob (Job ID: e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc) from Inline(default) with arguments: #<GlobalID:0x007fe1859a0c90 @uri=#<URI::GID gid://dummy/Store/868874526>>
2045
- [ActiveJob] [Thermos::RefillJob] [e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2046
- [ActiveJob] [Thermos::RefillJob] [e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc] Performed Thermos::RefillJob (Job ID: e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc) from Inline(default) in 8.26ms
2047
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e0cfa021-373b-4cce-8cc6-f5d4b37aa4fc) to Inline(default) with arguments: #<GlobalID:0x007fe184d028d0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2048
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2049
-  (0.3ms) rollback transaction
2050
-  (0.1ms) begin transaction
2051
- ---------------------------------------------------------
2052
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
2053
- ---------------------------------------------------------
2054
-  (0.1ms) rollback transaction
2055
-  (0.1ms) begin transaction
2056
- ----------------------------------------------------------------------
2057
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
2058
- ----------------------------------------------------------------------
2059
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2060
-  (0.1ms) SAVEPOINT active_record_1
2061
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:47:23.808851"], ["updated_at", "2018-10-15 22:47:23.808851"]]
2062
- CategoryItem Create (0.1ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-15 22:47:23.810114"], ["updated_at", "2018-10-15 22:47:23.810114"]]
2063
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2064
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275] Performing Thermos::RefillJob (Job ID: d238009b-7936-48df-9efc-497233cf5275) from Inline(default) with arguments: #<GlobalID:0x007fe186b70970 @uri=#<URI::GID gid://dummy/Product/469160772>>
2065
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2066
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275] [Thermos::RebuildCacheJob] [ef8ec3d1-d3dc-46c6-8361-aabe45d9653b] Performing Thermos::RebuildCacheJob (Job ID: ef8ec3d1-d3dc-46c6-8361-aabe45d9653b) from Inline(default) with arguments: "key", 322908140
2067
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275] [Thermos::RebuildCacheJob] [ef8ec3d1-d3dc-46c6-8361-aabe45d9653b] Performed Thermos::RebuildCacheJob (Job ID: ef8ec3d1-d3dc-46c6-8361-aabe45d9653b) from Inline(default) in 1.21ms
2068
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275] Enqueued Thermos::RebuildCacheJob (Job ID: ef8ec3d1-d3dc-46c6-8361-aabe45d9653b) to Inline(default) with arguments: "key", 322908140
2069
- [ActiveJob] [Thermos::RefillJob] [d238009b-7936-48df-9efc-497233cf5275] Performed Thermos::RefillJob (Job ID: d238009b-7936-48df-9efc-497233cf5275) from Inline(default) in 2.75ms
2070
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: d238009b-7936-48df-9efc-497233cf5275) to Inline(default) with arguments: #<GlobalID:0x007fe186b817e8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2071
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2072
-  (0.3ms) rollback transaction
2073
-  (0.1ms) begin transaction
2074
- --------------------------------------------------------------------------
2075
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
2076
- --------------------------------------------------------------------------
2077
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2078
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2079
-  (0.1ms) SAVEPOINT active_record_1
2080
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.821599"], ["id", 322908140]]
2081
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2082
- [ActiveJob] [Thermos::RefillJob] [2b87ad9d-8866-412d-ab51-6e0be39489ec] Performing Thermos::RefillJob (Job ID: 2b87ad9d-8866-412d-ab51-6e0be39489ec) from Inline(default) with arguments: #<GlobalID:0x007fe186b19ee0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2083
- [ActiveJob] [Thermos::RefillJob] [2b87ad9d-8866-412d-ab51-6e0be39489ec] [Thermos::RebuildCacheJob] [80b9abcc-6e2c-40f6-9cb5-978fe6230c85] Performing Thermos::RebuildCacheJob (Job ID: 80b9abcc-6e2c-40f6-9cb5-978fe6230c85) from Inline(default) with arguments: "key", "foo"
2084
- [ActiveJob] [Thermos::RefillJob] [2b87ad9d-8866-412d-ab51-6e0be39489ec] [Thermos::RebuildCacheJob] [80b9abcc-6e2c-40f6-9cb5-978fe6230c85] Performed Thermos::RebuildCacheJob (Job ID: 80b9abcc-6e2c-40f6-9cb5-978fe6230c85) from Inline(default) in 1.89ms
2085
- [ActiveJob] [Thermos::RefillJob] [2b87ad9d-8866-412d-ab51-6e0be39489ec] Enqueued Thermos::RebuildCacheJob (Job ID: 80b9abcc-6e2c-40f6-9cb5-978fe6230c85) to Inline(default) with arguments: "key", "foo"
2086
- [ActiveJob] [Thermos::RefillJob] [2b87ad9d-8866-412d-ab51-6e0be39489ec] Performed Thermos::RefillJob (Job ID: 2b87ad9d-8866-412d-ab51-6e0be39489ec) from Inline(default) in 3.0ms
2087
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2b87ad9d-8866-412d-ab51-6e0be39489ec) to Inline(default) with arguments: #<GlobalID:0x007fe184b30d90 @uri=#<URI::GID gid://dummy/Category/322908140>>
2088
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2089
-  (0.0ms) SAVEPOINT active_record_1
2090
- Product Update (0.3ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.828315"], ["id", 469160771]]
2091
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2092
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872] Performing Thermos::RefillJob (Job ID: e72b89c7-4347-4990-b5ea-cea17be9b872) from Inline(default) with arguments: #<GlobalID:0x007fe186adbeb0 @uri=#<URI::GID gid://dummy/Product/469160771>>
2093
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872]  (0.1ms) SELECT "categories"."name" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2094
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872] [Thermos::RebuildCacheJob] [a717da87-e35f-4c67-a4fa-60e61993c070] Performing Thermos::RebuildCacheJob (Job ID: a717da87-e35f-4c67-a4fa-60e61993c070) from Inline(default) with arguments: "key", "foo"
2095
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872] [Thermos::RebuildCacheJob] [a717da87-e35f-4c67-a4fa-60e61993c070] Performed Thermos::RebuildCacheJob (Job ID: a717da87-e35f-4c67-a4fa-60e61993c070) from Inline(default) in 0.74ms
2096
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872] Enqueued Thermos::RebuildCacheJob (Job ID: a717da87-e35f-4c67-a4fa-60e61993c070) to Inline(default) with arguments: "key", "foo"
2097
- [ActiveJob] [Thermos::RefillJob] [e72b89c7-4347-4990-b5ea-cea17be9b872] Performed Thermos::RefillJob (Job ID: e72b89c7-4347-4990-b5ea-cea17be9b872) from Inline(default) in 2.14ms
2098
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e72b89c7-4347-4990-b5ea-cea17be9b872) to Inline(default) with arguments: #<GlobalID:0x007fe184b09c68 @uri=#<URI::GID gid://dummy/Product/469160771>>
2099
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2100
-  (0.3ms) rollback transaction
2101
-  (0.0ms) begin transaction
2102
- --------------------------------------------------------------
2103
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
2104
- --------------------------------------------------------------
2105
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2106
-  (0.1ms) SAVEPOINT active_record_1
2107
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-15 22:47:23.836920"], ["updated_at", "2018-10-15 22:47:23.836920"]]
2108
- [ActiveJob] CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2109
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874] Performing Thermos::RefillJob (Job ID: e932869c-163d-450e-b70b-c9322fab7874) from Inline(default) with arguments: #<GlobalID:0x007fe184ad2970 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2110
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2111
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874] [Thermos::RebuildCacheJob] [44815e84-996c-4a45-9896-5a893320fd9c] Performing Thermos::RebuildCacheJob (Job ID: 44815e84-996c-4a45-9896-5a893320fd9c) from Inline(default) with arguments: "key", 322908140
2112
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874] [Thermos::RebuildCacheJob] [44815e84-996c-4a45-9896-5a893320fd9c] Performed Thermos::RebuildCacheJob (Job ID: 44815e84-996c-4a45-9896-5a893320fd9c) from Inline(default) in 1.38ms
2113
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874] Enqueued Thermos::RebuildCacheJob (Job ID: 44815e84-996c-4a45-9896-5a893320fd9c) to Inline(default) with arguments: "key", 322908140
2114
- [ActiveJob] [Thermos::RefillJob] [e932869c-163d-450e-b70b-c9322fab7874] Performed Thermos::RefillJob (Job ID: e932869c-163d-450e-b70b-c9322fab7874) from Inline(default) in 2.8ms
2115
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e932869c-163d-450e-b70b-c9322fab7874) to Inline(default) with arguments: #<GlobalID:0x007fe184ad6c50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2116
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2117
-  (0.4ms) rollback transaction
2118
-  (0.1ms) begin transaction
2119
- -------------------------------------------------------------------------------------------
2120
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
2121
- -------------------------------------------------------------------------------------------
2122
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2123
-  (0.1ms) SAVEPOINT active_record_1
2124
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:47:23.846903"], ["updated_at", "2018-10-15 22:47:23.846903"]]
2125
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2126
- [ActiveJob] [Thermos::RefillJob] [1cb9a8db-8ca0-478f-a344-57c031ad9346] Performing Thermos::RefillJob (Job ID: 1cb9a8db-8ca0-478f-a344-57c031ad9346) from Inline(default) with arguments: #<GlobalID:0x007fe184aa1460 @uri=#<URI::GID gid://dummy/Product/469160772>>
2127
- [ActiveJob] [Thermos::RefillJob] [1cb9a8db-8ca0-478f-a344-57c031ad9346] Performed Thermos::RefillJob (Job ID: 1cb9a8db-8ca0-478f-a344-57c031ad9346) from Inline(default) in 0.03ms
2128
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 1cb9a8db-8ca0-478f-a344-57c031ad9346) to Inline(default) with arguments: #<GlobalID:0x007fe184ab2698 @uri=#<URI::GID gid://dummy/Product/469160772>>
2129
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2130
-  (0.1ms) SAVEPOINT active_record_1
2131
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.851155"], ["id", 469160772]]
2132
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2133
- [ActiveJob] [Thermos::RefillJob] [7150fbe1-cbdb-4868-83f6-f90f4ae4b185] Performing Thermos::RefillJob (Job ID: 7150fbe1-cbdb-4868-83f6-f90f4ae4b185) from Inline(default) with arguments: #<GlobalID:0x007fe1850775b0 @uri=#<URI::GID gid://dummy/Product/469160772>>
2134
- [ActiveJob] [Thermos::RefillJob] [7150fbe1-cbdb-4868-83f6-f90f4ae4b185]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2135
- [ActiveJob] [Thermos::RefillJob] [7150fbe1-cbdb-4868-83f6-f90f4ae4b185] Performed Thermos::RefillJob (Job ID: 7150fbe1-cbdb-4868-83f6-f90f4ae4b185) from Inline(default) in 0.83ms
2136
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7150fbe1-cbdb-4868-83f6-f90f4ae4b185) to Inline(default) with arguments: #<GlobalID:0x007fe184ab2698 @uri=#<URI::GID gid://dummy/Product/469160772>>
2137
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2138
-  (0.2ms) rollback transaction
2139
-  (0.0ms) begin transaction
2140
- ------------------------------------------------------
2141
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
2142
- ------------------------------------------------------
2143
-  (0.1ms) rollback transaction
2144
-  (0.0ms) begin transaction
2145
- -----------------------------------------------------------------------------------
2146
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
2147
- -----------------------------------------------------------------------------------
2148
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2149
-  (0.1ms) SAVEPOINT active_record_1
2150
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-15 22:47:23.859955"], ["updated_at", "2018-10-15 22:47:23.859955"]]
2151
- [ActiveJob] CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2152
- [ActiveJob] [Thermos::RefillJob] [eb19ee98-7bee-4140-820b-665728d150a9] Performing Thermos::RefillJob (Job ID: eb19ee98-7bee-4140-820b-665728d150a9) from Inline(default) with arguments: #<GlobalID:0x007fe1849fa1b0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2153
- [ActiveJob] [Thermos::RefillJob] [eb19ee98-7bee-4140-820b-665728d150a9] Performed Thermos::RefillJob (Job ID: eb19ee98-7bee-4140-820b-665728d150a9) from Inline(default) in 0.08ms
2154
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: eb19ee98-7bee-4140-820b-665728d150a9) to Inline(default) with arguments: #<GlobalID:0x007fe184a28858 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2155
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2156
-  (0.1ms) SAVEPOINT active_record_1
2157
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.866086"], ["id", 678302811]]
2158
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2159
- [ActiveJob] [Thermos::RefillJob] [e75d502c-dc1b-4608-9f4a-bf45063f2e69] Performing Thermos::RefillJob (Job ID: e75d502c-dc1b-4608-9f4a-bf45063f2e69) from Inline(default) with arguments: #<GlobalID:0x007fe18692a300 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2160
- [ActiveJob] [Thermos::RefillJob] [e75d502c-dc1b-4608-9f4a-bf45063f2e69]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2161
- [ActiveJob] [Thermos::RefillJob] [e75d502c-dc1b-4608-9f4a-bf45063f2e69] Performed Thermos::RefillJob (Job ID: e75d502c-dc1b-4608-9f4a-bf45063f2e69) from Inline(default) in 0.62ms
2162
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e75d502c-dc1b-4608-9f4a-bf45063f2e69) to Inline(default) with arguments: #<GlobalID:0x007fe184a28858 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2164
-  (0.3ms) rollback transaction
2165
-  (0.1ms) begin transaction
2166
- ---------------------------------------------------------------------------------------------------------------------------
2167
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
2168
- ---------------------------------------------------------------------------------------------------------------------------
2169
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2170
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2171
-  (0.1ms) SAVEPOINT active_record_1
2172
- Product Update (0.3ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.873732"], ["id", 469160771]]
2173
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2174
- [ActiveJob] [Thermos::RefillJob] [0587fea4-51b6-410c-9058-b00c6494b288] Performing Thermos::RefillJob (Job ID: 0587fea4-51b6-410c-9058-b00c6494b288) from Inline(default) with arguments: #<GlobalID:0x007fe184978c00 @uri=#<URI::GID gid://dummy/Product/469160771>>
2175
- [ActiveJob] [Thermos::RefillJob] [0587fea4-51b6-410c-9058-b00c6494b288] [Thermos::RebuildCacheJob] [41e853db-5e92-4516-a7a8-5a6d46a48dfd] Performing Thermos::RebuildCacheJob (Job ID: 41e853db-5e92-4516-a7a8-5a6d46a48dfd) from Inline(default) with arguments: "product_key", 469160771
2176
- [ActiveJob] [Thermos::RefillJob] [0587fea4-51b6-410c-9058-b00c6494b288] [Thermos::RebuildCacheJob] [41e853db-5e92-4516-a7a8-5a6d46a48dfd] Performed Thermos::RebuildCacheJob (Job ID: 41e853db-5e92-4516-a7a8-5a6d46a48dfd) from Inline(default) in 1.41ms
2177
- [ActiveJob] [Thermos::RefillJob] [0587fea4-51b6-410c-9058-b00c6494b288] Enqueued Thermos::RebuildCacheJob (Job ID: 41e853db-5e92-4516-a7a8-5a6d46a48dfd) to Inline(default) with arguments: "product_key", 469160771
2178
- [ActiveJob] [Thermos::RefillJob] [0587fea4-51b6-410c-9058-b00c6494b288] Performed Thermos::RefillJob (Job ID: 0587fea4-51b6-410c-9058-b00c6494b288) from Inline(default) in 2.08ms
2179
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0587fea4-51b6-410c-9058-b00c6494b288) to Inline(default) with arguments: #<GlobalID:0x007fe1849ab218 @uri=#<URI::GID gid://dummy/Product/469160771>>
2180
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2181
-  (0.3ms) rollback transaction
2182
-  (0.0ms) begin transaction
2183
- ---------------------------------------------------------------
2184
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
2185
- ---------------------------------------------------------------
2186
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2187
- Store Load (4.5ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2188
-  (0.1ms) SAVEPOINT active_record_1
2189
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.887634"], ["id", 868874525]]
2190
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2191
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775] Performing Thermos::RefillJob (Job ID: fad75259-cac8-4636-a083-4ef662dc2775) from Inline(default) with arguments: #<GlobalID:0x007fe185b83558 @uri=#<URI::GID gid://dummy/Store/868874525>>
2192
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874525]]
2193
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775] [Thermos::RebuildCacheJob] [a9926df4-d717-496c-9151-94244433249b] Performing Thermos::RebuildCacheJob (Job ID: a9926df4-d717-496c-9151-94244433249b) from Inline(default) with arguments: "key", 322908140
2194
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775] [Thermos::RebuildCacheJob] [a9926df4-d717-496c-9151-94244433249b] Performed Thermos::RebuildCacheJob (Job ID: a9926df4-d717-496c-9151-94244433249b) from Inline(default) in 1.17ms
2195
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775] Enqueued Thermos::RebuildCacheJob (Job ID: a9926df4-d717-496c-9151-94244433249b) to Inline(default) with arguments: "key", 322908140
2196
- [ActiveJob] [Thermos::RefillJob] [fad75259-cac8-4636-a083-4ef662dc2775] Performed Thermos::RefillJob (Job ID: fad75259-cac8-4636-a083-4ef662dc2775) from Inline(default) in 3.1ms
2197
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fad75259-cac8-4636-a083-4ef662dc2775) to Inline(default) with arguments: #<GlobalID:0x007fe185b912c0 @uri=#<URI::GID gid://dummy/Store/868874525>>
2198
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2199
-  (0.5ms) rollback transaction
2200
-  (0.1ms) begin transaction
2201
- -------------------------------------------------------------
2202
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
2203
- -------------------------------------------------------------
2204
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2205
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2206
-  (0.1ms) SAVEPOINT active_record_1
2207
- CategoryItem Update (0.4ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.899536"], ["id", 678302810]]
2208
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2209
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9] Performing Thermos::RefillJob (Job ID: 7cd16058-419b-4fe9-beb4-aadac96243d9) from Inline(default) with arguments: #<GlobalID:0x007fe185b326f8 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2210
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302810]]
2211
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9] [Thermos::RebuildCacheJob] [5f688b74-56f4-478a-9f13-f0099f935cf2] Performing Thermos::RebuildCacheJob (Job ID: 5f688b74-56f4-478a-9f13-f0099f935cf2) from Inline(default) with arguments: "key", 322908140
2212
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9] [Thermos::RebuildCacheJob] [5f688b74-56f4-478a-9f13-f0099f935cf2] Performed Thermos::RebuildCacheJob (Job ID: 5f688b74-56f4-478a-9f13-f0099f935cf2) from Inline(default) in 0.76ms
2213
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9] Enqueued Thermos::RebuildCacheJob (Job ID: 5f688b74-56f4-478a-9f13-f0099f935cf2) to Inline(default) with arguments: "key", 322908140
2214
- [ActiveJob] [Thermos::RefillJob] [7cd16058-419b-4fe9-beb4-aadac96243d9] Performed Thermos::RefillJob (Job ID: 7cd16058-419b-4fe9-beb4-aadac96243d9) from Inline(default) in 1.92ms
2215
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7cd16058-419b-4fe9-beb4-aadac96243d9) to Inline(default) with arguments: #<GlobalID:0x007fe185b3bf78 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2216
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2217
-  (0.3ms) rollback transaction
2218
-  (0.2ms) begin transaction
2219
- ----------------------------------------------------------------------------------
2220
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
2221
- ----------------------------------------------------------------------------------
2222
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2223
-  (0.0ms) SAVEPOINT active_record_1
2224
- Category Create (0.3ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-15 22:47:23.908379"], ["updated_at", "2018-10-15 22:47:23.908379"]]
2225
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2226
- [ActiveJob] [Thermos::RefillJob] [ca9b054a-bee2-47d6-8116-90d89024aafb] Performing Thermos::RefillJob (Job ID: ca9b054a-bee2-47d6-8116-90d89024aafb) from Inline(default) with arguments: #<GlobalID:0x007fe1889da500 @uri=#<URI::GID gid://dummy/Category/322908141>>
2227
- [ActiveJob] [Thermos::RefillJob] [ca9b054a-bee2-47d6-8116-90d89024aafb] Performed Thermos::RefillJob (Job ID: ca9b054a-bee2-47d6-8116-90d89024aafb) from Inline(default) in 0.04ms
2228
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ca9b054a-bee2-47d6-8116-90d89024aafb) to Inline(default) with arguments: #<GlobalID:0x007fe1889e8290 @uri=#<URI::GID gid://dummy/Category/322908141>>
2229
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2230
-  (0.1ms) SAVEPOINT active_record_1
2231
- Category Update (0.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.912880"], ["id", 322908140]]
2232
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2233
- [ActiveJob] [Thermos::RefillJob] [7ef77be0-1b78-41a4-ae59-5c5197d22847] Performing Thermos::RefillJob (Job ID: 7ef77be0-1b78-41a4-ae59-5c5197d22847) from Inline(default) with arguments: #<GlobalID:0x007fe185ae06a0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2234
- [ActiveJob] [Thermos::RefillJob] [7ef77be0-1b78-41a4-ae59-5c5197d22847] [Thermos::RebuildCacheJob] [61335673-ab33-4858-a026-f1300b9a4920] Performing Thermos::RebuildCacheJob (Job ID: 61335673-ab33-4858-a026-f1300b9a4920) from Inline(default) with arguments: "key", 322908140
2235
- [ActiveJob] [Thermos::RefillJob] [7ef77be0-1b78-41a4-ae59-5c5197d22847] [Thermos::RebuildCacheJob] [61335673-ab33-4858-a026-f1300b9a4920] Performed Thermos::RebuildCacheJob (Job ID: 61335673-ab33-4858-a026-f1300b9a4920) from Inline(default) in 1.04ms
2236
- [ActiveJob] [Thermos::RefillJob] [7ef77be0-1b78-41a4-ae59-5c5197d22847] Enqueued Thermos::RebuildCacheJob (Job ID: 61335673-ab33-4858-a026-f1300b9a4920) to Inline(default) with arguments: "key", 322908140
2237
- [ActiveJob] [Thermos::RefillJob] [7ef77be0-1b78-41a4-ae59-5c5197d22847] Performed Thermos::RefillJob (Job ID: 7ef77be0-1b78-41a4-ae59-5c5197d22847) from Inline(default) in 1.64ms
2238
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7ef77be0-1b78-41a4-ae59-5c5197d22847) to Inline(default) with arguments: #<GlobalID:0x007fe185aebca8 @uri=#<URI::GID gid://dummy/Category/322908140>>
2239
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2240
-  (0.2ms) rollback transaction
2241
-  (0.1ms) begin transaction
2242
- ---------------------------------------------------------------------
2243
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
2244
- ---------------------------------------------------------------------
2245
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2246
- Product Load (0.0ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2247
-  (0.1ms) SAVEPOINT active_record_1
2248
- Product Update (0.5ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.921392"], ["id", 469160771]]
2249
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2250
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6] Performing Thermos::RefillJob (Job ID: 0152229e-7a78-4b28-be00-0532d8c313a6) from Inline(default) with arguments: #<GlobalID:0x007fe185a92180 @uri=#<URI::GID gid://dummy/Product/469160771>>
2251
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2252
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6] [Thermos::RebuildCacheJob] [737c62ce-9487-4040-920c-4adf9f6c4522] Performing Thermos::RebuildCacheJob (Job ID: 737c62ce-9487-4040-920c-4adf9f6c4522) from Inline(default) with arguments: "key", 322908140
2253
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6] [Thermos::RebuildCacheJob] [737c62ce-9487-4040-920c-4adf9f6c4522] Performed Thermos::RebuildCacheJob (Job ID: 737c62ce-9487-4040-920c-4adf9f6c4522) from Inline(default) in 0.67ms
2254
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6] Enqueued Thermos::RebuildCacheJob (Job ID: 737c62ce-9487-4040-920c-4adf9f6c4522) to Inline(default) with arguments: "key", 322908140
2255
- [ActiveJob] [Thermos::RefillJob] [0152229e-7a78-4b28-be00-0532d8c313a6] Performed Thermos::RefillJob (Job ID: 0152229e-7a78-4b28-be00-0532d8c313a6) from Inline(default) in 1.95ms
2256
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0152229e-7a78-4b28-be00-0532d8c313a6) to Inline(default) with arguments: #<GlobalID:0x007fe185aa02f8 @uri=#<URI::GID gid://dummy/Product/469160771>>
2257
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2258
-  (0.3ms) rollback transaction
2259
-  (0.1ms) begin transaction
2260
- ----------------------------------------------------------------
2261
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
2262
- ----------------------------------------------------------------
2263
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2264
-  (0.1ms) SAVEPOINT active_record_1
2265
- Store Create (0.3ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-15 22:47:23.931494"], ["updated_at", "2018-10-15 22:47:23.931494"]]
2266
- Category Update (0.2ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-15 22:47:23.932541"], ["id", 322908140]]
2267
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2268
- [ActiveJob] [Thermos::RefillJob] [14a92541-2633-40e5-8726-0f7f0a44e587] Performing Thermos::RefillJob (Job ID: 14a92541-2633-40e5-8726-0f7f0a44e587) from Inline(default) with arguments: #<GlobalID:0x007fe1889a9658 @uri=#<URI::GID gid://dummy/Category/322908140>>
2269
- [ActiveJob] [Thermos::RefillJob] [14a92541-2633-40e5-8726-0f7f0a44e587] [Thermos::RebuildCacheJob] [0ef346e6-7caa-4d06-b0bc-b53427baec86] Performing Thermos::RebuildCacheJob (Job ID: 0ef346e6-7caa-4d06-b0bc-b53427baec86) from Inline(default) with arguments: "key", 322908140
2270
- [ActiveJob] [Thermos::RefillJob] [14a92541-2633-40e5-8726-0f7f0a44e587] [Thermos::RebuildCacheJob] [0ef346e6-7caa-4d06-b0bc-b53427baec86] Performed Thermos::RebuildCacheJob (Job ID: 0ef346e6-7caa-4d06-b0bc-b53427baec86) from Inline(default) in 1.15ms
2271
- [ActiveJob] [Thermos::RefillJob] [14a92541-2633-40e5-8726-0f7f0a44e587] Enqueued Thermos::RebuildCacheJob (Job ID: 0ef346e6-7caa-4d06-b0bc-b53427baec86) to Inline(default) with arguments: "key", 322908140
2272
- [ActiveJob] [Thermos::RefillJob] [14a92541-2633-40e5-8726-0f7f0a44e587] Performed Thermos::RefillJob (Job ID: 14a92541-2633-40e5-8726-0f7f0a44e587) from Inline(default) in 1.64ms
2273
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 14a92541-2633-40e5-8726-0f7f0a44e587) to Inline(default) with arguments: #<GlobalID:0x007fe1889b1a60 @uri=#<URI::GID gid://dummy/Category/322908140>>
2274
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2275
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb] Performing Thermos::RefillJob (Job ID: fac17e6e-7af8-4d0f-9da0-fb023576cffb) from Inline(default) with arguments: #<GlobalID:0x007fe185326158 @uri=#<URI::GID gid://dummy/Store/868874526>>
2276
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2277
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb] [Thermos::RebuildCacheJob] [1e6f22d1-5a4d-4aab-a5e0-add0b3b120e3] Performing Thermos::RebuildCacheJob (Job ID: 1e6f22d1-5a4d-4aab-a5e0-add0b3b120e3) from Inline(default) with arguments: "key", 322908140
2278
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb] [Thermos::RebuildCacheJob] [1e6f22d1-5a4d-4aab-a5e0-add0b3b120e3] Performed Thermos::RebuildCacheJob (Job ID: 1e6f22d1-5a4d-4aab-a5e0-add0b3b120e3) from Inline(default) in 0.89ms
2279
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb] Enqueued Thermos::RebuildCacheJob (Job ID: 1e6f22d1-5a4d-4aab-a5e0-add0b3b120e3) to Inline(default) with arguments: "key", 322908140
2280
- [ActiveJob] [Thermos::RefillJob] [fac17e6e-7af8-4d0f-9da0-fb023576cffb] Performed Thermos::RefillJob (Job ID: fac17e6e-7af8-4d0f-9da0-fb023576cffb) from Inline(default) in 3.73ms
2281
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fac17e6e-7af8-4d0f-9da0-fb023576cffb) to Inline(default) with arguments: #<GlobalID:0x007fe18532fac8 @uri=#<URI::GID gid://dummy/Store/868874526>>
2282
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2283
-  (0.3ms) rollback transaction
2284
-  (0.1ms) begin transaction
2285
- ------------------------------------------------------------
2286
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
2287
- ------------------------------------------------------------
2288
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2289
-  (0.1ms) SAVEPOINT active_record_1
2290
- Category Update (0.3ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-15 22:47:23.947235"], ["id", 322908140]]
2291
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2292
- [ActiveJob] [Thermos::RefillJob] [0471df84-b002-4c33-b5d1-6bdfce03f390] Performing Thermos::RefillJob (Job ID: 0471df84-b002-4c33-b5d1-6bdfce03f390) from Inline(default) with arguments: #<GlobalID:0x007fe188981400 @uri=#<URI::GID gid://dummy/Category/322908140>>
2293
- [ActiveJob] [Thermos::RefillJob] [0471df84-b002-4c33-b5d1-6bdfce03f390] [Thermos::RebuildCacheJob] [17646c84-011b-4326-bb65-38befbf6fe3d] Performing Thermos::RebuildCacheJob (Job ID: 17646c84-011b-4326-bb65-38befbf6fe3d) from Inline(default) with arguments: "key", 322908140
2294
- [ActiveJob] [Thermos::RefillJob] [0471df84-b002-4c33-b5d1-6bdfce03f390] [Thermos::RebuildCacheJob] [17646c84-011b-4326-bb65-38befbf6fe3d] Performed Thermos::RebuildCacheJob (Job ID: 17646c84-011b-4326-bb65-38befbf6fe3d) from Inline(default) in 0.59ms
2295
- [ActiveJob] [Thermos::RefillJob] [0471df84-b002-4c33-b5d1-6bdfce03f390] Enqueued Thermos::RebuildCacheJob (Job ID: 17646c84-011b-4326-bb65-38befbf6fe3d) to Inline(default) with arguments: "key", 322908140
2296
- [ActiveJob] [Thermos::RefillJob] [0471df84-b002-4c33-b5d1-6bdfce03f390] Performed Thermos::RefillJob (Job ID: 0471df84-b002-4c33-b5d1-6bdfce03f390) from Inline(default) in 1.02ms
2297
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0471df84-b002-4c33-b5d1-6bdfce03f390) to Inline(default) with arguments: #<GlobalID:0x007fe18898a8e8 @uri=#<URI::GID gid://dummy/Category/322908140>>
2298
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2299
-  (0.2ms) rollback transaction
2300
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2301
-  (0.0ms) PRAGMA foreign_keys
2302
-  (0.1ms) PRAGMA foreign_keys = OFF
2303
-  (0.0ms) begin transaction
2304
- Fixture Delete (1.8ms) DELETE FROM "products"
2305
- Fixture Delete (1.0ms) DELETE FROM "categories"
2306
- Fixture Delete (0.5ms) DELETE FROM "category_items"
2307
- Fixture Delete (0.5ms) DELETE FROM "stores"
2308
- Fixture Insert (0.8ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-16 14:00:21.112152', '2018-10-16 14:00:21.112152', 469160771)
2309
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-16 14:00:21.114283', '2018-10-16 14:00:21.114283', 322908140, 868874525)
2310
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-16 14:00:21.116511', '2018-10-16 14:00:21.116511', 678302810, 322908140, 469160771)
2311
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-16 14:00:21.118109', '2018-10-16 14:00:21.118109', 868874525)
2312
-  (2.5ms) commit transaction
2313
-  (0.1ms) PRAGMA foreign_keys = 1
2314
-  (0.0ms) begin transaction
2315
- ----------------------------------------------------------------
2316
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
2317
- ----------------------------------------------------------------
2318
-  (0.1ms) SAVEPOINT active_record_1
2319
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-16 14:00:21.138243"], ["updated_at", "2018-10-16 14:00:21.138243"]]
2320
- [ActiveJob] Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2321
- [ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Performing Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) from Inline(default) with arguments: #<GlobalID:0x007fc5c7be1998 @uri=#<URI::GID gid://dummy/Category/322908141>>
2322
- [ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] [Thermos::RebuildCacheJob] [1bead20d-fa1f-4403-b681-efacc8d445de] Performing Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) from Inline(default) with arguments: "key", "foo"
2323
- [ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] [Thermos::RebuildCacheJob] [1bead20d-fa1f-4403-b681-efacc8d445de] Performed Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) from Inline(default) in 3.49ms
2324
- [ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Enqueued Thermos::RebuildCacheJob (Job ID: 1bead20d-fa1f-4403-b681-efacc8d445de) to Inline(default) with arguments: "key", "foo"
2325
- [ActiveJob] [Thermos::RefillJob] [2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa] Performed Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) from Inline(default) in 10.26ms
2326
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2dcbe1d5-7839-4e97-9b0c-5a334a1c32fa) to Inline(default) with arguments: #<GlobalID:0x007fc5c8b38950 @uri=#<URI::GID gid://dummy/Category/322908141>>
2327
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2328
-  (0.4ms) rollback transaction
2329
-  (0.1ms) begin transaction
2330
- ---------------------------------------------------------------------
2331
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
2332
- ---------------------------------------------------------------------
2333
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2334
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2335
-  (0.1ms) SAVEPOINT active_record_1
2336
- Product Update (0.6ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.186437"], ["id", 469160771]]
2337
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2338
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Performing Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) from Inline(default) with arguments: #<GlobalID:0x007fc5c8af98b8 @uri=#<URI::GID gid://dummy/Product/469160771>>
2339
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2340
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] [Thermos::RebuildCacheJob] [c8b3ea73-73bb-4345-bdf7-9d02b524335e] Performing Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) from Inline(default) with arguments: "key", 322908140
2341
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] [Thermos::RebuildCacheJob] [c8b3ea73-73bb-4345-bdf7-9d02b524335e] Performed Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) from Inline(default) in 0.81ms
2342
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Enqueued Thermos::RebuildCacheJob (Job ID: c8b3ea73-73bb-4345-bdf7-9d02b524335e) to Inline(default) with arguments: "key", 322908140
2343
- [ActiveJob] [Thermos::RefillJob] [5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1] Performed Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) from Inline(default) in 16.91ms
2344
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5dc89b40-28cc-481c-a5ad-8c2cdf85dbb1) to Inline(default) with arguments: #<GlobalID:0x007fc5c7bbc0f8 @uri=#<URI::GID gid://dummy/Product/469160771>>
2345
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2346
-  (0.5ms) rollback transaction
2347
-  (0.1ms) begin transaction
2348
- ------------------------------------------------------
2349
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
2350
- ------------------------------------------------------
2351
-  (0.1ms) rollback transaction
2352
-  (0.1ms) begin transaction
2353
- -----------------------------------------------------------------------------------
2354
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
2355
- -----------------------------------------------------------------------------------
2356
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2357
-  (0.1ms) SAVEPOINT active_record_1
2358
- CategoryItem Create (0.8ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-16 14:00:21.243339"], ["updated_at", "2018-10-16 14:00:21.243339"]]
2359
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2360
-  (0.1ms) SAVEPOINT active_record_1
2361
- CategoryItem Update (0.2ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.250132"], ["id", 678302811]]
2362
- [ActiveJob] CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2363
- [ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947] Performing Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) from Inline(default) with arguments: #<GlobalID:0x007fc5c8a920c8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2364
- [ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2365
- [ActiveJob] [Thermos::RefillJob] [72332f4b-88ef-4a7f-8fd4-d9ad10219947] Performed Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) from Inline(default) in 3.13ms
2366
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 72332f4b-88ef-4a7f-8fd4-d9ad10219947) to Inline(default) with arguments: #<GlobalID:0x007fc5c92bbf60 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2367
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2368
-  (0.4ms) rollback transaction
2369
-  (0.3ms) begin transaction
2370
- ----------------------------------------------------------------------------------
2371
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
2372
- ----------------------------------------------------------------------------------
2373
- Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2374
-  (0.1ms) SAVEPOINT active_record_1
2375
- Category Create (0.8ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-16 14:00:21.265676"], ["updated_at", "2018-10-16 14:00:21.265676"]]
2376
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2377
- [ActiveJob] [Thermos::RefillJob] [ea509e8b-4e06-43c4-ae1c-6cbfed741bec] Performing Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) from Inline(default) with arguments: #<GlobalID:0x007fc5c8a6b608 @uri=#<URI::GID gid://dummy/Category/322908141>>
2378
- [ActiveJob] [Thermos::RefillJob] [ea509e8b-4e06-43c4-ae1c-6cbfed741bec] Performed Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) from Inline(default) in 0.28ms
2379
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ea509e8b-4e06-43c4-ae1c-6cbfed741bec) to Inline(default) with arguments: #<GlobalID:0x007fc5c7aeded8 @uri=#<URI::GID gid://dummy/Category/322908141>>
2380
-  (0.2ms) RELEASE SAVEPOINT active_record_1
2381
-  (0.1ms) SAVEPOINT active_record_1
2382
- Category Update (0.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.282813"], ["id", 322908140]]
2383
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2384
- [ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Performing Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) from Inline(default) with arguments: #<GlobalID:0x007fc5c92926d8 @uri=#<URI::GID gid://dummy/Category/322908140>>
2385
- [ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] [Thermos::RebuildCacheJob] [a9e0dd01-7a19-481b-8edf-2e77d979dcb5] Performing Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) from Inline(default) with arguments: "key", 322908140
2386
- [ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] [Thermos::RebuildCacheJob] [a9e0dd01-7a19-481b-8edf-2e77d979dcb5] Performed Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) from Inline(default) in 2.55ms
2387
- [ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Enqueued Thermos::RebuildCacheJob (Job ID: a9e0dd01-7a19-481b-8edf-2e77d979dcb5) to Inline(default) with arguments: "key", 322908140
2388
- [ActiveJob] [Thermos::RefillJob] [6ee55d45-7506-45cb-a865-6a029b27abaf] Performed Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) from Inline(default) in 3.73ms
2389
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 6ee55d45-7506-45cb-a865-6a029b27abaf) to Inline(default) with arguments: #<GlobalID:0x007fc5c8a5ac40 @uri=#<URI::GID gid://dummy/Category/322908140>>
2390
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2391
-  (0.6ms) rollback transaction
2392
-  (0.1ms) begin transaction
2393
- -------------------------------------------------------------------------------------------
2394
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
2395
- -------------------------------------------------------------------------------------------
2396
- Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2397
-  (0.1ms) SAVEPOINT active_record_1
2398
- Product Create (1.1ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-16 14:00:21.299518"], ["updated_at", "2018-10-16 14:00:21.299518"]]
2399
- [ActiveJob] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2400
- [ActiveJob] [Thermos::RefillJob] [bdb055a5-8add-4f52-82a6-5371f44fd19a] Performing Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) from Inline(default) with arguments: #<GlobalID:0x007fc5c7a9ff80 @uri=#<URI::GID gid://dummy/Product/469160772>>
2401
- [ActiveJob] [Thermos::RefillJob] [bdb055a5-8add-4f52-82a6-5371f44fd19a] Performed Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) from Inline(default) in 0.05ms
2402
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: bdb055a5-8add-4f52-82a6-5371f44fd19a) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ab7ce8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2403
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2404
-  (0.1ms) SAVEPOINT active_record_1
2405
- Product Update (0.2ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.314428"], ["id", 469160772]]
2406
- [ActiveJob] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2407
- [ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1] Performing Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) from Inline(default) with arguments: #<GlobalID:0x007fc5c824ca80 @uri=#<URI::GID gid://dummy/Product/469160772>>
2408
- [ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2409
- [ActiveJob] [Thermos::RefillJob] [a55b8392-5477-4c61-95ca-b7bc284d55f1] Performed Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) from Inline(default) in 2.07ms
2410
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a55b8392-5477-4c61-95ca-b7bc284d55f1) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ab7ce8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2411
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2412
-  (0.4ms) rollback transaction
2413
-  (0.2ms) begin transaction
2414
- --------------------------------------------------------------------------
2415
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
2416
- --------------------------------------------------------------------------
2417
- Category Load (2.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2418
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2419
-  (0.1ms) SAVEPOINT active_record_1
2420
- Category Update (3.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.338177"], ["id", 322908140]]
2421
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2422
- [ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Performing Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) from Inline(default) with arguments: #<GlobalID:0x007fc5c923a190 @uri=#<URI::GID gid://dummy/Category/322908140>>
2423
- [ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] [Thermos::RebuildCacheJob] [dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f] Performing Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) from Inline(default) with arguments: "key", "foo"
2424
- [ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] [Thermos::RebuildCacheJob] [dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f] Performed Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) from Inline(default) in 4.49ms
2425
- [ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Enqueued Thermos::RebuildCacheJob (Job ID: dc0492fe-0f8a-4f7b-b105-8b76e6da3a9f) to Inline(default) with arguments: "key", "foo"
2426
- [ActiveJob] [Thermos::RefillJob] [41f27ac7-b91f-4dd3-9745-eca8429d270c] Performed Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) from Inline(default) in 5.73ms
2427
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 41f27ac7-b91f-4dd3-9745-eca8429d270c) to Inline(default) with arguments: #<GlobalID:0x007fc5c823cd38 @uri=#<URI::GID gid://dummy/Category/322908140>>
2428
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2429
-  (0.1ms) SAVEPOINT active_record_1
2430
- Product Update (0.2ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.356022"], ["id", 469160771]]
2431
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2432
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Performing Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) from Inline(default) with arguments: #<GlobalID:0x007fc5c92181f8 @uri=#<URI::GID gid://dummy/Product/469160771>>
2433
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0]  (0.2ms) SELECT "categories"."name" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2434
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] [Thermos::RebuildCacheJob] [b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd] Performing Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) from Inline(default) with arguments: "key", "foo"
2435
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] [Thermos::RebuildCacheJob] [b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd] Performed Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) from Inline(default) in 1.75ms
2436
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Enqueued Thermos::RebuildCacheJob (Job ID: b5e8ffe0-db27-4f4d-9e1f-a8eef131c4fd) to Inline(default) with arguments: "key", "foo"
2437
- [ActiveJob] [Thermos::RefillJob] [b26a9055-f62e-4bff-934f-e688177f7db0] Performed Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) from Inline(default) in 3.8ms
2438
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b26a9055-f62e-4bff-934f-e688177f7db0) to Inline(default) with arguments: #<GlobalID:0x007fc5c7a76770 @uri=#<URI::GID gid://dummy/Product/469160771>>
2439
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2440
-  (0.4ms) rollback transaction
2441
-  (0.1ms) begin transaction
2442
- ----------------------------------------------------------------
2443
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
2444
- ----------------------------------------------------------------
2445
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2446
-  (0.1ms) SAVEPOINT active_record_1
2447
- Store Create (0.9ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-16 14:00:21.416598"], ["updated_at", "2018-10-16 14:00:21.416598"]]
2448
- Category Update (0.5ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-16 14:00:21.420098"], ["id", 322908140]]
2449
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2450
- [ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Performing Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) from Inline(default) with arguments: #<GlobalID:0x007fc5c89338d0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2451
- [ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] [Thermos::RebuildCacheJob] [be74976e-a631-4f74-a5dd-ca8614a54f47] Performing Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) from Inline(default) with arguments: "key", 322908140
2452
- [ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] [Thermos::RebuildCacheJob] [be74976e-a631-4f74-a5dd-ca8614a54f47] Performed Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) from Inline(default) in 2.09ms
2453
- [ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Enqueued Thermos::RebuildCacheJob (Job ID: be74976e-a631-4f74-a5dd-ca8614a54f47) to Inline(default) with arguments: "key", 322908140
2454
- [ActiveJob] [Thermos::RefillJob] [d6d52362-13c9-45e8-b9b4-f9daf0b07e71] Performed Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) from Inline(default) in 3.18ms
2455
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: d6d52362-13c9-45e8-b9b4-f9daf0b07e71) to Inline(default) with arguments: #<GlobalID:0x007fc5c9130060 @uri=#<URI::GID gid://dummy/Category/322908140>>
2456
- [ActiveJob] Store Load (0.2ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2457
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Performing Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) from Inline(default) with arguments: #<GlobalID:0x007fc5c90ea510 @uri=#<URI::GID gid://dummy/Store/868874526>>
2458
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2459
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] [Thermos::RebuildCacheJob] [19d948f2-74c2-405e-b3dc-a009b4cdeebb] Performing Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) from Inline(default) with arguments: "key", 322908140
2460
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] [Thermos::RebuildCacheJob] [19d948f2-74c2-405e-b3dc-a009b4cdeebb] Performed Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) from Inline(default) in 1.21ms
2461
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Enqueued Thermos::RebuildCacheJob (Job ID: 19d948f2-74c2-405e-b3dc-a009b4cdeebb) to Inline(default) with arguments: "key", 322908140
2462
- [ActiveJob] [Thermos::RefillJob] [ac97eddc-d07d-4b49-aa43-9e86c0dd9076] Performed Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) from Inline(default) in 4.84ms
2463
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ac97eddc-d07d-4b49-aa43-9e86c0dd9076) to Inline(default) with arguments: #<GlobalID:0x007fc5c90f19a0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2464
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2465
-  (0.4ms) rollback transaction
2466
-  (0.1ms) begin transaction
2467
- --------------------------------------------------------------
2468
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
2469
- --------------------------------------------------------------
2470
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2471
-  (0.2ms) SAVEPOINT active_record_1
2472
- CategoryItem Create (0.8ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-16 14:00:21.480870"], ["updated_at", "2018-10-16 14:00:21.480870"]]
2473
- [ActiveJob] CategoryItem Load (0.3ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2474
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Performing Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) from Inline(default) with arguments: #<GlobalID:0x007fc5c90ab4a0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2475
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2476
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] [Thermos::RebuildCacheJob] [19d73530-ba01-4135-9aa4-cc25b69105f8] Performing Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) from Inline(default) with arguments: "key", 322908140
2477
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] [Thermos::RebuildCacheJob] [19d73530-ba01-4135-9aa4-cc25b69105f8] Performed Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) from Inline(default) in 3.03ms
2478
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Enqueued Thermos::RebuildCacheJob (Job ID: 19d73530-ba01-4135-9aa4-cc25b69105f8) to Inline(default) with arguments: "key", 322908140
2479
- [ActiveJob] [Thermos::RefillJob] [761e31a5-e9a3-4fa9-81cb-30925121b8ee] Performed Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) from Inline(default) in 5.17ms
2480
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 761e31a5-e9a3-4fa9-81cb-30925121b8ee) to Inline(default) with arguments: #<GlobalID:0x007fc5c88d0f50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2481
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2482
-  (0.4ms) rollback transaction
2483
-  (0.1ms) begin transaction
2484
- ---------------------------------------------------------------------------------------------------------------------------
2485
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
2486
- ---------------------------------------------------------------------------------------------------------------------------
2487
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2488
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2489
-  (0.1ms) SAVEPOINT active_record_1
2490
- Product Update (0.8ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.519725"], ["id", 469160771]]
2491
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2492
- [ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Performing Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) from Inline(default) with arguments: #<GlobalID:0x007fc5c7de26e8 @uri=#<URI::GID gid://dummy/Product/469160771>>
2493
- [ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] [Thermos::RebuildCacheJob] [1ca196a1-697a-497c-b9e7-54b7e355a619] Performing Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) from Inline(default) with arguments: "product_key", 469160771
2494
- [ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] [Thermos::RebuildCacheJob] [1ca196a1-697a-497c-b9e7-54b7e355a619] Performed Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) from Inline(default) in 11.72ms
2495
- [ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Enqueued Thermos::RebuildCacheJob (Job ID: 1ca196a1-697a-497c-b9e7-54b7e355a619) to Inline(default) with arguments: "product_key", 469160771
2496
- [ActiveJob] [Thermos::RefillJob] [e3e51754-9136-4b29-9bd2-7a1b99107cfd] Performed Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) from Inline(default) in 12.46ms
2497
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: e3e51754-9136-4b29-9bd2-7a1b99107cfd) to Inline(default) with arguments: #<GlobalID:0x007fc5c7ddb528 @uri=#<URI::GID gid://dummy/Product/469160771>>
2498
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2499
-  (0.3ms) rollback transaction
2500
-  (0.1ms) begin transaction
2501
- ----------------------------------------------------------------------
2502
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
2503
- ----------------------------------------------------------------------
2504
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2505
-  (0.1ms) SAVEPOINT active_record_1
2506
- Product Create (0.6ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-16 14:00:21.568097"], ["updated_at", "2018-10-16 14:00:21.568097"]]
2507
- CategoryItem Create (0.6ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-16 14:00:21.569757"], ["updated_at", "2018-10-16 14:00:21.569757"]]
2508
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2509
- [ActiveJob] [Thermos::RefillJob] [a8cf1e48-f179-4c3c-993f-0e961a00d9ad] Performing Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) from Inline(default) with arguments: #<GlobalID:0x007fc5c7dcac28 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2510
- [ActiveJob] [Thermos::RefillJob] [a8cf1e48-f179-4c3c-993f-0e961a00d9ad] Performed Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) from Inline(default) in 0.06ms
2511
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: a8cf1e48-f179-4c3c-993f-0e961a00d9ad) to Inline(default) with arguments: #<GlobalID:0x007fc5c96ba6e8 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2512
- [ActiveJob] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2513
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Performing Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) from Inline(default) with arguments: #<GlobalID:0x007fc5c96b1728 @uri=#<URI::GID gid://dummy/Product/469160772>>
2514
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2515
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] [Thermos::RebuildCacheJob] [b3db99c7-2799-4507-93ea-b1c9f12e6e78] Performing Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) from Inline(default) with arguments: "key", 322908140
2516
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] [Thermos::RebuildCacheJob] [b3db99c7-2799-4507-93ea-b1c9f12e6e78] Performed Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) from Inline(default) in 5.85ms
2517
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Enqueued Thermos::RebuildCacheJob (Job ID: b3db99c7-2799-4507-93ea-b1c9f12e6e78) to Inline(default) with arguments: "key", 322908140
2518
- [ActiveJob] [Thermos::RefillJob] [925428a9-4676-4ede-90bd-970644367591] Performed Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) from Inline(default) in 10.0ms
2519
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 925428a9-4676-4ede-90bd-970644367591) to Inline(default) with arguments: #<GlobalID:0x007fc5c7dc3220 @uri=#<URI::GID gid://dummy/Product/469160772>>
2520
-  (0.6ms) RELEASE SAVEPOINT active_record_1
2521
-  (0.4ms) rollback transaction
2522
-  (0.3ms) begin transaction
2523
- -------------------------------------------------------------
2524
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
2525
- -------------------------------------------------------------
2526
- Category Load (1.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2527
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2528
-  (0.1ms) SAVEPOINT active_record_1
2529
- CategoryItem Update (0.4ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.605297"], ["id", 678302810]]
2530
- [ActiveJob] CategoryItem Load (0.2ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2531
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Performing Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) from Inline(default) with arguments: #<GlobalID:0x007fc5c9680560 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2532
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302810]]
2533
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] [Thermos::RebuildCacheJob] [50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41] Performing Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) from Inline(default) with arguments: "key", 322908140
2534
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] [Thermos::RebuildCacheJob] [50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41] Performed Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) from Inline(default) in 3.18ms
2535
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Enqueued Thermos::RebuildCacheJob (Job ID: 50909ae6-1d4f-4a67-b8fa-cbcf56ddbc41) to Inline(default) with arguments: "key", 322908140
2536
- [ActiveJob] [Thermos::RefillJob] [995ea3c2-cf3e-434a-a9d2-511a0fd57297] Performed Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) from Inline(default) in 7.18ms
2537
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 995ea3c2-cf3e-434a-a9d2-511a0fd57297) to Inline(default) with arguments: #<GlobalID:0x007fc5c866c160 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2538
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2539
-  (0.3ms) rollback transaction
2540
-  (0.1ms) begin transaction
2541
- -------------------------------------------------------------------------------------
2542
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
2543
- -------------------------------------------------------------------------------------
2544
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2545
-  (0.1ms) SAVEPOINT active_record_1
2546
- Store Create (4.9ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-16 14:00:21.636642"], ["updated_at", "2018-10-16 14:00:21.636642"]]
2547
- [ActiveJob] Store Load (0.2ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2548
- [ActiveJob] [Thermos::RefillJob] [174e998a-9580-4e27-aad4-8d7295a8ff7a] Performing Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) from Inline(default) with arguments: #<GlobalID:0x007fc5c8ca0270 @uri=#<URI::GID gid://dummy/Store/868874526>>
2549
- [ActiveJob] [Thermos::RefillJob] [174e998a-9580-4e27-aad4-8d7295a8ff7a] Performed Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) from Inline(default) in 0.07ms
2550
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 174e998a-9580-4e27-aad4-8d7295a8ff7a) to Inline(default) with arguments: #<GlobalID:0x007fc5c8caafb8 @uri=#<URI::GID gid://dummy/Store/868874526>>
2551
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2552
-  (0.1ms) SAVEPOINT active_record_1
2553
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.657090"], ["id", 868874526]]
2554
- [ActiveJob] Store Load (0.2ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2555
- [ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82] Performing Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) from Inline(default) with arguments: #<GlobalID:0x007fc5c863eda0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2556
- [ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82]  (0.3ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2557
- [ActiveJob] [Thermos::RefillJob] [76e0f285-ecfd-477a-943a-54fd72487f82] Performed Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) from Inline(default) in 6.08ms
2558
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 76e0f285-ecfd-477a-943a-54fd72487f82) to Inline(default) with arguments: #<GlobalID:0x007fc5c8caafb8 @uri=#<URI::GID gid://dummy/Store/868874526>>
2559
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2560
-  (1.3ms) rollback transaction
2561
-  (0.1ms) begin transaction
2562
- ---------------------------------------------------------------
2563
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
2564
- ---------------------------------------------------------------
2565
- Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2566
- Store Load (0.3ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2567
-  (0.1ms) SAVEPOINT active_record_1
2568
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.683268"], ["id", 868874525]]
2569
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2570
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Performing Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) from Inline(default) with arguments: #<GlobalID:0x007fc5c8627218 @uri=#<URI::GID gid://dummy/Store/868874525>>
2571
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8]  (0.2ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874525]]
2572
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] [Thermos::RebuildCacheJob] [c2e56da2-18ec-4e60-88a1-4c276aa96434] Performing Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) from Inline(default) with arguments: "key", 322908140
2573
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] [Thermos::RebuildCacheJob] [c2e56da2-18ec-4e60-88a1-4c276aa96434] Performed Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) from Inline(default) in 1.59ms
2574
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Enqueued Thermos::RebuildCacheJob (Job ID: c2e56da2-18ec-4e60-88a1-4c276aa96434) to Inline(default) with arguments: "key", 322908140
2575
- [ActiveJob] [Thermos::RefillJob] [2214b629-8ace-4ae1-805d-37157297e6c8] Performed Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) from Inline(default) in 4.75ms
2576
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 2214b629-8ace-4ae1-805d-37157297e6c8) to Inline(default) with arguments: #<GlobalID:0x007fc5c862cee8 @uri=#<URI::GID gid://dummy/Store/868874525>>
2577
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2578
-  (0.4ms) rollback transaction
2579
-  (0.1ms) begin transaction
2580
- ---------------------------------------------------------
2581
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
2582
- ---------------------------------------------------------
2583
-  (0.3ms) rollback transaction
2584
-  (0.1ms) begin transaction
2585
- ------------------------------------------------------------
2586
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
2587
- ------------------------------------------------------------
2588
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2589
-  (0.1ms) SAVEPOINT active_record_1
2590
- Category Update (2.5ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-16 14:00:21.724960"], ["id", 322908140]]
2591
- [ActiveJob] Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2592
- [ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Performing Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) from Inline(default) with arguments: #<GlobalID:0x007fc5c8c836c0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2593
- [ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] [Thermos::RebuildCacheJob] [cea4027e-1169-4523-97b6-2a6cf6bc00dc] Performing Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) from Inline(default) with arguments: "key", 322908140
2594
- [ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] [Thermos::RebuildCacheJob] [cea4027e-1169-4523-97b6-2a6cf6bc00dc] Performed Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) from Inline(default) in 1.15ms
2595
- [ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Enqueued Thermos::RebuildCacheJob (Job ID: cea4027e-1169-4523-97b6-2a6cf6bc00dc) to Inline(default) with arguments: "key", 322908140
2596
- [ActiveJob] [Thermos::RefillJob] [770b673a-2a5c-4ce5-ac86-7a1aad43c996] Performed Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) from Inline(default) in 4.02ms
2597
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 770b673a-2a5c-4ce5-ac86-7a1aad43c996) to Inline(default) with arguments: #<GlobalID:0x007fc5c86057f8 @uri=#<URI::GID gid://dummy/Category/322908140>>
2598
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2599
-  (1.4ms) rollback transaction
2600
-  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2601
-  (0.0ms) PRAGMA foreign_keys
2602
-  (0.1ms) PRAGMA foreign_keys = OFF
2603
-  (0.0ms) begin transaction
2604
- Fixture Delete (0.8ms) DELETE FROM "products"
2605
- Fixture Delete (0.4ms) DELETE FROM "categories"
2606
- Fixture Delete (0.5ms) DELETE FROM "category_items"
2607
- Fixture Delete (0.3ms) DELETE FROM "stores"
2608
- Fixture Insert (0.4ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id") VALUES ('glove', '2018-10-17 13:37:02.417901', '2018-10-17 13:37:02.417901', 469160771)
2609
- Fixture Insert (0.1ms) INSERT INTO "categories" ("name", "created_at", "updated_at", "id", "store_id") VALUES ('baseball', '2018-10-17 13:37:02.420471', '2018-10-17 13:37:02.420471', 322908140, 868874525)
2610
- Fixture Insert (0.1ms) INSERT INTO "category_items" ("name", "created_at", "updated_at", "id", "category_id", "product_id") VALUES ('baseball glove', '2018-10-17 13:37:02.421468', '2018-10-17 13:37:02.421468', 678302810, 322908140, 469160771)
2611
- Fixture Insert (0.1ms) INSERT INTO "stores" ("name", "created_at", "updated_at", "id") VALUES ('sports store', '2018-10-17 13:37:02.422510', '2018-10-17 13:37:02.422510', 868874525)
2612
-  (1.1ms) commit transaction
2613
-  (0.1ms) PRAGMA foreign_keys = 1
2614
-  (0.0ms) begin transaction
2615
- ----------------------------------------------------------------------
2616
- ThermosTest: test_re-builds_the_cache_for_new_has_many_through_records
2617
- ----------------------------------------------------------------------
2618
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2619
-  (0.1ms) SAVEPOINT active_record_1
2620
- Product Create (0.9ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-17 13:37:02.465128"], ["updated_at", "2018-10-17 13:37:02.465128"]]
2621
- CategoryItem Create (0.2ms) INSERT INTO "category_items" ("category_id", "product_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["category_id", 322908140], ["product_id", 469160772], ["created_at", "2018-10-17 13:37:02.466952"], ["updated_at", "2018-10-17 13:37:02.466952"]]
2622
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2623
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d] Performing Thermos::RefillJob (Job ID: f6eb6909-7331-4e25-8b49-d031ee9a112d) from Inline(default) with arguments: #<GlobalID:0x00007f9ec84d3140 @uri=#<URI::GID gid://dummy/Product/469160772>>
2624
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2625
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d] [Thermos::RebuildCacheJob] [7fc02ae4-e84b-41af-b991-b4916a1cda70] Performing Thermos::RebuildCacheJob (Job ID: 7fc02ae4-e84b-41af-b991-b4916a1cda70) from Inline(default) with arguments: "key", 322908140
2626
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d] [Thermos::RebuildCacheJob] [7fc02ae4-e84b-41af-b991-b4916a1cda70] Performed Thermos::RebuildCacheJob (Job ID: 7fc02ae4-e84b-41af-b991-b4916a1cda70) from Inline(default) in 1.45ms
2627
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d] Enqueued Thermos::RebuildCacheJob (Job ID: 7fc02ae4-e84b-41af-b991-b4916a1cda70) to Inline(default) with arguments: "key", 322908140
2628
- [ActiveJob] [Thermos::RefillJob] [f6eb6909-7331-4e25-8b49-d031ee9a112d] Performed Thermos::RefillJob (Job ID: f6eb6909-7331-4e25-8b49-d031ee9a112d) from Inline(default) in 12.28ms
2629
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f6eb6909-7331-4e25-8b49-d031ee9a112d) to Inline(default) with arguments: #<GlobalID:0x00007f9ec84f0510 @uri=#<URI::GID gid://dummy/Product/469160772>>
2630
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2631
-  (0.3ms) rollback transaction
2632
-  (0.0ms) begin transaction
2633
- --------------------------------------------------------------------------
2634
- ThermosTest: test_accepts_and_can_rebuild_off_of_an_id_other_than_the_'id'
2635
- --------------------------------------------------------------------------
2636
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2637
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2638
-  (0.1ms) SAVEPOINT active_record_1
2639
- Category Update (0.4ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.490276"], ["id", 322908140]]
2640
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2641
- [ActiveJob] [Thermos::RefillJob] [c1adf091-a519-4ada-8565-752c0acc6ec7] Performing Thermos::RefillJob (Job ID: c1adf091-a519-4ada-8565-752c0acc6ec7) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9da99d0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2642
- [ActiveJob] [Thermos::RefillJob] [c1adf091-a519-4ada-8565-752c0acc6ec7] [Thermos::RebuildCacheJob] [b6c6cc92-45c4-4071-a9d8-75140fbf242a] Performing Thermos::RebuildCacheJob (Job ID: b6c6cc92-45c4-4071-a9d8-75140fbf242a) from Inline(default) with arguments: "key", "foo"
2643
- [ActiveJob] [Thermos::RefillJob] [c1adf091-a519-4ada-8565-752c0acc6ec7] [Thermos::RebuildCacheJob] [b6c6cc92-45c4-4071-a9d8-75140fbf242a] Performed Thermos::RebuildCacheJob (Job ID: b6c6cc92-45c4-4071-a9d8-75140fbf242a) from Inline(default) in 1.35ms
2644
- [ActiveJob] [Thermos::RefillJob] [c1adf091-a519-4ada-8565-752c0acc6ec7] Enqueued Thermos::RebuildCacheJob (Job ID: b6c6cc92-45c4-4071-a9d8-75140fbf242a) to Inline(default) with arguments: "key", "foo"
2645
- [ActiveJob] [Thermos::RefillJob] [c1adf091-a519-4ada-8565-752c0acc6ec7] Performed Thermos::RefillJob (Job ID: c1adf091-a519-4ada-8565-752c0acc6ec7) from Inline(default) in 1.93ms
2646
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c1adf091-a519-4ada-8565-752c0acc6ec7) to Inline(default) with arguments: #<GlobalID:0x00007f9ec8a347b0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2647
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2648
-  (0.1ms) SAVEPOINT active_record_1
2649
- Product Update (0.2ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.495609"], ["id", 469160771]]
2650
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2651
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9] Performing Thermos::RefillJob (Job ID: 7d9f99a5-ee1a-483a-b272-c7a3e6db65e9) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9d7b378 @uri=#<URI::GID gid://dummy/Product/469160771>>
2652
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9]  (0.1ms) SELECT "categories"."name" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2653
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9] [Thermos::RebuildCacheJob] [9873385b-a200-4d75-9db8-b012877cb33e] Performing Thermos::RebuildCacheJob (Job ID: 9873385b-a200-4d75-9db8-b012877cb33e) from Inline(default) with arguments: "key", "foo"
2654
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9] [Thermos::RebuildCacheJob] [9873385b-a200-4d75-9db8-b012877cb33e] Performed Thermos::RebuildCacheJob (Job ID: 9873385b-a200-4d75-9db8-b012877cb33e) from Inline(default) in 0.81ms
2655
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9] Enqueued Thermos::RebuildCacheJob (Job ID: 9873385b-a200-4d75-9db8-b012877cb33e) to Inline(default) with arguments: "key", "foo"
2656
- [ActiveJob] [Thermos::RefillJob] [7d9f99a5-ee1a-483a-b272-c7a3e6db65e9] Performed Thermos::RefillJob (Job ID: 7d9f99a5-ee1a-483a-b272-c7a3e6db65e9) from Inline(default) in 2.45ms
2657
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7d9f99a5-ee1a-483a-b272-c7a3e6db65e9) to Inline(default) with arguments: #<GlobalID:0x00007f9ec9d8a8a0 @uri=#<URI::GID gid://dummy/Product/469160771>>
2658
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2659
-  (0.4ms) rollback transaction
2660
-  (0.1ms) begin transaction
2661
- ----------------------------------------------------------------
2662
- ThermosTest: test_re-builds_the_cache_for_new_belongs_to_records
2663
- ----------------------------------------------------------------
2664
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2665
-  (0.1ms) SAVEPOINT active_record_1
2666
- Store Create (0.4ms) INSERT INTO "stores" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-17 13:37:02.510175"], ["updated_at", "2018-10-17 13:37:02.510175"]]
2667
- Category Update (0.1ms) UPDATE "categories" SET "store_id" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["store_id", 868874526], ["updated_at", "2018-10-17 13:37:02.511243"], ["id", 322908140]]
2668
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2669
- [ActiveJob] [Thermos::RefillJob] [17089a72-8e1a-4b4d-8398-98f7ccdf10a2] Performing Thermos::RefillJob (Job ID: 17089a72-8e1a-4b4d-8398-98f7ccdf10a2) from Inline(default) with arguments: #<GlobalID:0x00007f9ec8463cf0 @uri=#<URI::GID gid://dummy/Category/322908140>>
2670
- [ActiveJob] [Thermos::RefillJob] [17089a72-8e1a-4b4d-8398-98f7ccdf10a2] [Thermos::RebuildCacheJob] [1a116646-d3ad-45b0-8684-0246bffba6b8] Performing Thermos::RebuildCacheJob (Job ID: 1a116646-d3ad-45b0-8684-0246bffba6b8) from Inline(default) with arguments: "key", 322908140
2671
- [ActiveJob] [Thermos::RefillJob] [17089a72-8e1a-4b4d-8398-98f7ccdf10a2] [Thermos::RebuildCacheJob] [1a116646-d3ad-45b0-8684-0246bffba6b8] Performed Thermos::RebuildCacheJob (Job ID: 1a116646-d3ad-45b0-8684-0246bffba6b8) from Inline(default) in 1.12ms
2672
- [ActiveJob] [Thermos::RefillJob] [17089a72-8e1a-4b4d-8398-98f7ccdf10a2] Enqueued Thermos::RebuildCacheJob (Job ID: 1a116646-d3ad-45b0-8684-0246bffba6b8) to Inline(default) with arguments: "key", 322908140
2673
- [ActiveJob] [Thermos::RefillJob] [17089a72-8e1a-4b4d-8398-98f7ccdf10a2] Performed Thermos::RefillJob (Job ID: 17089a72-8e1a-4b4d-8398-98f7ccdf10a2) from Inline(default) in 1.55ms
2674
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 17089a72-8e1a-4b4d-8398-98f7ccdf10a2) to Inline(default) with arguments: #<GlobalID:0x00007f9ec8473448 @uri=#<URI::GID gid://dummy/Category/322908140>>
2675
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2676
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75] Performing Thermos::RefillJob (Job ID: 8592d082-9b27-4381-989c-466593a9af75) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9d0ada8 @uri=#<URI::GID gid://dummy/Store/868874526>>
2677
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2678
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75] [Thermos::RebuildCacheJob] [736b8907-4f2e-43bf-923e-618ad9617c3a] Performing Thermos::RebuildCacheJob (Job ID: 736b8907-4f2e-43bf-923e-618ad9617c3a) from Inline(default) with arguments: "key", 322908140
2679
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75] [Thermos::RebuildCacheJob] [736b8907-4f2e-43bf-923e-618ad9617c3a] Performed Thermos::RebuildCacheJob (Job ID: 736b8907-4f2e-43bf-923e-618ad9617c3a) from Inline(default) in 0.63ms
2680
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75] Enqueued Thermos::RebuildCacheJob (Job ID: 736b8907-4f2e-43bf-923e-618ad9617c3a) to Inline(default) with arguments: "key", 322908140
2681
- [ActiveJob] [Thermos::RefillJob] [8592d082-9b27-4381-989c-466593a9af75] Performed Thermos::RefillJob (Job ID: 8592d082-9b27-4381-989c-466593a9af75) from Inline(default) in 1.95ms
2682
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 8592d082-9b27-4381-989c-466593a9af75) to Inline(default) with arguments: #<GlobalID:0x00007f9ec84520e0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2683
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2684
-  (0.4ms) rollback transaction
2685
-  (0.0ms) begin transaction
2686
- ---------------------------------------------------------------------------------------------------------------------------
2687
- ThermosTest: test_only_rebuilds_cache_for_stated_dependencies,_even_if_another_cache_has_an_associated_model_of_the_primary
2688
- ---------------------------------------------------------------------------------------------------------------------------
2689
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2690
- Product Load (0.0ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2691
-  (0.1ms) SAVEPOINT active_record_1
2692
- Product Update (0.4ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.521871"], ["id", 469160771]]
2693
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2694
- [ActiveJob] [Thermos::RefillJob] [05766290-acc5-4766-89cf-dfc19158dd95] Performing Thermos::RefillJob (Job ID: 05766290-acc5-4766-89cf-dfc19158dd95) from Inline(default) with arguments: #<GlobalID:0x00007f9ec92e7f88 @uri=#<URI::GID gid://dummy/Product/469160771>>
2695
- [ActiveJob] [Thermos::RefillJob] [05766290-acc5-4766-89cf-dfc19158dd95] [Thermos::RebuildCacheJob] [b9d4743a-0a76-4a1c-a02b-ba6b85d02c1b] Performing Thermos::RebuildCacheJob (Job ID: b9d4743a-0a76-4a1c-a02b-ba6b85d02c1b) from Inline(default) with arguments: "product_key", 469160771
2696
- [ActiveJob] [Thermos::RefillJob] [05766290-acc5-4766-89cf-dfc19158dd95] [Thermos::RebuildCacheJob] [b9d4743a-0a76-4a1c-a02b-ba6b85d02c1b] Performed Thermos::RebuildCacheJob (Job ID: b9d4743a-0a76-4a1c-a02b-ba6b85d02c1b) from Inline(default) in 1.24ms
2697
- [ActiveJob] [Thermos::RefillJob] [05766290-acc5-4766-89cf-dfc19158dd95] Enqueued Thermos::RebuildCacheJob (Job ID: b9d4743a-0a76-4a1c-a02b-ba6b85d02c1b) to Inline(default) with arguments: "product_key", 469160771
2698
- [ActiveJob] [Thermos::RefillJob] [05766290-acc5-4766-89cf-dfc19158dd95] Performed Thermos::RefillJob (Job ID: 05766290-acc5-4766-89cf-dfc19158dd95) from Inline(default) in 1.81ms
2699
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 05766290-acc5-4766-89cf-dfc19158dd95) to Inline(default) with arguments: #<GlobalID:0x00007f9ec92f7078 @uri=#<URI::GID gid://dummy/Product/469160771>>
2700
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2701
-  (0.4ms) rollback transaction
2702
-  (0.1ms) begin transaction
2703
- ---------------------------------------------------------
2704
- ThermosTest: test_keeps_the_cache_warm_using_fill_/_drink
2705
- ---------------------------------------------------------
2706
-  (0.1ms) rollback transaction
2707
-  (0.0ms) begin transaction
2708
- -----------------------------------------------------------------------------------
2709
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_model_change
2710
- -----------------------------------------------------------------------------------
2711
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2712
-  (0.1ms) SAVEPOINT active_record_1
2713
- CategoryItem Create (0.5ms) INSERT INTO "category_items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-17 13:37:02.533319"], ["updated_at", "2018-10-17 13:37:02.533319"]]
2714
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2715
-  (0.1ms) SAVEPOINT active_record_1
2716
- CategoryItem Update (0.1ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.537245"], ["id", 678302811]]
2717
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2718
- [ActiveJob] [Thermos::RefillJob] [331c65fa-0900-48cf-a99a-f586b9171a05] Performing Thermos::RefillJob (Job ID: 331c65fa-0900-48cf-a99a-f586b9171a05) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9cd9f50 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2719
- [ActiveJob] [Thermos::RefillJob] [331c65fa-0900-48cf-a99a-f586b9171a05]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2720
- [ActiveJob] [Thermos::RefillJob] [331c65fa-0900-48cf-a99a-f586b9171a05] Performed Thermos::RefillJob (Job ID: 331c65fa-0900-48cf-a99a-f586b9171a05) from Inline(default) in 1.33ms
2721
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 331c65fa-0900-48cf-a99a-f586b9171a05) to Inline(default) with arguments: #<GlobalID:0x00007f9ec8420b80 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2722
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2723
-  (0.3ms) rollback transaction
2724
-  (0.0ms) begin transaction
2725
- -------------------------------------------------------------------------------------
2726
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_belongs_to_model_change
2727
- -------------------------------------------------------------------------------------
2728
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2729
-  (0.0ms) SAVEPOINT active_record_1
2730
- Store Create (0.5ms) INSERT INTO "stores" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-17 13:37:02.544805"], ["updated_at", "2018-10-17 13:37:02.544805"]]
2731
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2732
- [ActiveJob] [Thermos::RefillJob] [d6b4db6c-52c1-475b-9142-986012213dfa] Performing Thermos::RefillJob (Job ID: d6b4db6c-52c1-475b-9142-986012213dfa) from Inline(default) with arguments: #<GlobalID:0x00007f9ec83fb420 @uri=#<URI::GID gid://dummy/Store/868874526>>
2733
- [ActiveJob] [Thermos::RefillJob] [d6b4db6c-52c1-475b-9142-986012213dfa] Performed Thermos::RefillJob (Job ID: d6b4db6c-52c1-475b-9142-986012213dfa) from Inline(default) in 0.03ms
2734
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: d6b4db6c-52c1-475b-9142-986012213dfa) to Inline(default) with arguments: #<GlobalID:0x00007f9ec84082b0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2735
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2736
-  (0.0ms) SAVEPOINT active_record_1
2737
- Store Update (0.1ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.548996"], ["id", 868874526]]
2738
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874526], ["LIMIT", 1]]
2739
- [ActiveJob] [Thermos::RefillJob] [6d042871-6240-4ccc-8c00-4cbf1a15f752] Performing Thermos::RefillJob (Job ID: 6d042871-6240-4ccc-8c00-4cbf1a15f752) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9ca1fb0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2740
- [ActiveJob] [Thermos::RefillJob] [6d042871-6240-4ccc-8c00-4cbf1a15f752]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874526]]
2741
- [ActiveJob] [Thermos::RefillJob] [6d042871-6240-4ccc-8c00-4cbf1a15f752] Performed Thermos::RefillJob (Job ID: 6d042871-6240-4ccc-8c00-4cbf1a15f752) from Inline(default) in 0.74ms
2742
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 6d042871-6240-4ccc-8c00-4cbf1a15f752) to Inline(default) with arguments: #<GlobalID:0x00007f9ec84082b0 @uri=#<URI::GID gid://dummy/Store/868874526>>
2743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2744
-  (0.2ms) rollback transaction
2745
-  (0.1ms) begin transaction
2746
- ---------------------------------------------------------------------
2747
- ThermosTest: test_rebuilds_the_cache_on_has_many_through_model_change
2748
- ---------------------------------------------------------------------
2749
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2750
- Product Load (0.0ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2751
-  (0.1ms) SAVEPOINT active_record_1
2752
- Product Update (0.3ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.556556"], ["id", 469160771]]
2753
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160771], ["LIMIT", 1]]
2754
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532] Performing Thermos::RefillJob (Job ID: 7d71b4aa-83ba-4337-b12b-3685beef0532) from Inline(default) with arguments: #<GlobalID:0x00007f9ec8a27830 @uri=#<URI::GID gid://dummy/Product/469160771>>
2755
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160771]]
2756
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532] [Thermos::RebuildCacheJob] [deffaa69-b604-411a-bd49-4ec0ef5c6798] Performing Thermos::RebuildCacheJob (Job ID: deffaa69-b604-411a-bd49-4ec0ef5c6798) from Inline(default) with arguments: "key", 322908140
2757
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532] [Thermos::RebuildCacheJob] [deffaa69-b604-411a-bd49-4ec0ef5c6798] Performed Thermos::RebuildCacheJob (Job ID: deffaa69-b604-411a-bd49-4ec0ef5c6798) from Inline(default) in 0.78ms
2758
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532] Enqueued Thermos::RebuildCacheJob (Job ID: deffaa69-b604-411a-bd49-4ec0ef5c6798) to Inline(default) with arguments: "key", 322908140
2759
- [ActiveJob] [Thermos::RefillJob] [7d71b4aa-83ba-4337-b12b-3685beef0532] Performed Thermos::RefillJob (Job ID: 7d71b4aa-83ba-4337-b12b-3685beef0532) from Inline(default) in 2.14ms
2760
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 7d71b4aa-83ba-4337-b12b-3685beef0532) to Inline(default) with arguments: #<GlobalID:0x00007f9ec83cae88 @uri=#<URI::GID gid://dummy/Product/469160771>>
2761
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2762
-  (0.2ms) rollback transaction
2763
-  (0.1ms) begin transaction
2764
- -------------------------------------------------------------
2765
- ThermosTest: test_rebuilds_the_cache_on_has_many_model_change
2766
- -------------------------------------------------------------
2767
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2768
- CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2769
-  (0.1ms) SAVEPOINT active_record_1
2770
- CategoryItem Update (0.5ms) UPDATE "category_items" SET "name" = ?, "updated_at" = ? WHERE "category_items"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.565696"], ["id", 678302810]]
2771
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302810], ["LIMIT", 1]]
2772
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d] Performing Thermos::RefillJob (Job ID: c852a13b-7e47-4164-ae3a-f233b8be3f5d) from Inline(default) with arguments: #<GlobalID:0x00007f9ec89ee670 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2773
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302810]]
2774
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d] [Thermos::RebuildCacheJob] [8cd0be44-3179-49ee-97af-e74ea4550e3a] Performing Thermos::RebuildCacheJob (Job ID: 8cd0be44-3179-49ee-97af-e74ea4550e3a) from Inline(default) with arguments: "key", 322908140
2775
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d] [Thermos::RebuildCacheJob] [8cd0be44-3179-49ee-97af-e74ea4550e3a] Performed Thermos::RebuildCacheJob (Job ID: 8cd0be44-3179-49ee-97af-e74ea4550e3a) from Inline(default) in 0.86ms
2776
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d] Enqueued Thermos::RebuildCacheJob (Job ID: 8cd0be44-3179-49ee-97af-e74ea4550e3a) to Inline(default) with arguments: "key", 322908140
2777
- [ActiveJob] [Thermos::RefillJob] [c852a13b-7e47-4164-ae3a-f233b8be3f5d] Performed Thermos::RefillJob (Job ID: c852a13b-7e47-4164-ae3a-f233b8be3f5d) from Inline(default) in 2.35ms
2778
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: c852a13b-7e47-4164-ae3a-f233b8be3f5d) to Inline(default) with arguments: #<GlobalID:0x00007f9ec89f4a48 @uri=#<URI::GID gid://dummy/CategoryItem/678302810>>
2779
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2780
-  (0.2ms) rollback transaction
2781
-  (0.1ms) begin transaction
2782
- ------------------------------------------------------
2783
- ThermosTest: test_keeps_the_cache_warm_using_keep_warm
2784
- ------------------------------------------------------
2785
-  (0.0ms) rollback transaction
2786
-  (0.0ms) begin transaction
2787
- ------------------------------------------------------------
2788
- ThermosTest: test_rebuilds_the_cache_on_primary_model_change
2789
- ------------------------------------------------------------
2790
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2791
-  (0.1ms) SAVEPOINT active_record_1
2792
- Category Update (0.3ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.579396"], ["id", 322908140]]
2793
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2794
- [ActiveJob] [Thermos::RefillJob] [5ecdfe39-3f8b-4c07-9f22-9eec0b254323] Performing Thermos::RefillJob (Job ID: 5ecdfe39-3f8b-4c07-9f22-9eec0b254323) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9c12900 @uri=#<URI::GID gid://dummy/Category/322908140>>
2795
- [ActiveJob] [Thermos::RefillJob] [5ecdfe39-3f8b-4c07-9f22-9eec0b254323] [Thermos::RebuildCacheJob] [e32a7a73-d985-4152-955e-9ba985e4a9ac] Performing Thermos::RebuildCacheJob (Job ID: e32a7a73-d985-4152-955e-9ba985e4a9ac) from Inline(default) with arguments: "key", 322908140
2796
- [ActiveJob] [Thermos::RefillJob] [5ecdfe39-3f8b-4c07-9f22-9eec0b254323] [Thermos::RebuildCacheJob] [e32a7a73-d985-4152-955e-9ba985e4a9ac] Performed Thermos::RebuildCacheJob (Job ID: e32a7a73-d985-4152-955e-9ba985e4a9ac) from Inline(default) in 0.61ms
2797
- [ActiveJob] [Thermos::RefillJob] [5ecdfe39-3f8b-4c07-9f22-9eec0b254323] Enqueued Thermos::RebuildCacheJob (Job ID: e32a7a73-d985-4152-955e-9ba985e4a9ac) to Inline(default) with arguments: "key", 322908140
2798
- [ActiveJob] [Thermos::RefillJob] [5ecdfe39-3f8b-4c07-9f22-9eec0b254323] Performed Thermos::RefillJob (Job ID: 5ecdfe39-3f8b-4c07-9f22-9eec0b254323) from Inline(default) in 1.1ms
2799
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 5ecdfe39-3f8b-4c07-9f22-9eec0b254323) to Inline(default) with arguments: #<GlobalID:0x00007f9ec927f208 @uri=#<URI::GID gid://dummy/Category/322908140>>
2800
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2801
-  (0.3ms) rollback transaction
2802
-  (0.1ms) begin transaction
2803
- -------------------------------------------------------------------------------------------
2804
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_has_many_through_model_change
2805
- -------------------------------------------------------------------------------------------
2806
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2807
-  (0.1ms) SAVEPOINT active_record_1
2808
- Product Create (0.4ms) INSERT INTO "products" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2018-10-17 13:37:02.585745"], ["updated_at", "2018-10-17 13:37:02.585745"]]
2809
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2810
- [ActiveJob] [Thermos::RefillJob] [b748d3a7-858c-453c-a42e-aa54799d3e8b] Performing Thermos::RefillJob (Job ID: b748d3a7-858c-453c-a42e-aa54799d3e8b) from Inline(default) with arguments: #<GlobalID:0x00007f9ec89bc0f8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2811
- [ActiveJob] [Thermos::RefillJob] [b748d3a7-858c-453c-a42e-aa54799d3e8b] Performed Thermos::RefillJob (Job ID: b748d3a7-858c-453c-a42e-aa54799d3e8b) from Inline(default) in 0.03ms
2812
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: b748d3a7-858c-453c-a42e-aa54799d3e8b) to Inline(default) with arguments: #<GlobalID:0x00007f9ec89d53c8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2813
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2814
-  (0.1ms) SAVEPOINT active_record_1
2815
- Product Update (0.1ms) UPDATE "products" SET "name" = ?, "updated_at" = ? WHERE "products"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.590248"], ["id", 469160772]]
2816
- [ActiveJob] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ? [["id", 469160772], ["LIMIT", 1]]
2817
- [ActiveJob] [Thermos::RefillJob] [cc20e8f3-bea2-4a70-b929-f38c7f2469ef] Performing Thermos::RefillJob (Job ID: cc20e8f3-bea2-4a70-b929-f38c7f2469ef) from Inline(default) with arguments: #<GlobalID:0x00007f9ec9b89bf0 @uri=#<URI::GID gid://dummy/Product/469160772>>
2818
- [ActiveJob] [Thermos::RefillJob] [cc20e8f3-bea2-4a70-b929-f38c7f2469ef]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" INNER JOIN "products" ON "products"."id" = "category_items"."product_id" WHERE "products"."id" = ? [["id", 469160772]]
2819
- [ActiveJob] [Thermos::RefillJob] [cc20e8f3-bea2-4a70-b929-f38c7f2469ef] Performed Thermos::RefillJob (Job ID: cc20e8f3-bea2-4a70-b929-f38c7f2469ef) from Inline(default) in 0.78ms
2820
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: cc20e8f3-bea2-4a70-b929-f38c7f2469ef) to Inline(default) with arguments: #<GlobalID:0x00007f9ec89d53c8 @uri=#<URI::GID gid://dummy/Product/469160772>>
2821
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2822
-  (0.2ms) rollback transaction
2823
-  (0.0ms) begin transaction
2824
- ---------------------------------------------------------------
2825
- ThermosTest: test_rebuilds_the_cache_on_belongs_to_model_change
2826
- ---------------------------------------------------------------
2827
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2828
- Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2829
-  (0.1ms) SAVEPOINT active_record_1
2830
- Store Update (0.4ms) UPDATE "stores" SET "name" = ?, "updated_at" = ? WHERE "stores"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.597532"], ["id", 868874525]]
2831
- [ActiveJob] Store Load (0.1ms) SELECT "stores".* FROM "stores" WHERE "stores"."id" = ? LIMIT ? [["id", 868874525], ["LIMIT", 1]]
2832
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a] Performing Thermos::RefillJob (Job ID: 0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a) from Inline(default) with arguments: #<GlobalID:0x00007f9ec836ffb0 @uri=#<URI::GID gid://dummy/Store/868874525>>
2833
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "stores" ON "stores"."id" = "categories"."store_id" WHERE "stores"."id" = ? [["id", 868874525]]
2834
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a] [Thermos::RebuildCacheJob] [590ec84b-97bd-4e6d-89a1-4fd7c1e8d944] Performing Thermos::RebuildCacheJob (Job ID: 590ec84b-97bd-4e6d-89a1-4fd7c1e8d944) from Inline(default) with arguments: "key", 322908140
2835
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a] [Thermos::RebuildCacheJob] [590ec84b-97bd-4e6d-89a1-4fd7c1e8d944] Performed Thermos::RebuildCacheJob (Job ID: 590ec84b-97bd-4e6d-89a1-4fd7c1e8d944) from Inline(default) in 0.82ms
2836
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a] Enqueued Thermos::RebuildCacheJob (Job ID: 590ec84b-97bd-4e6d-89a1-4fd7c1e8d944) to Inline(default) with arguments: "key", 322908140
2837
- [ActiveJob] [Thermos::RefillJob] [0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a] Performed Thermos::RefillJob (Job ID: 0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a) from Inline(default) in 2.4ms
2838
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 0945ffa7-06f8-4b0c-b1b1-9acf8f2ee09a) to Inline(default) with arguments: #<GlobalID:0x00007f9ec9226b58 @uri=#<URI::GID gid://dummy/Store/868874525>>
2839
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2840
-  (1.0ms) rollback transaction
2841
-  (0.1ms) begin transaction
2842
- --------------------------------------------------------------
2843
- ThermosTest: test_re-builds_the_cache_for_new_has_many_records
2844
- --------------------------------------------------------------
2845
- Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2846
-  (0.0ms) SAVEPOINT active_record_1
2847
- CategoryItem Create (0.3ms) INSERT INTO "category_items" ("category_id", "created_at", "updated_at") VALUES (?, ?, ?) [["category_id", 322908140], ["created_at", "2018-10-17 13:37:02.607684"], ["updated_at", "2018-10-17 13:37:02.607684"]]
2848
- [ActiveJob] CategoryItem Load (0.1ms) SELECT "category_items".* FROM "category_items" WHERE "category_items"."id" = ? LIMIT ? [["id", 678302811], ["LIMIT", 1]]
2849
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43] Performing Thermos::RefillJob (Job ID: f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43) from Inline(default) with arguments: #<GlobalID:0x00007f9ec8355ac0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2850
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43]  (0.1ms) SELECT "categories"."id" FROM "categories" INNER JOIN "category_items" ON "category_items"."category_id" = "categories"."id" WHERE "category_items"."id" = ? [["id", 678302811]]
2851
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43] [Thermos::RebuildCacheJob] [a2f7e256-e169-4545-99ec-6d0493174672] Performing Thermos::RebuildCacheJob (Job ID: a2f7e256-e169-4545-99ec-6d0493174672) from Inline(default) with arguments: "key", 322908140
2852
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43] [Thermos::RebuildCacheJob] [a2f7e256-e169-4545-99ec-6d0493174672] Performed Thermos::RebuildCacheJob (Job ID: a2f7e256-e169-4545-99ec-6d0493174672) from Inline(default) in 1.23ms
2853
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43] Enqueued Thermos::RebuildCacheJob (Job ID: a2f7e256-e169-4545-99ec-6d0493174672) to Inline(default) with arguments: "key", 322908140
2854
- [ActiveJob] [Thermos::RefillJob] [f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43] Performed Thermos::RefillJob (Job ID: f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43) from Inline(default) in 2.42ms
2855
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: f4af1610-4ffa-4500-8ff6-a9d5d7ba4d43) to Inline(default) with arguments: #<GlobalID:0x00007f9ec897e2d0 @uri=#<URI::GID gid://dummy/CategoryItem/678302811>>
2856
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2857
-  (0.3ms) rollback transaction
2858
-  (0.0ms) begin transaction
2859
- ----------------------------------------------------------------
2860
- ThermosTest: test_pre-builds_cache_for_new_primary_model_records
2861
- ----------------------------------------------------------------
2862
-  (0.1ms) SAVEPOINT active_record_1
2863
- Category Create (0.4ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "foo"], ["created_at", "2018-10-17 13:37:02.615082"], ["updated_at", "2018-10-17 13:37:02.615082"]]
2864
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2865
- [ActiveJob] [Thermos::RefillJob] [9428df92-0c67-4175-8404-0ce3ad31a147] Performing Thermos::RefillJob (Job ID: 9428df92-0c67-4175-8404-0ce3ad31a147) from Inline(default) with arguments: #<GlobalID:0x00007f9ec82fd5f0 @uri=#<URI::GID gid://dummy/Category/322908141>>
2866
- [ActiveJob] [Thermos::RefillJob] [9428df92-0c67-4175-8404-0ce3ad31a147] [Thermos::RebuildCacheJob] [05c4a5cf-22c4-4247-8c5a-e5d3008e77d4] Performing Thermos::RebuildCacheJob (Job ID: 05c4a5cf-22c4-4247-8c5a-e5d3008e77d4) from Inline(default) with arguments: "key", "foo"
2867
- [ActiveJob] [Thermos::RefillJob] [9428df92-0c67-4175-8404-0ce3ad31a147] [Thermos::RebuildCacheJob] [05c4a5cf-22c4-4247-8c5a-e5d3008e77d4] Performed Thermos::RebuildCacheJob (Job ID: 05c4a5cf-22c4-4247-8c5a-e5d3008e77d4) from Inline(default) in 1.15ms
2868
- [ActiveJob] [Thermos::RefillJob] [9428df92-0c67-4175-8404-0ce3ad31a147] Enqueued Thermos::RebuildCacheJob (Job ID: 05c4a5cf-22c4-4247-8c5a-e5d3008e77d4) to Inline(default) with arguments: "key", "foo"
2869
- [ActiveJob] [Thermos::RefillJob] [9428df92-0c67-4175-8404-0ce3ad31a147] Performed Thermos::RefillJob (Job ID: 9428df92-0c67-4175-8404-0ce3ad31a147) from Inline(default) in 1.74ms
2870
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: 9428df92-0c67-4175-8404-0ce3ad31a147) to Inline(default) with arguments: #<GlobalID:0x00007f9ec89477d0 @uri=#<URI::GID gid://dummy/Category/322908141>>
2871
-  (0.0ms) RELEASE SAVEPOINT active_record_1
2872
-  (0.4ms) rollback transaction
2873
-  (0.1ms) begin transaction
2874
- ----------------------------------------------------------------------------------
2875
- ThermosTest: test_does_not_rebuild_the_cache_for_an_unrelated_primary_model_change
2876
- ----------------------------------------------------------------------------------
2877
- Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2878
-  (0.1ms) SAVEPOINT active_record_1
2879
- Category Create (0.5ms) INSERT INTO "categories" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "bar"], ["created_at", "2018-10-17 13:37:02.624706"], ["updated_at", "2018-10-17 13:37:02.624706"]]
2880
- [ActiveJob] Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908141], ["LIMIT", 1]]
2881
- [ActiveJob] [Thermos::RefillJob] [ce445ba7-181a-47e4-8da0-9e69f71b07eb] Performing Thermos::RefillJob (Job ID: ce445ba7-181a-47e4-8da0-9e69f71b07eb) from Inline(default) with arguments: #<GlobalID:0x00007f9ec913cdf0 @uri=#<URI::GID gid://dummy/Category/322908141>>
2882
- [ActiveJob] [Thermos::RefillJob] [ce445ba7-181a-47e4-8da0-9e69f71b07eb] Performed Thermos::RefillJob (Job ID: ce445ba7-181a-47e4-8da0-9e69f71b07eb) from Inline(default) in 0.03ms
2883
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: ce445ba7-181a-47e4-8da0-9e69f71b07eb) to Inline(default) with arguments: #<GlobalID:0x00007f9ec916dfe0 @uri=#<URI::GID gid://dummy/Category/322908141>>
2884
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2885
-  (0.0ms) SAVEPOINT active_record_1
2886
- Category Update (0.1ms) UPDATE "categories" SET "name" = ?, "updated_at" = ? WHERE "categories"."id" = ? [["name", "foo"], ["updated_at", "2018-10-17 13:37:02.630373"], ["id", 322908140]]
2887
- [ActiveJob] Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT ? [["id", 322908140], ["LIMIT", 1]]
2888
- [ActiveJob] [Thermos::RefillJob] [fa7c965f-5b7f-416e-8230-fbfafa44bb5b] Performing Thermos::RefillJob (Job ID: fa7c965f-5b7f-416e-8230-fbfafa44bb5b) from Inline(default) with arguments: #<GlobalID:0x00007f9ec910c9e8 @uri=#<URI::GID gid://dummy/Category/322908140>>
2889
- [ActiveJob] [Thermos::RefillJob] [fa7c965f-5b7f-416e-8230-fbfafa44bb5b] [Thermos::RebuildCacheJob] [c22ac873-c830-492a-b1c7-15ac9472ce76] Performing Thermos::RebuildCacheJob (Job ID: c22ac873-c830-492a-b1c7-15ac9472ce76) from Inline(default) with arguments: "key", 322908140
2890
- [ActiveJob] [Thermos::RefillJob] [fa7c965f-5b7f-416e-8230-fbfafa44bb5b] [Thermos::RebuildCacheJob] [c22ac873-c830-492a-b1c7-15ac9472ce76] Performed Thermos::RebuildCacheJob (Job ID: c22ac873-c830-492a-b1c7-15ac9472ce76) from Inline(default) in 1.36ms
2891
- [ActiveJob] [Thermos::RefillJob] [fa7c965f-5b7f-416e-8230-fbfafa44bb5b] Enqueued Thermos::RebuildCacheJob (Job ID: c22ac873-c830-492a-b1c7-15ac9472ce76) to Inline(default) with arguments: "key", 322908140
2892
- [ActiveJob] [Thermos::RefillJob] [fa7c965f-5b7f-416e-8230-fbfafa44bb5b] Performed Thermos::RefillJob (Job ID: fa7c965f-5b7f-416e-8230-fbfafa44bb5b) from Inline(default) in 2.67ms
2893
- [ActiveJob] Enqueued Thermos::RefillJob (Job ID: fa7c965f-5b7f-416e-8230-fbfafa44bb5b) to Inline(default) with arguments: #<GlobalID:0x00007f9ec9a48750 @uri=#<URI::GID gid://dummy/Category/322908140>>
2894
-  (0.1ms) RELEASE SAVEPOINT active_record_1
2895
-  (0.3ms) rollback transaction