approval 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/lib/approval/models/approval/item.rb +7 -2
  3. data/lib/approval/models/approval/request_form/base.rb +8 -0
  4. data/lib/approval/models/approval/request_form/create.rb +0 -1
  5. data/lib/approval/models/approval/request_form/destroy.rb +0 -1
  6. data/lib/approval/models/approval/request_form/update.rb +0 -1
  7. data/lib/approval/version.rb +1 -1
  8. data/spec/rails/rails-5.1.2/README.md +24 -0
  9. data/spec/rails/rails-5.1.2/Rakefile +6 -0
  10. data/spec/rails/rails-5.1.2/app/assets/config/manifest.js +3 -0
  11. data/spec/rails/rails-5.1.2/app/assets/javascripts/application.js +15 -0
  12. data/spec/rails/rails-5.1.2/app/assets/javascripts/cable.js +13 -0
  13. data/spec/rails/rails-5.1.2/app/assets/stylesheets/application.css +15 -0
  14. data/spec/rails/rails-5.1.2/app/channels/application_cable/channel.rb +4 -0
  15. data/spec/rails/rails-5.1.2/app/channels/application_cable/connection.rb +4 -0
  16. data/spec/rails/rails-5.1.2/app/controllers/application_controller.rb +3 -0
  17. data/spec/rails/rails-5.1.2/app/helpers/application_helper.rb +2 -0
  18. data/spec/rails/rails-5.1.2/app/jobs/application_job.rb +2 -0
  19. data/spec/rails/rails-5.1.2/app/mailers/application_mailer.rb +4 -0
  20. data/spec/rails/rails-5.1.2/app/models/application_record.rb +3 -0
  21. data/spec/rails/rails-5.1.2/app/models/book.rb +3 -0
  22. data/spec/rails/rails-5.1.2/app/models/user.rb +3 -0
  23. data/spec/rails/rails-5.1.2/app/views/layouts/application.html.erb +14 -0
  24. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.html.erb +13 -0
  25. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.text.erb +1 -0
  26. data/spec/rails/rails-5.1.2/bin/bundle +3 -0
  27. data/spec/rails/rails-5.1.2/bin/rails +4 -0
  28. data/spec/rails/rails-5.1.2/bin/rake +4 -0
  29. data/spec/rails/rails-5.1.2/bin/setup +38 -0
  30. data/spec/rails/rails-5.1.2/bin/update +29 -0
  31. data/spec/rails/rails-5.1.2/bin/yarn +11 -0
  32. data/spec/rails/rails-5.1.2/config.ru +5 -0
  33. data/spec/rails/rails-5.1.2/config/application.rb +31 -0
  34. data/spec/rails/rails-5.1.2/config/boot.rb +3 -0
  35. data/spec/rails/rails-5.1.2/config/cable.yml +10 -0
  36. data/spec/rails/rails-5.1.2/config/database.yml +25 -0
  37. data/spec/rails/rails-5.1.2/config/environment.rb +8 -0
  38. data/spec/rails/rails-5.1.2/config/environments/development.rb +47 -0
  39. data/spec/rails/rails-5.1.2/config/environments/production.rb +83 -0
  40. data/spec/rails/rails-5.1.2/config/environments/test.rb +42 -0
  41. data/spec/rails/rails-5.1.2/config/initializers/application_controller_renderer.rb +6 -0
  42. data/spec/rails/rails-5.1.2/config/initializers/approval.rb +7 -0
  43. data/spec/rails/rails-5.1.2/config/initializers/backtrace_silencers.rb +7 -0
  44. data/spec/rails/rails-5.1.2/config/initializers/cookies_serializer.rb +5 -0
  45. data/spec/rails/rails-5.1.2/config/initializers/filter_parameter_logging.rb +4 -0
  46. data/spec/rails/rails-5.1.2/config/initializers/inflections.rb +16 -0
  47. data/spec/rails/rails-5.1.2/config/initializers/mime_types.rb +4 -0
  48. data/spec/rails/rails-5.1.2/config/initializers/wrap_parameters.rb +14 -0
  49. data/spec/rails/rails-5.1.2/config/locales/en.yml +33 -0
  50. data/spec/rails/rails-5.1.2/config/puma.rb +56 -0
  51. data/spec/rails/rails-5.1.2/config/routes.rb +3 -0
  52. data/spec/rails/rails-5.1.2/config/secrets.yml +32 -0
  53. data/spec/rails/rails-5.1.2/db/migrate/20170816024438_create_approval_requests.rb +19 -0
  54. data/spec/rails/rails-5.1.2/db/migrate/20170816024439_create_approval_comments.rb +14 -0
  55. data/spec/rails/rails-5.1.2/db/migrate/20170816024440_create_approval_items.rb +17 -0
  56. data/spec/rails/rails-5.1.2/db/migrate/20170816024441_create_users.rb +9 -0
  57. data/spec/rails/rails-5.1.2/db/migrate/20170816024442_create_books.rb +9 -0
  58. data/spec/rails/rails-5.1.2/db/schema.rb +64 -0
  59. data/spec/rails/rails-5.1.2/db/seeds.rb +7 -0
  60. data/spec/rails/rails-5.1.2/db/test.sqlite3 +0 -0
  61. data/spec/rails/rails-5.1.2/log/test.log +1224 -0
  62. data/spec/rails/rails-5.1.2/package.json +5 -0
  63. data/spec/rails/rails-5.1.2/public/404.html +67 -0
  64. data/spec/rails/rails-5.1.2/public/422.html +67 -0
  65. data/spec/rails/rails-5.1.2/public/500.html +66 -0
  66. data/spec/rails/rails-5.1.2/public/apple-touch-icon-precomposed.png +0 -0
  67. data/spec/rails/rails-5.1.2/public/apple-touch-icon.png +0 -0
  68. data/spec/rails/rails-5.1.2/public/favicon.ico +0 -0
  69. data/spec/rails/rails-5.1.2/public/robots.txt +1 -0
  70. metadata +126 -2
@@ -0,0 +1,7 @@
1
+ # This file should contain all the record creation needed to seed the database with its default values.
2
+ # The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).
3
+ #
4
+ # Examples:
5
+ #
6
+ # movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])
7
+ # Character.create(name: 'Luke', movie: movies.first)
@@ -0,0 +1,1224 @@
1
+  (0.2ms) SELECT sqlite_version(*)
2
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
+ Migrating to CreateApprovalRequests (20170816024438)
6
+  (0.1ms) begin transaction
7
+  (0.4ms) CREATE TABLE "approval_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_user_id" integer NOT NULL, "respond_user_id" integer, "state" integer(1) DEFAULT 0 NOT NULL, "requested_at" datetime NOT NULL, "cancelled_at" datetime, "approved_at" datetime, "rejected_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
8
+  (0.1ms) CREATE INDEX "index_approval_requests_on_request_user_id" ON "approval_requests" ("request_user_id")
9
+  (0.1ms)  SELECT sql
10
+ FROM sqlite_master
11
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
12
+ UNION ALL
13
+ SELECT sql
14
+ FROM sqlite_temp_master
15
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
16
+ 
17
+  (0.1ms) CREATE INDEX "index_approval_requests_on_respond_user_id" ON "approval_requests" ("respond_user_id")
18
+  (0.1ms)  SELECT sql
19
+ FROM sqlite_master
20
+ WHERE name='index_approval_requests_on_respond_user_id' AND type='index'
21
+ UNION ALL
22
+ SELECT sql
23
+ FROM sqlite_temp_master
24
+ WHERE name='index_approval_requests_on_respond_user_id' AND type='index'
25
+ 
26
+  (0.0ms)  SELECT sql
27
+ FROM sqlite_master
28
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
29
+ UNION ALL
30
+ SELECT sql
31
+ FROM sqlite_temp_master
32
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
33
+ 
34
+  (0.1ms) CREATE INDEX "index_approval_requests_on_state" ON "approval_requests" ("state")
35
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024438"]]
36
+  (0.6ms) commit transaction
37
+ Migrating to CreateApprovalComments (20170816024439)
38
+  (0.1ms) begin transaction
39
+  (0.6ms) CREATE TABLE "approval_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "user_id" integer NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
40
+  (0.1ms) CREATE INDEX "index_approval_comments_on_request_id" ON "approval_comments" ("request_id")
41
+  (0.1ms)  SELECT sql
42
+ FROM sqlite_master
43
+ WHERE name='index_approval_comments_on_request_id' AND type='index'
44
+ UNION ALL
45
+ SELECT sql
46
+ FROM sqlite_temp_master
47
+ WHERE name='index_approval_comments_on_request_id' AND type='index'
48
+ 
49
+  (0.1ms) CREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id")
50
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024439"]]
51
+  (0.9ms) commit transaction
52
+ Migrating to CreateApprovalItems (20170816024440)
53
+  (0.1ms) begin transaction
54
+  (0.6ms) CREATE TABLE "approval_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "resource_id" integer, "resource_type" varchar NOT NULL, "event" varchar NOT NULL, "params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
55
+  (0.1ms) CREATE INDEX "index_approval_items_on_request_id" ON "approval_items" ("request_id")
56
+  (0.1ms)  SELECT sql
57
+ FROM sqlite_master
58
+ WHERE name='index_approval_items_on_request_id' AND type='index'
59
+ UNION ALL
60
+ SELECT sql
61
+ FROM sqlite_temp_master
62
+ WHERE name='index_approval_items_on_request_id' AND type='index'
63
+ 
64
+  (0.1ms) CREATE INDEX "index_approval_items_on_resource_id_and_resource_type" ON "approval_items" ("resource_id", "resource_type")
65
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024440"]]
66
+  (0.7ms) commit transaction
67
+ Migrating to CreateUsers (20170816024441)
68
+  (0.1ms) begin transaction
69
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
70
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024441"]]
71
+  (0.6ms) commit transaction
72
+ Migrating to CreateBooks (20170816024442)
73
+  (0.0ms) begin transaction
74
+  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
75
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024442"]]
76
+  (0.8ms) commit transaction
77
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
78
+  (0.0ms) begin transaction
79
+ SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-16 02:44:44.978496"], ["updated_at", "2017-08-16 02:44:44.978496"]]
80
+  (0.8ms) commit transaction
81
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
82
+  (0.1ms)  SELECT sql
83
+ FROM sqlite_master
84
+ WHERE name='index_approval_comments_on_user_id' AND type='index'
85
+ UNION ALL
86
+ SELECT sql
87
+ FROM sqlite_temp_master
88
+ WHERE name='index_approval_comments_on_user_id' AND type='index'
89
+ 
90
+  (0.1ms)  SELECT sql
91
+ FROM sqlite_master
92
+ WHERE name='index_approval_comments_on_request_id' AND type='index'
93
+ UNION ALL
94
+ SELECT sql
95
+ FROM sqlite_temp_master
96
+ WHERE name='index_approval_comments_on_request_id' AND type='index'
97
+ 
98
+  (0.1ms)  SELECT sql
99
+ FROM sqlite_master
100
+ WHERE name='index_approval_items_on_resource_id_and_resource_type' AND type='index'
101
+ UNION ALL
102
+ SELECT sql
103
+ FROM sqlite_temp_master
104
+ WHERE name='index_approval_items_on_resource_id_and_resource_type' AND type='index'
105
+ 
106
+  (0.1ms)  SELECT sql
107
+ FROM sqlite_master
108
+ WHERE name='index_approval_items_on_request_id' AND type='index'
109
+ UNION ALL
110
+ SELECT sql
111
+ FROM sqlite_temp_master
112
+ WHERE name='index_approval_items_on_request_id' AND type='index'
113
+ 
114
+  (0.1ms)  SELECT sql
115
+ FROM sqlite_master
116
+ WHERE name='index_approval_requests_on_state' AND type='index'
117
+ UNION ALL
118
+ SELECT sql
119
+ FROM sqlite_temp_master
120
+ WHERE name='index_approval_requests_on_state' AND type='index'
121
+ 
122
+  (0.1ms)  SELECT sql
123
+ FROM sqlite_master
124
+ WHERE name='index_approval_requests_on_respond_user_id' AND type='index'
125
+ UNION ALL
126
+ SELECT sql
127
+ FROM sqlite_temp_master
128
+ WHERE name='index_approval_requests_on_respond_user_id' AND type='index'
129
+ 
130
+  (0.1ms)  SELECT sql
131
+ FROM sqlite_master
132
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
133
+ UNION ALL
134
+ SELECT sql
135
+ FROM sqlite_temp_master
136
+ WHERE name='index_approval_requests_on_request_user_id' AND type='index'
137
+ 
138
+  (0.0ms) begin transaction
139
+  (0.1ms) rollback transaction
140
+  (0.1ms) begin transaction
141
+  (0.1ms) rollback transaction
142
+  (0.1ms) begin transaction
143
+  (0.1ms) rollback transaction
144
+  (0.1ms) begin transaction
145
+  (0.1ms) SAVEPOINT active_record_1
146
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 02:44:46.495832"], ["updated_at", "2017-08-16 02:44:46.495832"]]
147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
148
+ Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
149
+  (0.9ms) rollback transaction
150
+  (0.1ms) begin transaction
151
+  (0.1ms) SAVEPOINT active_record_1
152
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 02:44:46.531823"], ["updated_at", "2017-08-16 02:44:46.531823"]]
153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
154
+  (0.5ms) rollback transaction
155
+  (0.1ms) begin transaction
156
+  (0.0ms) rollback transaction
157
+  (0.1ms) begin transaction
158
+  (0.1ms) SAVEPOINT active_record_1
159
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 02:44:46.538212"], ["updated_at", "2017-08-16 02:44:46.538212"]]
160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
161
+  (0.4ms) rollback transaction
162
+  (0.1ms) begin transaction
163
+  (0.0ms) rollback transaction
164
+  (0.1ms) begin transaction
165
+  (0.0ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+  (0.1ms) SAVEPOINT active_record_1
168
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 02:44:46.545991"], ["updated_at", "2017-08-16 02:44:46.545991"]]
169
+  (0.1ms) RELEASE SAVEPOINT active_record_1
170
+  (0.6ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+  (0.1ms) SAVEPOINT active_record_1
173
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 02:44:46.553280"], ["updated_at", "2017-08-16 02:44:46.553280"]]
174
+  (0.1ms) RELEASE SAVEPOINT active_record_1
175
+  (0.6ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+  (0.1ms) rollback transaction
178
+  (0.1ms) begin transaction
179
+  (0.1ms) SAVEPOINT active_record_1
180
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 02:44:46.561419"], ["updated_at", "2017-08-16 02:44:46.561419"]]
181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
182
+  (3.8ms) rollback transaction
183
+  (0.1ms) begin transaction
184
+  (0.1ms) rollback transaction
185
+  (0.1ms) begin transaction
186
+  (0.2ms) SAVEPOINT active_record_1
187
+ SQL (0.8ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 02:44:46.573787"], ["updated_at", "2017-08-16 02:44:46.573787"]]
188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
189
+  (0.8ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+  (0.1ms) SAVEPOINT active_record_1
192
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 02:44:46.592092"], ["updated_at", "2017-08-16 02:44:46.592092"]]
193
+  (0.1ms) RELEASE SAVEPOINT active_record_1
194
+  (0.1ms) SAVEPOINT active_record_1
195
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 02:44:46.630043"], ["updated_at", "2017-08-16 02:44:46.630043"]]
196
+  (0.0ms) RELEASE SAVEPOINT active_record_1
197
+  (0.1ms) SAVEPOINT active_record_1
198
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.633231"], ["created_at", "2017-08-16 02:44:46.633117"], ["updated_at", "2017-08-16 02:44:46.633117"]]
199
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 02:44:46.634557"], ["updated_at", "2017-08-16 02:44:46.634557"]]
200
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:46.635763"], ["updated_at", "2017-08-16 02:44:46.635763"]]
201
+  (0.1ms) RELEASE SAVEPOINT active_record_1
202
+  (0.3ms) SELECT COUNT(*) FROM "books"
203
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
204
+  (0.1ms) SAVEPOINT active_record_1
205
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
206
+  (0.0ms) RELEASE SAVEPOINT active_record_1
207
+  (0.1ms) SELECT COUNT(*) FROM "books"
208
+  (0.4ms) rollback transaction
209
+  (0.1ms) begin transaction
210
+  (0.1ms) SAVEPOINT active_record_1
211
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 02:44:46.651864"], ["updated_at", "2017-08-16 02:44:46.651864"]]
212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
213
+  (0.1ms) SAVEPOINT active_record_1
214
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.657186"], ["created_at", "2017-08-16 02:44:46.657120"], ["updated_at", "2017-08-16 02:44:46.657120"]]
215
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content2"], ["created_at", "2017-08-16 02:44:46.658430"], ["updated_at", "2017-08-16 02:44:46.658430"]]
216
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.659730"], ["updated_at", "2017-08-16 02:44:46.659730"]]
217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
218
+  (0.2ms) SELECT COUNT(*) FROM "books"
219
+  (0.1ms) SAVEPOINT active_record_1
220
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-08-16 02:44:46.663890"], ["updated_at", "2017-08-16 02:44:46.663890"]]
221
+  (0.1ms) RELEASE SAVEPOINT active_record_1
222
+  (0.2ms) SAVEPOINT active_record_1
223
+ SQL (0.6ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-08-16 02:44:46.667801"], ["id", 1]]
224
+  (0.3ms) RELEASE SAVEPOINT active_record_1
225
+  (0.5ms) SELECT COUNT(*) FROM "books"
226
+  (1.2ms) rollback transaction
227
+  (0.1ms) begin transaction
228
+  (0.1ms) SAVEPOINT active_record_1
229
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 02:44:46.683841"], ["updated_at", "2017-08-16 02:44:46.683841"]]
230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
231
+  (0.1ms) SAVEPOINT active_record_1
232
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 02:44:46.687685"], ["updated_at", "2017-08-16 02:44:46.687685"]]
233
+  (0.0ms) RELEASE SAVEPOINT active_record_1
234
+  (0.0ms) SAVEPOINT active_record_1
235
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.690870"], ["created_at", "2017-08-16 02:44:46.690808"], ["updated_at", "2017-08-16 02:44:46.690808"]]
236
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content3"], ["created_at", "2017-08-16 02:44:46.692368"], ["updated_at", "2017-08-16 02:44:46.692368"]]
237
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 02:44:46.693944"], ["updated_at", "2017-08-16 02:44:46.693944"]]
238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
239
+ Book Load (0.3ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
240
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
241
+  (0.1ms) SAVEPOINT active_record_1
242
+ SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-08-16 02:44:46.700776"], ["id", 1]]
243
+  (0.3ms) RELEASE SAVEPOINT active_record_1
244
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
245
+  (0.6ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+  (0.1ms) rollback transaction
248
+  (0.1ms) begin transaction
249
+  (0.1ms) rollback transaction
250
+  (0.1ms) begin transaction
251
+  (0.1ms) SAVEPOINT active_record_1
252
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 02:44:46.712593"], ["updated_at", "2017-08-16 02:44:46.712593"]]
253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
254
+  (0.4ms) rollback transaction
255
+  (0.1ms) begin transaction
256
+  (0.2ms) SAVEPOINT active_record_1
257
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 02:44:46.725279"], ["updated_at", "2017-08-16 02:44:46.725279"]]
258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
259
+  (0.4ms) rollback transaction
260
+  (0.1ms) begin transaction
261
+  (0.1ms) SAVEPOINT active_record_1
262
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 02:44:46.730732"], ["updated_at", "2017-08-16 02:44:46.730732"]]
263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
264
+  (0.3ms) rollback transaction
265
+  (0.1ms) begin transaction
266
+  (0.0ms) rollback transaction
267
+  (0.1ms) begin transaction
268
+  (0.0ms) rollback transaction
269
+  (0.1ms) begin transaction
270
+  (0.0ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+  (0.0ms) rollback transaction
273
+  (0.1ms) begin transaction
274
+  (0.1ms) rollback transaction
275
+  (0.1ms) begin transaction
276
+  (0.1ms) rollback transaction
277
+  (0.1ms) begin transaction
278
+  (0.1ms) rollback transaction
279
+  (0.1ms) begin transaction
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+  (0.1ms) SAVEPOINT active_record_1
283
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 02:44:46.751871"], ["updated_at", "2017-08-16 02:44:46.751871"]]
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.1ms) SAVEPOINT active_record_1
286
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.759424"], ["created_at", "2017-08-16 02:44:46.759358"], ["updated_at", "2017-08-16 02:44:46.759358"]]
287
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content4"], ["created_at", "2017-08-16 02:44:46.760997"], ["updated_at", "2017-08-16 02:44:46.760997"]]
288
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.766586"], ["updated_at", "2017-08-16 02:44:46.766586"]]
289
+  (0.1ms) RELEASE SAVEPOINT active_record_1
290
+  (0.4ms) rollback transaction
291
+  (0.1ms) begin transaction
292
+  (0.1ms) rollback transaction
293
+  (0.1ms) begin transaction
294
+  (0.1ms) rollback transaction
295
+  (0.1ms) begin transaction
296
+  (0.1ms) rollback transaction
297
+  (0.1ms) begin transaction
298
+  (0.1ms) SAVEPOINT active_record_1
299
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 02:44:46.787700"], ["updated_at", "2017-08-16 02:44:46.787700"]]
300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
301
+  (0.4ms) rollback transaction
302
+  (0.1ms) begin transaction
303
+  (0.1ms) SAVEPOINT active_record_1
304
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 02:44:46.796419"], ["updated_at", "2017-08-16 02:44:46.796419"]]
305
+  (0.1ms) RELEASE SAVEPOINT active_record_1
306
+  (0.1ms) SAVEPOINT active_record_1
307
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 02:44:46.800912"], ["updated_at", "2017-08-16 02:44:46.800912"]]
308
+  (0.1ms) RELEASE SAVEPOINT active_record_1
309
+  (0.1ms) SAVEPOINT active_record_1
310
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.814974"], ["created_at", "2017-08-16 02:44:46.814902"], ["updated_at", "2017-08-16 02:44:46.814902"]]
311
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 02:44:46.820022"], ["updated_at", "2017-08-16 02:44:46.820022"]]
312
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.821486"], ["updated_at", "2017-08-16 02:44:46.821486"]]
313
+  (0.3ms) RELEASE SAVEPOINT active_record_1
314
+  (0.4ms) rollback transaction
315
+  (0.1ms) begin transaction
316
+  (0.1ms) SAVEPOINT active_record_1
317
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 02:44:46.828576"], ["updated_at", "2017-08-16 02:44:46.828576"]]
318
+  (0.1ms) RELEASE SAVEPOINT active_record_1
319
+  (0.1ms) SAVEPOINT active_record_1
320
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-08-16 02:44:46.831317"], ["updated_at", "2017-08-16 02:44:46.831317"]]
321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322
+  (0.1ms) SAVEPOINT active_record_1
323
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.839015"], ["created_at", "2017-08-16 02:44:46.838787"], ["updated_at", "2017-08-16 02:44:46.838787"]]
324
+ SQL (1.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 02:44:46.842677"], ["updated_at", "2017-08-16 02:44:46.842677"]]
325
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.847009"], ["updated_at", "2017-08-16 02:44:46.847009"]]
326
+  (0.1ms) RELEASE SAVEPOINT active_record_1
327
+  (0.6ms) rollback transaction
328
+  (0.2ms) begin transaction
329
+  (0.2ms) SAVEPOINT active_record_1
330
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-08-16 02:44:46.858819"], ["updated_at", "2017-08-16 02:44:46.858819"]]
331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
332
+  (0.1ms) SAVEPOINT active_record_1
333
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-08-16 02:44:46.863567"], ["updated_at", "2017-08-16 02:44:46.863567"]]
334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
335
+  (0.2ms) SAVEPOINT active_record_1
336
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.877831"], ["created_at", "2017-08-16 02:44:46.877755"], ["updated_at", "2017-08-16 02:44:46.877755"]]
337
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 02:44:46.879343"], ["updated_at", "2017-08-16 02:44:46.879343"]]
338
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.880913"], ["updated_at", "2017-08-16 02:44:46.880913"]]
339
+  (0.1ms) RELEASE SAVEPOINT active_record_1
340
+  (0.4ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+  (0.1ms) SAVEPOINT active_record_1
343
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-08-16 02:44:46.886003"], ["updated_at", "2017-08-16 02:44:46.886003"]]
344
+  (0.1ms) RELEASE SAVEPOINT active_record_1
345
+  (0.1ms) SAVEPOINT active_record_1
346
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-08-16 02:44:46.888754"], ["updated_at", "2017-08-16 02:44:46.888754"]]
347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
348
+  (0.1ms) SAVEPOINT active_record_1
349
+ SQL (0.7ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.894039"], ["created_at", "2017-08-16 02:44:46.893969"], ["updated_at", "2017-08-16 02:44:46.893969"]]
350
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 02:44:46.896484"], ["updated_at", "2017-08-16 02:44:46.896484"]]
351
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.899046"], ["updated_at", "2017-08-16 02:44:46.899046"]]
352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
353
+  (0.7ms) rollback transaction
354
+  (0.1ms) begin transaction
355
+  (0.1ms) SAVEPOINT active_record_1
356
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-08-16 02:44:46.910245"], ["updated_at", "2017-08-16 02:44:46.910245"]]
357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
358
+  (0.1ms) SAVEPOINT active_record_1
359
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-08-16 02:44:46.917075"], ["updated_at", "2017-08-16 02:44:46.917075"]]
360
+  (0.2ms) RELEASE SAVEPOINT active_record_1
361
+  (0.1ms) SAVEPOINT active_record_1
362
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.925569"], ["created_at", "2017-08-16 02:44:46.925256"], ["updated_at", "2017-08-16 02:44:46.925256"]]
363
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 02:44:46.927426"], ["updated_at", "2017-08-16 02:44:46.927426"]]
364
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.928887"], ["updated_at", "2017-08-16 02:44:46.928887"]]
365
+  (0.0ms) RELEASE SAVEPOINT active_record_1
366
+  (0.4ms) rollback transaction
367
+  (0.1ms) begin transaction
368
+  (0.1ms) SAVEPOINT active_record_1
369
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 02:44:46.933541"], ["updated_at", "2017-08-16 02:44:46.933541"]]
370
+  (0.0ms) RELEASE SAVEPOINT active_record_1
371
+  (0.3ms) SAVEPOINT active_record_1
372
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 02:44:46.936166"], ["updated_at", "2017-08-16 02:44:46.936166"]]
373
+  (0.0ms) RELEASE SAVEPOINT active_record_1
374
+  (0.1ms) SAVEPOINT active_record_1
375
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.941395"], ["created_at", "2017-08-16 02:44:46.941330"], ["updated_at", "2017-08-16 02:44:46.941330"]]
376
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content10"], ["created_at", "2017-08-16 02:44:46.943156"], ["updated_at", "2017-08-16 02:44:46.943156"]]
377
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.944869"], ["updated_at", "2017-08-16 02:44:46.944869"]]
378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
379
+  (0.7ms) rollback transaction
380
+  (0.1ms) begin transaction
381
+  (0.1ms) SAVEPOINT active_record_1
382
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 02:44:46.953513"], ["updated_at", "2017-08-16 02:44:46.953513"]]
383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
384
+  (0.1ms) SAVEPOINT active_record_1
385
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 02:44:46.957539"], ["updated_at", "2017-08-16 02:44:46.957539"]]
386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
387
+  (0.1ms) SAVEPOINT active_record_1
388
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.967707"], ["created_at", "2017-08-16 02:44:46.967640"], ["updated_at", "2017-08-16 02:44:46.967640"]]
389
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content11"], ["created_at", "2017-08-16 02:44:46.969075"], ["updated_at", "2017-08-16 02:44:46.969075"]]
390
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.970923"], ["updated_at", "2017-08-16 02:44:46.970923"]]
391
+  (0.1ms) RELEASE SAVEPOINT active_record_1
392
+  (0.8ms) rollback transaction
393
+  (0.1ms) begin transaction
394
+  (0.1ms) SAVEPOINT active_record_1
395
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 02:44:46.979435"], ["updated_at", "2017-08-16 02:44:46.979435"]]
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.1ms) SAVEPOINT active_record_1
398
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 02:44:46.981999"], ["updated_at", "2017-08-16 02:44:46.981999"]]
399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
400
+  (0.1ms) SAVEPOINT active_record_1
401
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.987716"], ["created_at", "2017-08-16 02:44:46.987643"], ["updated_at", "2017-08-16 02:44:46.987643"]]
402
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content12"], ["created_at", "2017-08-16 02:44:46.989320"], ["updated_at", "2017-08-16 02:44:46.989320"]]
403
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.990660"], ["updated_at", "2017-08-16 02:44:46.990660"]]
404
+  (0.1ms) RELEASE SAVEPOINT active_record_1
405
+  (0.4ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+  (0.1ms) rollback transaction
408
+  (0.1ms) begin transaction
409
+  (0.1ms) SAVEPOINT active_record_1
410
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 02:44:47.001607"], ["updated_at", "2017-08-16 02:44:47.001607"]]
411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
412
+  (0.9ms) rollback transaction
413
+  (0.1ms) begin transaction
414
+  (0.1ms) SAVEPOINT active_record_1
415
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 02:44:47.009397"], ["updated_at", "2017-08-16 02:44:47.009397"]]
416
+  (0.1ms) RELEASE SAVEPOINT active_record_1
417
+  (0.4ms) rollback transaction
418
+  (0.1ms) begin transaction
419
+  (0.1ms) rollback transaction
420
+  (0.1ms) begin transaction
421
+  (0.1ms) SAVEPOINT active_record_1
422
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 02:44:47.033199"], ["updated_at", "2017-08-16 02:44:47.033199"]]
423
+  (0.1ms) RELEASE SAVEPOINT active_record_1
424
+  (0.4ms) rollback transaction
425
+  (0.1ms) begin transaction
426
+  (0.1ms) SAVEPOINT active_record_1
427
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 02:44:47.038813"], ["updated_at", "2017-08-16 02:44:47.038813"]]
428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
429
+  (0.5ms) rollback transaction
430
+  (0.1ms) begin transaction
431
+  (0.2ms) SAVEPOINT active_record_1
432
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-08-16 02:44:47.045986"], ["updated_at", "2017-08-16 02:44:47.045986"]]
433
+  (0.1ms) RELEASE SAVEPOINT active_record_1
434
+  (0.6ms) rollback transaction
435
+  (0.1ms) begin transaction
436
+  (0.2ms) SAVEPOINT active_record_1
437
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 02:44:47.056075"], ["updated_at", "2017-08-16 02:44:47.056075"]]
438
+  (0.1ms) RELEASE SAVEPOINT active_record_1
439
+  (0.5ms) rollback transaction
440
+  (0.1ms) begin transaction
441
+  (3.3ms) SELECT COUNT(*) FROM "approval_items"
442
+  (0.1ms) SAVEPOINT active_record_1
443
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 02:44:47.069481"], ["updated_at", "2017-08-16 02:44:47.069481"]]
444
+  (0.1ms) RELEASE SAVEPOINT active_record_1
445
+  (0.1ms) SAVEPOINT active_record_1
446
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 02:44:47.071493"], ["updated_at", "2017-08-16 02:44:47.071493"]]
447
+  (0.2ms) RELEASE SAVEPOINT active_record_1
448
+  (0.3ms) SAVEPOINT active_record_1
449
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
450
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.084989"], ["created_at", "2017-08-16 02:44:47.084923"], ["updated_at", "2017-08-16 02:44:47.084923"]]
451
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.086397"], ["updated_at", "2017-08-16 02:44:47.086397"]]
452
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.087885"], ["updated_at", "2017-08-16 02:44:47.087885"]]
453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
454
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
455
+  (0.8ms) rollback transaction
456
+  (0.1ms) begin transaction
457
+  (0.2ms) SAVEPOINT active_record_1
458
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 02:44:47.127547"], ["updated_at", "2017-08-16 02:44:47.127547"]]
459
+  (0.1ms) RELEASE SAVEPOINT active_record_1
460
+  (0.0ms) SAVEPOINT active_record_1
461
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 02:44:47.129427"], ["updated_at", "2017-08-16 02:44:47.129427"]]
462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
463
+  (0.0ms) SAVEPOINT active_record_1
464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
465
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.135099"], ["created_at", "2017-08-16 02:44:47.135032"], ["updated_at", "2017-08-16 02:44:47.135032"]]
466
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.136261"], ["updated_at", "2017-08-16 02:44:47.136261"]]
467
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.137261"], ["updated_at", "2017-08-16 02:44:47.137261"]]
468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
469
+  (0.6ms) rollback transaction
470
+  (0.1ms) begin transaction
471
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
472
+  (0.0ms) SAVEPOINT active_record_1
473
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 02:44:47.141495"], ["updated_at", "2017-08-16 02:44:47.141495"]]
474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
475
+  (0.0ms) SAVEPOINT active_record_1
476
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 02:44:47.143075"], ["updated_at", "2017-08-16 02:44:47.143075"]]
477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
478
+  (0.1ms) SAVEPOINT active_record_1
479
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 02:44:47.145256"], ["updated_at", "2017-08-16 02:44:47.145256"]]
480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
481
+  (0.1ms) SAVEPOINT active_record_1
482
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 02:44:47.147774"], ["updated_at", "2017-08-16 02:44:47.147774"]]
483
+  (0.1ms) RELEASE SAVEPOINT active_record_1
484
+  (0.1ms) SAVEPOINT active_record_1
485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
486
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.159128"], ["created_at", "2017-08-16 02:44:47.159061"], ["updated_at", "2017-08-16 02:44:47.159061"]]
487
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.160447"], ["updated_at", "2017-08-16 02:44:47.160447"]]
488
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.161871"], ["updated_at", "2017-08-16 02:44:47.161871"]]
489
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.166687"], ["updated_at", "2017-08-16 02:44:47.166687"]]
490
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.167954"], ["updated_at", "2017-08-16 02:44:47.167954"]]
491
+  (0.0ms) RELEASE SAVEPOINT active_record_1
492
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
493
+  (0.5ms) rollback transaction
494
+  (0.4ms) begin transaction
495
+  (0.1ms) SAVEPOINT active_record_1
496
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 02:44:47.174386"], ["updated_at", "2017-08-16 02:44:47.174386"]]
497
+  (0.1ms) RELEASE SAVEPOINT active_record_1
498
+  (0.1ms) SAVEPOINT active_record_1
499
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 02:44:47.177530"], ["updated_at", "2017-08-16 02:44:47.177530"]]
500
+  (0.0ms) RELEASE SAVEPOINT active_record_1
501
+  (0.1ms) SAVEPOINT active_record_1
502
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 02:44:47.179094"], ["updated_at", "2017-08-16 02:44:47.179094"]]
503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
504
+  (0.0ms) SAVEPOINT active_record_1
505
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 02:44:47.180398"], ["updated_at", "2017-08-16 02:44:47.180398"]]
506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
507
+  (0.0ms) SAVEPOINT active_record_1
508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
509
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.187197"], ["created_at", "2017-08-16 02:44:47.187136"], ["updated_at", "2017-08-16 02:44:47.187136"]]
510
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.188314"], ["updated_at", "2017-08-16 02:44:47.188314"]]
511
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.189477"], ["updated_at", "2017-08-16 02:44:47.189477"]]
512
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.190744"], ["updated_at", "2017-08-16 02:44:47.190744"]]
513
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.191900"], ["updated_at", "2017-08-16 02:44:47.191900"]]
514
+  (0.0ms) RELEASE SAVEPOINT active_record_1
515
+  (0.5ms) rollback transaction
516
+  (0.2ms) begin transaction
517
+  (0.3ms) SAVEPOINT active_record_1
518
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-08-16 02:44:47.202114"], ["updated_at", "2017-08-16 02:44:47.202114"]]
519
+  (0.1ms) RELEASE SAVEPOINT active_record_1
520
+  (0.1ms) SAVEPOINT active_record_1
521
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 02:44:47.206681"], ["updated_at", "2017-08-16 02:44:47.206681"]]
522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
523
+  (0.1ms) SAVEPOINT active_record_1
524
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
525
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.219348"], ["created_at", "2017-08-16 02:44:47.219227"], ["updated_at", "2017-08-16 02:44:47.219227"]]
526
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.220895"], ["updated_at", "2017-08-16 02:44:47.220895"]]
527
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.223442"], ["updated_at", "2017-08-16 02:44:47.223442"]]
528
+  (0.1ms) RELEASE SAVEPOINT active_record_1
529
+  (0.6ms) rollback transaction
530
+  (0.1ms) begin transaction
531
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
532
+  (0.0ms) SAVEPOINT active_record_1
533
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-08-16 02:44:47.229982"], ["updated_at", "2017-08-16 02:44:47.229982"]]
534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
535
+  (0.0ms) SAVEPOINT active_record_1
536
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 02:44:47.232148"], ["updated_at", "2017-08-16 02:44:47.232148"]]
537
+  (0.1ms) RELEASE SAVEPOINT active_record_1
538
+  (0.0ms) SAVEPOINT active_record_1
539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
540
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.239958"], ["created_at", "2017-08-16 02:44:47.239889"], ["updated_at", "2017-08-16 02:44:47.239889"]]
541
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.241146"], ["updated_at", "2017-08-16 02:44:47.241146"]]
542
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.242331"], ["updated_at", "2017-08-16 02:44:47.242331"]]
543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
544
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
545
+  (0.5ms) rollback transaction
546
+  (0.1ms) begin transaction
547
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
548
+  (0.1ms) SAVEPOINT active_record_1
549
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 02:44:47.256982"], ["updated_at", "2017-08-16 02:44:47.256982"]]
550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
551
+  (0.1ms) SAVEPOINT active_record_1
552
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-08-16 02:44:47.259139"], ["updated_at", "2017-08-16 02:44:47.259139"]]
553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
554
+  (0.1ms) SAVEPOINT active_record_1
555
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 02:44:47.260816"], ["updated_at", "2017-08-16 02:44:47.260816"]]
556
+  (3.7ms) RELEASE SAVEPOINT active_record_1
557
+  (0.1ms) SAVEPOINT active_record_1
558
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 02:44:47.266510"], ["updated_at", "2017-08-16 02:44:47.266510"]]
559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
560
+  (0.0ms) SAVEPOINT active_record_1
561
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
562
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.279071"], ["created_at", "2017-08-16 02:44:47.279002"], ["updated_at", "2017-08-16 02:44:47.279002"]]
563
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.280314"], ["updated_at", "2017-08-16 02:44:47.280314"]]
564
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.281501"], ["updated_at", "2017-08-16 02:44:47.281501"]]
565
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.282946"], ["updated_at", "2017-08-16 02:44:47.282946"]]
566
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.284601"], ["updated_at", "2017-08-16 02:44:47.284601"]]
567
+  (0.2ms) RELEASE SAVEPOINT active_record_1
568
+  (0.4ms) SELECT COUNT(*) FROM "approval_items"
569
+  (0.6ms) rollback transaction
570
+  (0.1ms) begin transaction
571
+  (0.1ms) SAVEPOINT active_record_1
572
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 02:44:47.292129"], ["updated_at", "2017-08-16 02:44:47.292129"]]
573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
574
+  (0.1ms) SAVEPOINT active_record_1
575
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 02:44:47.295640"], ["updated_at", "2017-08-16 02:44:47.295640"]]
576
+  (0.1ms) RELEASE SAVEPOINT active_record_1
577
+  (0.1ms) SAVEPOINT active_record_1
578
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 02:44:47.298338"], ["updated_at", "2017-08-16 02:44:47.298338"]]
579
+  (0.1ms) RELEASE SAVEPOINT active_record_1
580
+  (0.1ms) SAVEPOINT active_record_1
581
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 02:44:47.301538"], ["updated_at", "2017-08-16 02:44:47.301538"]]
582
+  (7.4ms) RELEASE SAVEPOINT active_record_1
583
+  (1.0ms) SAVEPOINT active_record_1
584
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
585
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.329312"], ["created_at", "2017-08-16 02:44:47.329237"], ["updated_at", "2017-08-16 02:44:47.329237"]]
586
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.330983"], ["updated_at", "2017-08-16 02:44:47.330983"]]
587
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.332708"], ["updated_at", "2017-08-16 02:44:47.332708"]]
588
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.334418"], ["updated_at", "2017-08-16 02:44:47.334418"]]
589
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.336082"], ["updated_at", "2017-08-16 02:44:47.336082"]]
590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
591
+  (1.5ms) rollback transaction
592
+  (0.2ms) begin transaction
593
+  (0.1ms) rollback transaction
594
+  (0.1ms) begin transaction
595
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
596
+  (0.1ms) SAVEPOINT active_record_1
597
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 02:44:47.348095"], ["updated_at", "2017-08-16 02:44:47.348095"]]
598
+  (0.1ms) RELEASE SAVEPOINT active_record_1
599
+  (0.1ms) SAVEPOINT active_record_1
600
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
601
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.368975"], ["created_at", "2017-08-16 02:44:47.368914"], ["updated_at", "2017-08-16 02:44:47.368914"]]
602
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.370344"], ["updated_at", "2017-08-16 02:44:47.370344"]]
603
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name41\n"], ["created_at", "2017-08-16 02:44:47.373232"], ["updated_at", "2017-08-16 02:44:47.373232"]]
604
+  (0.1ms) RELEASE SAVEPOINT active_record_1
605
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
606
+  (1.3ms) rollback transaction
607
+  (0.1ms) begin transaction
608
+  (0.1ms) SAVEPOINT active_record_1
609
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 02:44:47.384267"], ["updated_at", "2017-08-16 02:44:47.384267"]]
610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
611
+  (0.0ms) SAVEPOINT active_record_1
612
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
613
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.391260"], ["created_at", "2017-08-16 02:44:47.391195"], ["updated_at", "2017-08-16 02:44:47.391195"]]
614
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.392420"], ["updated_at", "2017-08-16 02:44:47.392420"]]
615
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name42\n"], ["created_at", "2017-08-16 02:44:47.394438"], ["updated_at", "2017-08-16 02:44:47.394438"]]
616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
617
+  (0.7ms) rollback transaction
618
+  (0.1ms) begin transaction
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 02:44:47.400930"], ["updated_at", "2017-08-16 02:44:47.400930"]]
621
+  (0.1ms) RELEASE SAVEPOINT active_record_1
622
+  (0.1ms) SAVEPOINT active_record_1
623
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
624
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.417450"], ["created_at", "2017-08-16 02:44:47.417385"], ["updated_at", "2017-08-16 02:44:47.417385"]]
625
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.418620"], ["updated_at", "2017-08-16 02:44:47.418620"]]
626
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name43\n"], ["created_at", "2017-08-16 02:44:47.419824"], ["updated_at", "2017-08-16 02:44:47.419824"]]
627
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name44\n"], ["created_at", "2017-08-16 02:44:47.422267"], ["updated_at", "2017-08-16 02:44:47.422267"]]
628
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name45\n"], ["created_at", "2017-08-16 02:44:47.426287"], ["updated_at", "2017-08-16 02:44:47.426287"]]
629
+  (0.1ms) RELEASE SAVEPOINT active_record_1
630
+  (0.4ms) rollback transaction
631
+  (0.1ms) begin transaction
632
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
633
+  (0.1ms) SAVEPOINT active_record_1
634
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 02:44:47.431303"], ["updated_at", "2017-08-16 02:44:47.431303"]]
635
+  (0.0ms) RELEASE SAVEPOINT active_record_1
636
+  (0.0ms) SAVEPOINT active_record_1
637
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
638
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.440487"], ["created_at", "2017-08-16 02:44:47.440411"], ["updated_at", "2017-08-16 02:44:47.440411"]]
639
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.441712"], ["updated_at", "2017-08-16 02:44:47.441712"]]
640
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name46\n"], ["created_at", "2017-08-16 02:44:47.442918"], ["updated_at", "2017-08-16 02:44:47.442918"]]
641
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name47\n"], ["created_at", "2017-08-16 02:44:47.445747"], ["updated_at", "2017-08-16 02:44:47.445747"]]
642
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name48\n"], ["created_at", "2017-08-16 02:44:47.448509"], ["updated_at", "2017-08-16 02:44:47.448509"]]
643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
644
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
645
+  (0.6ms) rollback transaction
646
+  (0.1ms) begin transaction
647
+  (0.1ms) rollback transaction
648
+  (0.1ms) begin transaction
649
+  (0.1ms) SAVEPOINT active_record_1
650
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-08-16 02:44:47.458829"], ["updated_at", "2017-08-16 02:44:47.458829"]]
651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
652
+  (0.4ms) rollback transaction
653
+  (0.1ms) begin transaction
654
+  (0.1ms) rollback transaction
655
+  (0.1ms) begin transaction
656
+  (0.0ms) rollback transaction
657
+  (0.1ms) begin transaction
658
+  (0.1ms) rollback transaction
659
+  (0.1ms) begin transaction
660
+  (0.1ms) rollback transaction
661
+  (0.1ms) begin transaction
662
+  (0.1ms) rollback transaction
663
+  (0.1ms) begin transaction
664
+  (0.0ms) rollback transaction
665
+  (0.1ms) begin transaction
666
+  (0.0ms) rollback transaction
667
+  (0.0ms) begin transaction
668
+  (0.1ms) rollback transaction
669
+  (0.1ms) begin transaction
670
+  (0.1ms) rollback transaction
671
+  (0.1ms) begin transaction
672
+  (0.1ms) rollback transaction
673
+  (0.1ms) begin transaction
674
+  (0.1ms) rollback transaction
675
+  (0.1ms) begin transaction
676
+  (0.1ms) SAVEPOINT active_record_1
677
+ SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 03:34:53.473271"], ["updated_at", "2017-08-16 03:34:53.473271"]]
678
+  (0.1ms) RELEASE SAVEPOINT active_record_1
679
+  (0.5ms) rollback transaction
680
+  (0.2ms) begin transaction
681
+  (0.0ms) rollback transaction
682
+  (0.1ms) begin transaction
683
+  (0.1ms) rollback transaction
684
+  (0.1ms) begin transaction
685
+  (0.1ms) rollback transaction
686
+  (0.1ms) begin transaction
687
+  (0.1ms) rollback transaction
688
+  (0.1ms) begin transaction
689
+  (0.1ms) SAVEPOINT active_record_1
690
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 03:34:53.492196"], ["updated_at", "2017-08-16 03:34:53.492196"]]
691
+  (0.0ms) RELEASE SAVEPOINT active_record_1
692
+  (0.2ms) SAVEPOINT active_record_1
693
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.553334"], ["created_at", "2017-08-16 03:34:53.552944"], ["updated_at", "2017-08-16 03:34:53.552944"]]
694
+ SQL (0.7ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 03:34:53.556356"], ["updated_at", "2017-08-16 03:34:53.556356"]]
695
+ SQL (0.8ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.558454"], ["updated_at", "2017-08-16 03:34:53.558454"]]
696
+  (0.1ms) RELEASE SAVEPOINT active_record_1
697
+  (0.6ms) rollback transaction
698
+  (0.1ms) begin transaction
699
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
700
+  (0.1ms) SAVEPOINT active_record_1
701
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 03:34:53.573343"], ["updated_at", "2017-08-16 03:34:53.573343"]]
702
+  (0.0ms) RELEASE SAVEPOINT active_record_1
703
+  (0.0ms) SAVEPOINT active_record_1
704
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 03:34:53.575527"], ["updated_at", "2017-08-16 03:34:53.575527"]]
705
+  (0.2ms) RELEASE SAVEPOINT active_record_1
706
+  (0.1ms) SAVEPOINT active_record_1
707
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
708
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
709
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
710
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.594033"], ["created_at", "2017-08-16 03:34:53.593899"], ["updated_at", "2017-08-16 03:34:53.593899"]]
711
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.596216"], ["updated_at", "2017-08-16 03:34:53.596216"]]
712
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
713
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.597730"], ["updated_at", "2017-08-16 03:34:53.597730"]]
714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
715
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
716
+  (0.6ms) rollback transaction
717
+  (0.1ms) begin transaction
718
+  (0.1ms) SAVEPOINT active_record_1
719
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 03:34:53.632821"], ["updated_at", "2017-08-16 03:34:53.632821"]]
720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
721
+  (0.0ms) SAVEPOINT active_record_1
722
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 03:34:53.634991"], ["updated_at", "2017-08-16 03:34:53.634991"]]
723
+  (0.1ms) RELEASE SAVEPOINT active_record_1
724
+  (0.1ms) SAVEPOINT active_record_1
725
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
726
+ Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
727
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
728
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.644889"], ["created_at", "2017-08-16 03:34:53.644803"], ["updated_at", "2017-08-16 03:34:53.644803"]]
729
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.646652"], ["updated_at", "2017-08-16 03:34:53.646652"]]
730
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
731
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.648658"], ["updated_at", "2017-08-16 03:34:53.648658"]]
732
+  (0.0ms) RELEASE SAVEPOINT active_record_1
733
+  (0.6ms) rollback transaction
734
+  (0.1ms) begin transaction
735
+  (0.1ms) SAVEPOINT active_record_1
736
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 03:34:53.653647"], ["updated_at", "2017-08-16 03:34:53.653647"]]
737
+  (0.1ms) RELEASE SAVEPOINT active_record_1
738
+  (0.0ms) SAVEPOINT active_record_1
739
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 03:34:53.656085"], ["updated_at", "2017-08-16 03:34:53.656085"]]
740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
741
+  (0.0ms) SAVEPOINT active_record_1
742
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 03:34:53.657655"], ["updated_at", "2017-08-16 03:34:53.657655"]]
743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
744
+  (0.1ms) SAVEPOINT active_record_1
745
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 03:34:53.659786"], ["updated_at", "2017-08-16 03:34:53.659786"]]
746
+  (0.1ms) RELEASE SAVEPOINT active_record_1
747
+  (0.1ms) SAVEPOINT active_record_1
748
+ Book Load (0.6ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
749
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
750
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
751
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
752
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
753
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
754
+ User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
755
+ SQL (0.8ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.690357"], ["created_at", "2017-08-16 03:34:53.689870"], ["updated_at", "2017-08-16 03:34:53.689870"]]
756
+ SQL (0.5ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.697852"], ["updated_at", "2017-08-16 03:34:53.697852"]]
757
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
758
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.702359"], ["updated_at", "2017-08-16 03:34:53.702359"]]
759
+ Book Load (0.5ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
760
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.707921"], ["updated_at", "2017-08-16 03:34:53.707921"]]
761
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
762
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.714662"], ["updated_at", "2017-08-16 03:34:53.714662"]]
763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
764
+  (1.2ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
767
+  (0.1ms) SAVEPOINT active_record_1
768
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 03:34:53.720701"], ["updated_at", "2017-08-16 03:34:53.720701"]]
769
+  (0.1ms) RELEASE SAVEPOINT active_record_1
770
+  (0.1ms) SAVEPOINT active_record_1
771
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 03:34:53.722829"], ["updated_at", "2017-08-16 03:34:53.722829"]]
772
+  (0.0ms) RELEASE SAVEPOINT active_record_1
773
+  (0.0ms) SAVEPOINT active_record_1
774
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 03:34:53.724433"], ["updated_at", "2017-08-16 03:34:53.724433"]]
775
+  (0.0ms) RELEASE SAVEPOINT active_record_1
776
+  (0.0ms) SAVEPOINT active_record_1
777
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 03:34:53.726079"], ["updated_at", "2017-08-16 03:34:53.726079"]]
778
+  (0.0ms) RELEASE SAVEPOINT active_record_1
779
+  (0.0ms) SAVEPOINT active_record_1
780
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
781
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
782
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
783
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
784
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
785
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
787
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.740210"], ["created_at", "2017-08-16 03:34:53.740125"], ["updated_at", "2017-08-16 03:34:53.740125"]]
788
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.741761"], ["updated_at", "2017-08-16 03:34:53.741761"]]
789
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
790
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.743444"], ["updated_at", "2017-08-16 03:34:53.743444"]]
791
+ Book Load (0.5ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
792
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.746692"], ["updated_at", "2017-08-16 03:34:53.746692"]]
793
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
794
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.748887"], ["updated_at", "2017-08-16 03:34:53.748887"]]
795
+  (0.1ms) RELEASE SAVEPOINT active_record_1
796
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
797
+  (1.0ms) rollback transaction
798
+  (0.1ms) begin transaction
799
+  (0.1ms) SAVEPOINT active_record_1
800
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 03:34:53.756451"], ["updated_at", "2017-08-16 03:34:53.756451"]]
801
+  (0.4ms) RELEASE SAVEPOINT active_record_1
802
+  (0.0ms) SAVEPOINT active_record_1
803
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
804
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.768545"], ["created_at", "2017-08-16 03:34:53.768475"], ["updated_at", "2017-08-16 03:34:53.768475"]]
805
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.770947"], ["updated_at", "2017-08-16 03:34:53.770947"]]
806
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name9\n"], ["created_at", "2017-08-16 03:34:53.772674"], ["updated_at", "2017-08-16 03:34:53.772674"]]
807
+  (0.1ms) RELEASE SAVEPOINT active_record_1
808
+  (0.6ms) rollback transaction
809
+  (0.1ms) begin transaction
810
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
811
+  (0.1ms) SAVEPOINT active_record_1
812
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 03:34:53.778794"], ["updated_at", "2017-08-16 03:34:53.778794"]]
813
+  (0.1ms) RELEASE SAVEPOINT active_record_1
814
+  (0.0ms) SAVEPOINT active_record_1
815
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
816
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.790154"], ["created_at", "2017-08-16 03:34:53.790083"], ["updated_at", "2017-08-16 03:34:53.790083"]]
817
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.791567"], ["updated_at", "2017-08-16 03:34:53.791567"]]
818
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name10\n"], ["created_at", "2017-08-16 03:34:53.793323"], ["updated_at", "2017-08-16 03:34:53.793323"]]
819
+  (0.1ms) RELEASE SAVEPOINT active_record_1
820
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
821
+  (0.5ms) rollback transaction
822
+  (0.1ms) begin transaction
823
+  (0.1ms) SAVEPOINT active_record_1
824
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 03:34:53.805517"], ["updated_at", "2017-08-16 03:34:53.805517"]]
825
+  (0.0ms) RELEASE SAVEPOINT active_record_1
826
+  (0.1ms) SAVEPOINT active_record_1
827
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
828
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.822006"], ["created_at", "2017-08-16 03:34:53.821917"], ["updated_at", "2017-08-16 03:34:53.821917"]]
829
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.823634"], ["updated_at", "2017-08-16 03:34:53.823634"]]
830
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name11\n"], ["created_at", "2017-08-16 03:34:53.824988"], ["updated_at", "2017-08-16 03:34:53.824988"]]
831
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name12\n"], ["created_at", "2017-08-16 03:34:53.839324"], ["updated_at", "2017-08-16 03:34:53.839324"]]
832
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name13\n"], ["created_at", "2017-08-16 03:34:53.841038"], ["updated_at", "2017-08-16 03:34:53.841038"]]
833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
834
+  (1.3ms) rollback transaction
835
+  (0.1ms) begin transaction
836
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
837
+  (0.0ms) SAVEPOINT active_record_1
838
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-08-16 03:34:53.846946"], ["updated_at", "2017-08-16 03:34:53.846946"]]
839
+  (0.0ms) RELEASE SAVEPOINT active_record_1
840
+  (0.0ms) SAVEPOINT active_record_1
841
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
842
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.857236"], ["created_at", "2017-08-16 03:34:53.857164"], ["updated_at", "2017-08-16 03:34:53.857164"]]
843
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.859898"], ["updated_at", "2017-08-16 03:34:53.859898"]]
844
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name14\n"], ["created_at", "2017-08-16 03:34:53.862581"], ["updated_at", "2017-08-16 03:34:53.862581"]]
845
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name15\n"], ["created_at", "2017-08-16 03:34:53.864423"], ["updated_at", "2017-08-16 03:34:53.864423"]]
846
+ SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name16\n"], ["created_at", "2017-08-16 03:34:53.866716"], ["updated_at", "2017-08-16 03:34:53.866716"]]
847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
848
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
849
+  (0.5ms) rollback transaction
850
+  (0.1ms) begin transaction
851
+  (0.1ms) SAVEPOINT active_record_1
852
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-08-16 03:34:53.872259"], ["updated_at", "2017-08-16 03:34:53.872259"]]
853
+  (0.1ms) RELEASE SAVEPOINT active_record_1
854
+  (0.1ms) SAVEPOINT active_record_1
855
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-08-16 03:34:53.875405"], ["updated_at", "2017-08-16 03:34:53.875405"]]
856
+  (0.1ms) RELEASE SAVEPOINT active_record_1
857
+  (0.1ms) SAVEPOINT active_record_1
858
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.881784"], ["created_at", "2017-08-16 03:34:53.881645"], ["updated_at", "2017-08-16 03:34:53.881645"]]
859
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content2"], ["created_at", "2017-08-16 03:34:53.883678"], ["updated_at", "2017-08-16 03:34:53.883678"]]
860
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.885500"], ["updated_at", "2017-08-16 03:34:53.885500"]]
861
+  (0.1ms) RELEASE SAVEPOINT active_record_1
862
+  (0.6ms) rollback transaction
863
+  (0.1ms) begin transaction
864
+  (0.1ms) SAVEPOINT active_record_1
865
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 03:34:53.892186"], ["updated_at", "2017-08-16 03:34:53.892186"]]
866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
867
+  (0.1ms) SAVEPOINT active_record_1
868
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 03:34:53.894506"], ["updated_at", "2017-08-16 03:34:53.894506"]]
869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
870
+  (0.7ms) SAVEPOINT active_record_1
871
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.904961"], ["created_at", "2017-08-16 03:34:53.904864"], ["updated_at", "2017-08-16 03:34:53.904864"]]
872
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content3"], ["created_at", "2017-08-16 03:34:53.907079"], ["updated_at", "2017-08-16 03:34:53.907079"]]
873
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.908694"], ["updated_at", "2017-08-16 03:34:53.908694"]]
874
+  (0.1ms) RELEASE SAVEPOINT active_record_1
875
+  (1.0ms) rollback transaction
876
+  (0.1ms) begin transaction
877
+  (0.1ms) SAVEPOINT active_record_1
878
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 03:34:53.916451"], ["updated_at", "2017-08-16 03:34:53.916451"]]
879
+  (0.1ms) RELEASE SAVEPOINT active_record_1
880
+  (0.1ms) SAVEPOINT active_record_1
881
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 03:34:53.918943"], ["updated_at", "2017-08-16 03:34:53.918943"]]
882
+  (0.1ms) RELEASE SAVEPOINT active_record_1
883
+  (0.1ms) SAVEPOINT active_record_1
884
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.926631"], ["created_at", "2017-08-16 03:34:53.926552"], ["updated_at", "2017-08-16 03:34:53.926552"]]
885
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content4"], ["created_at", "2017-08-16 03:34:53.928050"], ["updated_at", "2017-08-16 03:34:53.928050"]]
886
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.930092"], ["updated_at", "2017-08-16 03:34:53.930092"]]
887
+  (0.1ms) RELEASE SAVEPOINT active_record_1
888
+  (0.5ms) rollback transaction
889
+  (0.1ms) begin transaction
890
+  (0.1ms) SAVEPOINT active_record_1
891
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 03:34:53.936149"], ["updated_at", "2017-08-16 03:34:53.936149"]]
892
+  (0.1ms) RELEASE SAVEPOINT active_record_1
893
+  (0.1ms) SAVEPOINT active_record_1
894
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-08-16 03:34:53.939559"], ["updated_at", "2017-08-16 03:34:53.939559"]]
895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
896
+  (0.1ms) SAVEPOINT active_record_1
897
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.945019"], ["created_at", "2017-08-16 03:34:53.944853"], ["updated_at", "2017-08-16 03:34:53.944853"]]
898
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 03:34:53.947491"], ["updated_at", "2017-08-16 03:34:53.947491"]]
899
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.948927"], ["updated_at", "2017-08-16 03:34:53.948927"]]
900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
901
+  (0.4ms) rollback transaction
902
+  (0.1ms) begin transaction
903
+  (0.1ms) SAVEPOINT active_record_1
904
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-08-16 03:34:53.955247"], ["updated_at", "2017-08-16 03:34:53.955247"]]
905
+  (0.1ms) RELEASE SAVEPOINT active_record_1
906
+  (0.1ms) SAVEPOINT active_record_1
907
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-08-16 03:34:53.957690"], ["updated_at", "2017-08-16 03:34:53.957690"]]
908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
909
+  (0.2ms) SAVEPOINT active_record_1
910
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.965611"], ["created_at", "2017-08-16 03:34:53.965523"], ["updated_at", "2017-08-16 03:34:53.965523"]]
911
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 03:34:53.967376"], ["updated_at", "2017-08-16 03:34:53.967376"]]
912
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.968686"], ["updated_at", "2017-08-16 03:34:53.968686"]]
913
+  (0.1ms) RELEASE SAVEPOINT active_record_1
914
+  (0.6ms) rollback transaction
915
+  (0.1ms) begin transaction
916
+  (0.1ms) SAVEPOINT active_record_1
917
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-08-16 03:34:53.974392"], ["updated_at", "2017-08-16 03:34:53.974392"]]
918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
919
+  (0.0ms) SAVEPOINT active_record_1
920
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-08-16 03:34:53.976736"], ["updated_at", "2017-08-16 03:34:53.976736"]]
921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
922
+  (0.1ms) SAVEPOINT active_record_1
923
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.984516"], ["created_at", "2017-08-16 03:34:53.984444"], ["updated_at", "2017-08-16 03:34:53.984444"]]
924
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 03:34:53.986896"], ["updated_at", "2017-08-16 03:34:53.986896"]]
925
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.988536"], ["updated_at", "2017-08-16 03:34:53.988536"]]
926
+  (0.1ms) RELEASE SAVEPOINT active_record_1
927
+  (0.5ms) rollback transaction
928
+  (0.1ms) begin transaction
929
+  (0.1ms) SAVEPOINT active_record_1
930
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-08-16 03:34:53.994568"], ["updated_at", "2017-08-16 03:34:53.994568"]]
931
+  (0.1ms) RELEASE SAVEPOINT active_record_1
932
+  (0.1ms) SAVEPOINT active_record_1
933
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-08-16 03:34:53.997572"], ["updated_at", "2017-08-16 03:34:53.997572"]]
934
+  (0.1ms) RELEASE SAVEPOINT active_record_1
935
+  (0.1ms) SAVEPOINT active_record_1
936
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.004295"], ["created_at", "2017-08-16 03:34:54.004214"], ["updated_at", "2017-08-16 03:34:54.004214"]]
937
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 03:34:54.005772"], ["updated_at", "2017-08-16 03:34:54.005772"]]
938
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.007309"], ["updated_at", "2017-08-16 03:34:54.007309"]]
939
+  (0.1ms) RELEASE SAVEPOINT active_record_1
940
+  (0.7ms) rollback transaction
941
+  (0.1ms) begin transaction
942
+  (0.1ms) SAVEPOINT active_record_1
943
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 03:34:54.016013"], ["updated_at", "2017-08-16 03:34:54.016013"]]
944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
945
+  (0.1ms) SAVEPOINT active_record_1
946
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 03:34:54.019156"], ["updated_at", "2017-08-16 03:34:54.019156"]]
947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
948
+  (0.1ms) SAVEPOINT active_record_1
949
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.024450"], ["created_at", "2017-08-16 03:34:54.024311"], ["updated_at", "2017-08-16 03:34:54.024311"]]
950
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 03:34:54.026743"], ["updated_at", "2017-08-16 03:34:54.026743"]]
951
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.029040"], ["updated_at", "2017-08-16 03:34:54.029040"]]
952
+  (0.1ms) RELEASE SAVEPOINT active_record_1
953
+  (0.6ms) rollback transaction
954
+  (0.1ms) begin transaction
955
+  (0.1ms) rollback transaction
956
+  (0.1ms) begin transaction
957
+  (0.0ms) rollback transaction
958
+  (0.1ms) begin transaction
959
+  (0.1ms) SAVEPOINT active_record_1
960
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 03:34:54.040141"], ["updated_at", "2017-08-16 03:34:54.040141"]]
961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
962
+  (0.4ms) rollback transaction
963
+  (0.1ms) begin transaction
964
+  (0.1ms) SAVEPOINT active_record_1
965
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 03:34:54.046876"], ["updated_at", "2017-08-16 03:34:54.046876"]]
966
+  (0.0ms) RELEASE SAVEPOINT active_record_1
967
+  (0.3ms) rollback transaction
968
+  (0.2ms) begin transaction
969
+  (0.1ms) SAVEPOINT active_record_1
970
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 03:34:54.051897"], ["updated_at", "2017-08-16 03:34:54.051897"]]
971
+  (0.1ms) RELEASE SAVEPOINT active_record_1
972
+  (0.5ms) rollback transaction
973
+  (0.1ms) begin transaction
974
+  (0.0ms) rollback transaction
975
+  (0.2ms) begin transaction
976
+  (0.1ms) rollback transaction
977
+  (0.1ms) begin transaction
978
+  (0.2ms) rollback transaction
979
+  (0.1ms) begin transaction
980
+  (0.1ms) rollback transaction
981
+  (0.1ms) begin transaction
982
+  (0.1ms) rollback transaction
983
+  (0.1ms) begin transaction
984
+  (0.1ms) rollback transaction
985
+  (0.1ms) begin transaction
986
+  (0.1ms) rollback transaction
987
+  (0.1ms) begin transaction
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+  (0.1ms) SAVEPOINT active_record_1
991
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 03:34:54.093634"], ["updated_at", "2017-08-16 03:34:54.093634"]]
992
+  (0.0ms) RELEASE SAVEPOINT active_record_1
993
+  (1.2ms) rollback transaction
994
+  (0.3ms) begin transaction
995
+  (0.1ms) SAVEPOINT active_record_1
996
+ SQL (0.8ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 03:34:54.100621"], ["updated_at", "2017-08-16 03:34:54.100621"]]
997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
998
+  (2.1ms) rollback transaction
999
+  (0.1ms) begin transaction
1000
+  (0.2ms) rollback transaction
1001
+  (0.3ms) begin transaction
1002
+  (0.1ms) rollback transaction
1003
+  (0.2ms) begin transaction
1004
+  (0.1ms) SAVEPOINT active_record_1
1005
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 03:34:54.124951"], ["updated_at", "2017-08-16 03:34:54.124951"]]
1006
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1007
+  (0.5ms) rollback transaction
1008
+  (0.1ms) begin transaction
1009
+  (0.2ms) SAVEPOINT active_record_1
1010
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 03:34:54.131795"], ["updated_at", "2017-08-16 03:34:54.131795"]]
1011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1012
+  (0.4ms) rollback transaction
1013
+  (0.1ms) begin transaction
1014
+  (4.1ms) rollback transaction
1015
+  (0.1ms) begin transaction
1016
+  (0.1ms) SAVEPOINT active_record_1
1017
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 03:34:54.143622"], ["updated_at", "2017-08-16 03:34:54.143622"]]
1018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1019
+  (0.8ms) rollback transaction
1020
+  (0.3ms) begin transaction
1021
+  (0.1ms) rollback transaction
1022
+  (0.2ms) begin transaction
1023
+  (0.3ms) SAVEPOINT active_record_1
1024
+ SQL (0.7ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 03:34:54.160916"], ["updated_at", "2017-08-16 03:34:54.160916"]]
1025
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1026
+  (0.9ms) rollback transaction
1027
+  (0.2ms) begin transaction
1028
+  (0.1ms) rollback transaction
1029
+  (0.2ms) begin transaction
1030
+  (0.1ms) rollback transaction
1031
+  (0.1ms) begin transaction
1032
+  (0.1ms) rollback transaction
1033
+  (0.1ms) begin transaction
1034
+  (0.2ms) SAVEPOINT active_record_1
1035
+ SQL (1.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 03:34:54.216038"], ["updated_at", "2017-08-16 03:34:54.216038"]]
1036
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1037
+ Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1038
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1039
+  (1.5ms) rollback transaction
1040
+  (0.1ms) begin transaction
1041
+  (0.1ms) SAVEPOINT active_record_1
1042
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 03:34:54.238920"], ["updated_at", "2017-08-16 03:34:54.238920"]]
1043
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1044
+  (0.1ms) SAVEPOINT active_record_1
1045
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 03:34:54.243399"], ["updated_at", "2017-08-16 03:34:54.243399"]]
1046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1047
+  (0.1ms) SAVEPOINT active_record_1
1048
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1049
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1050
+ SQL (0.6ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.250851"], ["created_at", "2017-08-16 03:34:54.250597"], ["updated_at", "2017-08-16 03:34:54.250597"]]
1051
+ SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content10"], ["created_at", "2017-08-16 03:34:54.255560"], ["updated_at", "2017-08-16 03:34:54.255560"]]
1052
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1053
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 03:34:54.262904"], ["updated_at", "2017-08-16 03:34:54.262904"]]
1054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
+ Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1056
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1057
+  (0.1ms) SAVEPOINT active_record_1
1058
+ SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-08-16 03:34:54.276807"], ["id", 1]]
1059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1060
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1061
+  (0.8ms) rollback transaction
1062
+  (0.1ms) begin transaction
1063
+  (0.1ms) SAVEPOINT active_record_1
1064
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 03:34:54.288094"], ["updated_at", "2017-08-16 03:34:54.288094"]]
1065
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1066
+  (0.1ms) SAVEPOINT active_record_1
1067
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.293463"], ["created_at", "2017-08-16 03:34:54.293397"], ["updated_at", "2017-08-16 03:34:54.293397"]]
1068
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content11"], ["created_at", "2017-08-16 03:34:54.294727"], ["updated_at", "2017-08-16 03:34:54.294727"]]
1069
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.295921"], ["updated_at", "2017-08-16 03:34:54.295921"]]
1070
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1071
+  (0.1ms) SELECT COUNT(*) FROM "books"
1072
+  (0.1ms) SAVEPOINT active_record_1
1073
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-08-16 03:34:54.300530"], ["updated_at", "2017-08-16 03:34:54.300530"]]
1074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1075
+  (0.1ms) SAVEPOINT active_record_1
1076
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1077
+ SQL (0.2ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-08-16 03:34:54.304943"], ["id", 1]]
1078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1079
+  (0.3ms) SELECT COUNT(*) FROM "books"
1080
+  (0.9ms) rollback transaction
1081
+  (0.2ms) begin transaction
1082
+  (0.1ms) SAVEPOINT active_record_1
1083
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 03:34:54.315377"], ["updated_at", "2017-08-16 03:34:54.315377"]]
1084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1085
+  (0.1ms) SAVEPOINT active_record_1
1086
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 03:34:54.321893"], ["updated_at", "2017-08-16 03:34:54.321893"]]
1087
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1088
+  (0.1ms) SAVEPOINT active_record_1
1089
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.326694"], ["created_at", "2017-08-16 03:34:54.326612"], ["updated_at", "2017-08-16 03:34:54.326612"]]
1090
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content12"], ["created_at", "2017-08-16 03:34:54.327979"], ["updated_at", "2017-08-16 03:34:54.327979"]]
1091
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.329052"], ["updated_at", "2017-08-16 03:34:54.329052"]]
1092
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1093
+  (3.2ms) SELECT COUNT(*) FROM "books"
1094
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1095
+  (0.0ms) SAVEPOINT active_record_1
1096
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
1097
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1098
+  (0.1ms) SELECT COUNT(*) FROM "books"
1099
+  (0.4ms) rollback transaction
1100
+  (0.1ms) begin transaction
1101
+  (0.0ms) rollback transaction
1102
+  (0.1ms) begin transaction
1103
+  (0.0ms) rollback transaction
1104
+  (0.1ms) begin transaction
1105
+  (0.1ms) SAVEPOINT active_record_1
1106
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 03:34:54.343276"], ["updated_at", "2017-08-16 03:34:54.343276"]]
1107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1108
+  (0.5ms) rollback transaction
1109
+  (0.1ms) begin transaction
1110
+  (0.1ms) rollback transaction
1111
+  (0.1ms) begin transaction
1112
+  (0.2ms) rollback transaction
1113
+  (0.1ms) begin transaction
1114
+  (0.1ms) SAVEPOINT active_record_1
1115
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 03:34:54.360690"], ["updated_at", "2017-08-16 03:34:54.360690"]]
1116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.6ms) rollback transaction
1118
+  (0.1ms) begin transaction
1119
+  (0.1ms) rollback transaction
1120
+  (0.1ms) begin transaction
1121
+  (0.1ms) SAVEPOINT active_record_1
1122
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 03:34:54.376459"], ["updated_at", "2017-08-16 03:34:54.376459"]]
1123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1124
+  (0.4ms) rollback transaction
1125
+  (0.1ms) begin transaction
1126
+  (0.1ms) SAVEPOINT active_record_1
1127
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-08-16 03:34:54.386043"], ["updated_at", "2017-08-16 03:34:54.386043"]]
1128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1129
+  (0.5ms) rollback transaction
1130
+  (0.1ms) begin transaction
1131
+  (0.1ms) SAVEPOINT active_record_1
1132
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-08-16 03:34:54.391754"], ["updated_at", "2017-08-16 03:34:54.391754"]]
1133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
+  (0.5ms) rollback transaction
1135
+  (0.1ms) begin transaction
1136
+  (0.1ms) SAVEPOINT active_record_1
1137
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 03:34:54.398299"], ["updated_at", "2017-08-16 03:34:54.398299"]]
1138
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1139
+  (1.1ms) rollback transaction
1140
+  (0.1ms) begin transaction
1141
+  (0.1ms) rollback transaction
1142
+  (0.1ms) begin transaction
1143
+  (0.1ms) SAVEPOINT active_record_1
1144
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 03:34:54.418259"], ["updated_at", "2017-08-16 03:34:54.418259"]]
1145
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1146
+  (0.6ms) rollback transaction
1147
+  (0.1ms) begin transaction
1148
+  (0.1ms) rollback transaction
1149
+  (0.1ms) begin transaction
1150
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1151
+  (0.1ms) SAVEPOINT active_record_1
1152
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 03:34:54.428469"], ["updated_at", "2017-08-16 03:34:54.428469"]]
1153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1154
+  (3.2ms) SAVEPOINT active_record_1
1155
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 03:34:54.434275"], ["updated_at", "2017-08-16 03:34:54.434275"]]
1156
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1157
+  (0.0ms) SAVEPOINT active_record_1
1158
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1159
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.440867"], ["created_at", "2017-08-16 03:34:54.440804"], ["updated_at", "2017-08-16 03:34:54.440804"]]
1160
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.441999"], ["updated_at", "2017-08-16 03:34:54.441999"]]
1161
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.443164"], ["updated_at", "2017-08-16 03:34:54.443164"]]
1162
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1163
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1164
+  (0.9ms) rollback transaction
1165
+  (0.2ms) begin transaction
1166
+  (0.1ms) SAVEPOINT active_record_1
1167
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 03:34:54.456267"], ["updated_at", "2017-08-16 03:34:54.456267"]]
1168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1169
+  (0.1ms) SAVEPOINT active_record_1
1170
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 03:34:54.461362"], ["updated_at", "2017-08-16 03:34:54.461362"]]
1171
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1172
+  (0.1ms) SAVEPOINT active_record_1
1173
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1174
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.474616"], ["created_at", "2017-08-16 03:34:54.474422"], ["updated_at", "2017-08-16 03:34:54.474422"]]
1175
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.476453"], ["updated_at", "2017-08-16 03:34:54.476453"]]
1176
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.478157"], ["updated_at", "2017-08-16 03:34:54.478157"]]
1177
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1178
+  (0.6ms) rollback transaction
1179
+  (0.1ms) begin transaction
1180
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1181
+  (0.1ms) SAVEPOINT active_record_1
1182
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 03:34:54.488097"], ["updated_at", "2017-08-16 03:34:54.488097"]]
1183
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1184
+  (0.1ms) SAVEPOINT active_record_1
1185
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 03:34:54.490846"], ["updated_at", "2017-08-16 03:34:54.490846"]]
1186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1187
+  (0.1ms) SAVEPOINT active_record_1
1188
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 03:34:54.492648"], ["updated_at", "2017-08-16 03:34:54.492648"]]
1189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 03:34:54.493982"], ["updated_at", "2017-08-16 03:34:54.493982"]]
1192
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1193
+  (0.1ms) SAVEPOINT active_record_1
1194
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1195
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.512274"], ["created_at", "2017-08-16 03:34:54.512109"], ["updated_at", "2017-08-16 03:34:54.512109"]]
1196
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.515405"], ["updated_at", "2017-08-16 03:34:54.515405"]]
1197
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.518170"], ["updated_at", "2017-08-16 03:34:54.518170"]]
1198
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.520509"], ["updated_at", "2017-08-16 03:34:54.520509"]]
1199
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.522705"], ["updated_at", "2017-08-16 03:34:54.522705"]]
1200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1201
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1202
+  (1.4ms) rollback transaction
1203
+  (0.1ms) begin transaction
1204
+  (0.3ms) SAVEPOINT active_record_1
1205
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 03:34:54.535293"], ["updated_at", "2017-08-16 03:34:54.535293"]]
1206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1207
+  (0.1ms) SAVEPOINT active_record_1
1208
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 03:34:54.539103"], ["updated_at", "2017-08-16 03:34:54.539103"]]
1209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1210
+  (0.0ms) SAVEPOINT active_record_1
1211
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-08-16 03:34:54.540446"], ["updated_at", "2017-08-16 03:34:54.540446"]]
1212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1213
+  (0.0ms) SAVEPOINT active_record_1
1214
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name50"], ["created_at", "2017-08-16 03:34:54.541930"], ["updated_at", "2017-08-16 03:34:54.541930"]]
1215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1216
+  (0.0ms) SAVEPOINT active_record_1
1217
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1218
+ SQL (0.8ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.554956"], ["created_at", "2017-08-16 03:34:54.554570"], ["updated_at", "2017-08-16 03:34:54.554570"]]
1219
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.559899"], ["updated_at", "2017-08-16 03:34:54.559899"]]
1220
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.561618"], ["updated_at", "2017-08-16 03:34:54.561618"]]
1221
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.563514"], ["updated_at", "2017-08-16 03:34:54.563514"]]
1222
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.566174"], ["updated_at", "2017-08-16 03:34:54.566174"]]
1223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1224
+  (1.5ms) rollback transaction