approval 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -16
  3. data/Rakefile +9 -3
  4. data/lib/approval/config.rb +19 -0
  5. data/lib/approval/engine.rb +12 -0
  6. data/lib/approval/mixins/resource.rb +24 -0
  7. data/lib/approval/mixins/user.rb +36 -0
  8. data/lib/approval/mixins.rb +19 -0
  9. data/lib/approval/models/approval/comment.rb +10 -0
  10. data/lib/approval/models/approval/item.rb +60 -0
  11. data/lib/approval/models/approval/request.rb +43 -0
  12. data/lib/approval/models/approval/request_form/base.rb +37 -0
  13. data/lib/approval/models/approval/request_form/create.rb +22 -0
  14. data/lib/approval/models/approval/request_form/destroy.rb +22 -0
  15. data/lib/approval/models/approval/request_form/update.rb +23 -0
  16. data/lib/approval/models/approval/request_form.rb +4 -0
  17. data/lib/approval/models/approval/respond_form/approve.rb +19 -0
  18. data/lib/approval/models/approval/respond_form/base.rb +42 -0
  19. data/lib/approval/models/approval/respond_form/cancel.rb +16 -0
  20. data/lib/approval/models/approval/respond_form/reject.rb +18 -0
  21. data/lib/approval/models/approval/respond_form.rb +4 -0
  22. data/lib/approval/version.rb +1 -1
  23. data/lib/approval.rb +11 -3
  24. data/lib/generators/approval/USAGE +0 -0
  25. data/lib/generators/approval/install_generator.rb +45 -0
  26. data/lib/generators/approval/templates/create_approval_comments.rb.tt +14 -0
  27. data/lib/generators/approval/templates/create_approval_items.rb.tt +17 -0
  28. data/lib/generators/approval/templates/create_approval_requests.rb.tt +19 -0
  29. data/lib/generators/approval/templates/initializer.rb +4 -0
  30. data/spec/lib/config_spec.rb +10 -0
  31. data/spec/lib/version_spec.rb +7 -0
  32. data/spec/models/book_spec.rb +27 -0
  33. data/spec/models/comment_spec.rb +9 -0
  34. data/spec/models/item_spec.rb +114 -0
  35. data/spec/models/request_form/base_spec.rb +54 -0
  36. data/spec/models/request_form/create_spec.rb +23 -0
  37. data/spec/models/request_form/destroy_spec.rb +23 -0
  38. data/spec/models/request_form/update_spec.rb +23 -0
  39. data/spec/models/request_form_spec.rb +4 -0
  40. data/spec/models/request_spec.rb +40 -0
  41. data/spec/models/respond_form/approve_spec.rb +4 -0
  42. data/spec/models/respond_form/base_spec.rb +84 -0
  43. data/spec/models/respond_form/cancel_spec.rb +4 -0
  44. data/spec/models/respond_form/reject_spec.rb +4 -0
  45. data/spec/models/respond_form_spec.rb +4 -0
  46. data/spec/models/user_spec.rb +48 -0
  47. data/spec/rails/rails-4.2.9/README.rdoc +28 -0
  48. data/spec/rails/rails-4.2.9/Rakefile +6 -0
  49. data/spec/rails/rails-4.2.9/app/assets/javascripts/application.js +16 -0
  50. data/spec/rails/rails-4.2.9/app/assets/stylesheets/application.css +15 -0
  51. data/spec/rails/rails-4.2.9/app/controllers/application_controller.rb +5 -0
  52. data/spec/rails/rails-4.2.9/app/helpers/application_helper.rb +2 -0
  53. data/spec/rails/rails-4.2.9/app/models/book.rb +3 -0
  54. data/spec/rails/rails-4.2.9/app/models/user.rb +3 -0
  55. data/spec/rails/rails-4.2.9/app/views/layouts/application.html.erb +14 -0
  56. data/spec/rails/rails-4.2.9/bin/bundle +3 -0
  57. data/spec/rails/rails-4.2.9/bin/rails +4 -0
  58. data/spec/rails/rails-4.2.9/bin/rake +4 -0
  59. data/spec/rails/rails-4.2.9/bin/setup +29 -0
  60. data/spec/rails/rails-4.2.9/config/application.rb +35 -0
  61. data/spec/rails/rails-4.2.9/config/boot.rb +3 -0
  62. data/spec/rails/rails-4.2.9/config/database.yml +25 -0
  63. data/spec/rails/rails-4.2.9/config/environment.rb +8 -0
  64. data/spec/rails/rails-4.2.9/config/environments/development.rb +28 -0
  65. data/spec/rails/rails-4.2.9/config/environments/production.rb +67 -0
  66. data/spec/rails/rails-4.2.9/config/environments/test.rb +42 -0
  67. data/spec/rails/rails-4.2.9/config/initializers/approval.rb +4 -0
  68. data/spec/rails/rails-4.2.9/config/initializers/backtrace_silencers.rb +7 -0
  69. data/spec/rails/rails-4.2.9/config/initializers/cookies_serializer.rb +3 -0
  70. data/spec/rails/rails-4.2.9/config/initializers/filter_parameter_logging.rb +4 -0
  71. data/spec/rails/rails-4.2.9/config/initializers/inflections.rb +16 -0
  72. data/spec/rails/rails-4.2.9/config/initializers/mime_types.rb +4 -0
  73. data/spec/rails/rails-4.2.9/config/initializers/session_store.rb +3 -0
  74. data/spec/rails/rails-4.2.9/config/initializers/to_time_preserves_timezone.rb +10 -0
  75. data/spec/rails/rails-4.2.9/config/initializers/wrap_parameters.rb +14 -0
  76. data/spec/rails/rails-4.2.9/config/locales/en.yml +23 -0
  77. data/spec/rails/rails-4.2.9/config/routes.rb +56 -0
  78. data/spec/rails/rails-4.2.9/config/secrets.yml +22 -0
  79. data/spec/rails/rails-4.2.9/config.ru +4 -0
  80. data/spec/rails/rails-4.2.9/db/migrate/20170731151146_create_approval_requests.rb +19 -0
  81. data/spec/rails/rails-4.2.9/db/migrate/20170731151147_create_approval_comments.rb +14 -0
  82. data/spec/rails/rails-4.2.9/db/migrate/20170731151148_create_approval_items.rb +17 -0
  83. data/spec/rails/rails-4.2.9/db/migrate/20170731151149_create_users.rb +9 -0
  84. data/spec/rails/rails-4.2.9/db/migrate/20170731151150_create_books.rb +9 -0
  85. data/spec/rails/rails-4.2.9/db/schema.rb +68 -0
  86. data/spec/rails/rails-4.2.9/db/seeds.rb +7 -0
  87. data/spec/rails/rails-4.2.9/db/test.sqlite3 +0 -0
  88. data/spec/rails/rails-4.2.9/log/test.log +133 -0
  89. data/spec/rails/rails-4.2.9/public/404.html +67 -0
  90. data/spec/rails/rails-4.2.9/public/422.html +67 -0
  91. data/spec/rails/rails-4.2.9/public/500.html +66 -0
  92. data/spec/rails/rails-4.2.9/public/favicon.ico +0 -0
  93. data/spec/rails/rails-4.2.9/public/robots.txt +5 -0
  94. data/spec/rails/rails-5.1.2/README.md +24 -0
  95. data/spec/rails/rails-5.1.2/Rakefile +6 -0
  96. data/spec/rails/rails-5.1.2/app/assets/config/manifest.js +3 -0
  97. data/spec/rails/rails-5.1.2/app/assets/javascripts/application.js +15 -0
  98. data/spec/rails/rails-5.1.2/app/assets/javascripts/cable.js +13 -0
  99. data/spec/rails/rails-5.1.2/app/assets/stylesheets/application.css +15 -0
  100. data/spec/rails/rails-5.1.2/app/channels/application_cable/channel.rb +4 -0
  101. data/spec/rails/rails-5.1.2/app/channels/application_cable/connection.rb +4 -0
  102. data/spec/rails/rails-5.1.2/app/controllers/application_controller.rb +3 -0
  103. data/spec/rails/rails-5.1.2/app/helpers/application_helper.rb +2 -0
  104. data/spec/rails/rails-5.1.2/app/jobs/application_job.rb +2 -0
  105. data/spec/rails/rails-5.1.2/app/mailers/application_mailer.rb +4 -0
  106. data/spec/rails/rails-5.1.2/app/models/application_record.rb +3 -0
  107. data/spec/rails/rails-5.1.2/app/models/book.rb +3 -0
  108. data/spec/rails/rails-5.1.2/app/models/user.rb +3 -0
  109. data/spec/rails/rails-5.1.2/app/views/layouts/application.html.erb +14 -0
  110. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.html.erb +13 -0
  111. data/spec/rails/rails-5.1.2/app/views/layouts/mailer.text.erb +1 -0
  112. data/spec/rails/rails-5.1.2/bin/bundle +3 -0
  113. data/spec/rails/rails-5.1.2/bin/rails +4 -0
  114. data/spec/rails/rails-5.1.2/bin/rake +4 -0
  115. data/spec/rails/rails-5.1.2/bin/setup +38 -0
  116. data/spec/rails/rails-5.1.2/bin/update +29 -0
  117. data/spec/rails/rails-5.1.2/bin/yarn +11 -0
  118. data/spec/rails/rails-5.1.2/config/application.rb +31 -0
  119. data/spec/rails/rails-5.1.2/config/boot.rb +3 -0
  120. data/spec/rails/rails-5.1.2/config/cable.yml +10 -0
  121. data/spec/rails/rails-5.1.2/config/database.yml +25 -0
  122. data/spec/rails/rails-5.1.2/config/environment.rb +8 -0
  123. data/spec/rails/rails-5.1.2/config/environments/development.rb +47 -0
  124. data/spec/rails/rails-5.1.2/config/environments/production.rb +83 -0
  125. data/spec/rails/rails-5.1.2/config/environments/test.rb +42 -0
  126. data/spec/rails/rails-5.1.2/config/initializers/application_controller_renderer.rb +6 -0
  127. data/spec/rails/rails-5.1.2/config/initializers/approval.rb +4 -0
  128. data/spec/rails/rails-5.1.2/config/initializers/backtrace_silencers.rb +7 -0
  129. data/spec/rails/rails-5.1.2/config/initializers/cookies_serializer.rb +5 -0
  130. data/spec/rails/rails-5.1.2/config/initializers/filter_parameter_logging.rb +4 -0
  131. data/spec/rails/rails-5.1.2/config/initializers/inflections.rb +16 -0
  132. data/spec/rails/rails-5.1.2/config/initializers/mime_types.rb +4 -0
  133. data/spec/rails/rails-5.1.2/config/initializers/wrap_parameters.rb +14 -0
  134. data/spec/rails/rails-5.1.2/config/locales/en.yml +33 -0
  135. data/spec/rails/rails-5.1.2/config/puma.rb +56 -0
  136. data/spec/rails/rails-5.1.2/config/routes.rb +3 -0
  137. data/spec/rails/rails-5.1.2/config/secrets.yml +32 -0
  138. data/spec/rails/rails-5.1.2/config.ru +5 -0
  139. data/spec/rails/rails-5.1.2/db/migrate/20170731101409_create_approval_requests.rb +19 -0
  140. data/spec/rails/rails-5.1.2/db/migrate/20170731101410_create_approval_comments.rb +14 -0
  141. data/spec/rails/rails-5.1.2/db/migrate/20170731101411_create_approval_items.rb +17 -0
  142. data/spec/rails/rails-5.1.2/db/migrate/20170731101412_create_users.rb +9 -0
  143. data/spec/rails/rails-5.1.2/db/migrate/20170731101413_create_books.rb +9 -0
  144. data/spec/rails/rails-5.1.2/db/schema.rb +64 -0
  145. data/spec/rails/rails-5.1.2/db/seeds.rb +7 -0
  146. data/spec/rails/rails-5.1.2/db/test.sqlite3 +0 -0
  147. data/spec/rails/rails-5.1.2/log/test.log +3485 -0
  148. data/spec/rails/rails-5.1.2/package.json +5 -0
  149. data/spec/rails/rails-5.1.2/public/404.html +67 -0
  150. data/spec/rails/rails-5.1.2/public/422.html +67 -0
  151. data/spec/rails/rails-5.1.2/public/500.html +66 -0
  152. data/spec/rails/rails-5.1.2/public/apple-touch-icon-precomposed.png +0 -0
  153. data/spec/rails/rails-5.1.2/public/apple-touch-icon.png +0 -0
  154. data/spec/rails/rails-5.1.2/public/favicon.ico +0 -0
  155. data/spec/rails/rails-5.1.2/public/robots.txt +1 -0
  156. data/spec/spec_helper.rb +117 -0
  157. data/spec/support/rails_template.rb +24 -0
  158. metadata +287 -43
  159. data/.gitignore +0 -12
  160. data/.rspec +0 -2
  161. data/.travis.yml +0 -5
  162. data/Gemfile +0 -4
  163. data/LICENSE.txt +0 -21
  164. data/approval.gemspec +0 -26
  165. data/bin/console +0 -14
  166. data/bin/setup +0 -8
@@ -0,0 +1,3485 @@
1
+  (0.1ms) SELECT sqlite_version(*)
2
+  (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (0.7ms) 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.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
+ Migrating to CreateApprovalRequests (20170731101409)
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.0ms)  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.1ms)  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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170731101409"]]
36
+  (0.5ms) commit transaction
37
+ Migrating to CreateApprovalComments (20170731101410)
38
+  (0.0ms) begin transaction
39
+  (0.3ms) 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.0ms)  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.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170731101410"]]
51
+  (0.5ms) commit transaction
52
+ Migrating to CreateApprovalItems (20170731101411)
53
+  (0.0ms) begin transaction
54
+  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170731101411"]]
66
+  (0.6ms) commit transaction
67
+ Migrating to CreateUsers (20170731101412)
68
+  (0.0ms) begin transaction
69
+  (0.3ms) 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.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170731101412"]]
71
+  (0.5ms) commit transaction
72
+ Migrating to CreateBooks (20170731101413)
73
+  (0.0ms) begin transaction
74
+  (0.2ms) 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", "20170731101413"]]
76
+  (0.5ms) commit transaction
77
+ ActiveRecord::InternalMetadata Load (0.1ms) 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-07-31 10:14:13.910262"], ["updated_at", "2017-07-31 10:14:13.910262"]]
80
+  (0.6ms) 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.2ms)  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.0ms) begin transaction
141
+  (0.1ms) rollback transaction
142
+  (0.0ms) begin transaction
143
+  (0.0ms) rollback transaction
144
+  (0.0ms) begin transaction
145
+  (0.0ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+  (0.0ms) rollback transaction
148
+  (0.0ms) begin transaction
149
+  (0.0ms) rollback transaction
150
+  (0.0ms) begin transaction
151
+  (0.0ms) rollback transaction
152
+  (0.1ms) begin transaction
153
+  (0.0ms) rollback transaction
154
+  (0.1ms) begin transaction
155
+  (0.0ms) rollback transaction
156
+  (0.0ms) begin transaction
157
+  (0.0ms) SAVEPOINT active_record_1
158
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:14:15.216891"], ["updated_at", "2017-07-31 10:14:15.216891"]]
159
+  (0.1ms) RELEASE SAVEPOINT active_record_1
160
+  (1.9ms) rollback transaction
161
+  (0.0ms) begin transaction
162
+  (0.1ms) SAVEPOINT active_record_1
163
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:14:15.224925"], ["updated_at", "2017-07-31 10:14:15.224925"]]
164
+  (0.0ms) RELEASE SAVEPOINT active_record_1
165
+  (0.1ms) SAVEPOINT active_record_1
166
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:14:15.256716"], ["created_at", "2017-07-31 10:14:15.256604"], ["updated_at", "2017-07-31 10:14:15.256604"]]
167
+ SQL (0.1ms) 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-07-31 10:14:15.258110"], ["updated_at", "2017-07-31 10:14:15.258110"]]
168
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 10:14:15.259271"], ["updated_at", "2017-07-31 10:14:15.259271"]]
169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
170
+  (0.4ms) rollback transaction
171
+  (0.0ms) begin transaction
172
+  (0.0ms) rollback transaction
173
+  (0.1ms) begin transaction
174
+  (0.0ms) rollback transaction
175
+  (0.0ms) begin transaction
176
+  (0.0ms) rollback transaction
177
+  (0.1ms) begin transaction
178
+  (0.1ms) SAVEPOINT active_record_1
179
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:14:15.283875"], ["updated_at", "2017-07-31 10:14:15.283875"]]
180
+  (0.1ms) RELEASE SAVEPOINT active_record_1
181
+ Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
182
+  (0.3ms) rollback transaction
183
+  (0.0ms) begin transaction
184
+  (0.0ms) rollback transaction
185
+  (0.0ms) begin transaction
186
+  (0.0ms) SAVEPOINT active_record_1
187
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:14:15.297169"], ["updated_at", "2017-07-31 10:14:15.297169"]]
188
+  (0.0ms) RELEASE SAVEPOINT active_record_1
189
+  (0.2ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+  (0.2ms) SAVEPOINT active_record_1
192
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:14:15.302875"], ["updated_at", "2017-07-31 10:14:15.302875"]]
193
+  (0.0ms) RELEASE SAVEPOINT active_record_1
194
+  (0.3ms) rollback transaction
195
+  (0.0ms) begin transaction
196
+  (0.0ms) SAVEPOINT active_record_1
197
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:14:15.306348"], ["updated_at", "2017-07-31 10:14:15.306348"]]
198
+  (0.0ms) RELEASE SAVEPOINT active_record_1
199
+  (0.3ms) rollback transaction
200
+  (0.0ms) begin transaction
201
+  (0.1ms) rollback transaction
202
+  (0.0ms) begin transaction
203
+  (0.1ms) SAVEPOINT active_record_1
204
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:14:15.311099"], ["updated_at", "2017-07-31 10:14:15.311099"]]
205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
206
+  (0.2ms) rollback transaction
207
+  (0.0ms) begin transaction
208
+  (0.0ms) rollback transaction
209
+  (0.0ms) begin transaction
210
+  (0.1ms) SAVEPOINT active_record_1
211
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 10:14:15.315515"], ["updated_at", "2017-07-31 10:14:15.315515"]]
212
+  (0.1ms) RELEASE SAVEPOINT active_record_1
213
+  (0.3ms) rollback transaction
214
+  (0.0ms) begin transaction
215
+  (0.0ms) SAVEPOINT active_record_1
216
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 10:14:15.318639"], ["updated_at", "2017-07-31 10:14:15.318639"]]
217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
218
+  (0.3ms) rollback transaction
219
+  (0.0ms) begin transaction
220
+  (0.1ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+  (0.0ms) rollback transaction
223
+  (0.0ms) begin transaction
224
+  (0.0ms) SAVEPOINT active_record_1
225
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:14:15.324387"], ["updated_at", "2017-07-31 10:14:15.324387"]]
226
+  (0.1ms) RELEASE SAVEPOINT active_record_1
227
+  (0.0ms) SAVEPOINT active_record_1
228
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:14:15.328622"], ["created_at", "2017-07-31 10:14:15.328574"], ["updated_at", "2017-07-31 10:14:15.328574"]]
229
+ SQL (0.2ms) 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-07-31 10:14:15.329792"], ["updated_at", "2017-07-31 10:14:15.329792"]]
230
+ 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-07-31 10:14:15.331458"], ["updated_at", "2017-07-31 10:14:15.331458"]]
231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
232
+  (0.2ms) SELECT COUNT(*) FROM "books"
233
+  (0.1ms) SAVEPOINT active_record_1
234
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 10:14:15.336941"], ["updated_at", "2017-07-31 10:14:15.336941"]]
235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
236
+  (0.0ms) SAVEPOINT active_record_1
237
+ SQL (0.1ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 10:14:15.338419"], ["id", 1]]
238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
239
+  (0.1ms) SELECT COUNT(*) FROM "books"
240
+  (0.5ms) rollback transaction
241
+  (0.0ms) begin transaction
242
+  (0.1ms) SAVEPOINT active_record_1
243
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:14:15.343342"], ["updated_at", "2017-07-31 10:14:15.343342"]]
244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
245
+  (0.1ms) SAVEPOINT active_record_1
246
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 10:14:15.348565"], ["updated_at", "2017-07-31 10:14:15.348565"]]
247
+  (0.0ms) RELEASE SAVEPOINT active_record_1
248
+  (0.0ms) SAVEPOINT active_record_1
249
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:14:15.351378"], ["created_at", "2017-07-31 10:14:15.351322"], ["updated_at", "2017-07-31 10:14:15.351322"]]
250
+ SQL (0.2ms) 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-07-31 10:14:15.353068"], ["updated_at", "2017-07-31 10:14:15.353068"]]
251
+ 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", "---\n:name: updated_name\n"], ["created_at", "2017-07-31 10:14:15.354502"], ["updated_at", "2017-07-31 10:14:15.354502"]]
252
+  (0.0ms) RELEASE SAVEPOINT active_record_1
253
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
254
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
255
+  (0.0ms) SAVEPOINT active_record_1
256
+ SQL (0.1ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 10:14:15.360318"], ["id", 1]]
257
+  (0.0ms) RELEASE SAVEPOINT active_record_1
258
+ Book Load (0.0ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
259
+  (0.5ms) rollback transaction
260
+  (0.0ms) begin transaction
261
+  (0.0ms) SAVEPOINT active_record_1
262
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:14:15.364239"], ["updated_at", "2017-07-31 10:14:15.364239"]]
263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
264
+  (0.0ms) SAVEPOINT active_record_1
265
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 10:14:15.367107"], ["updated_at", "2017-07-31 10:14:15.367107"]]
266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
267
+  (0.0ms) SAVEPOINT active_record_1
268
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:14:15.369662"], ["created_at", "2017-07-31 10:14:15.369589"], ["updated_at", "2017-07-31 10:14:15.369589"]]
269
+ SQL (0.1ms) 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-07-31 10:14:15.371116"], ["updated_at", "2017-07-31 10:14:15.371116"]]
270
+ 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-07-31 10:14:15.372249"], ["updated_at", "2017-07-31 10:14:15.372249"]]
271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
272
+  (0.1ms) SELECT COUNT(*) FROM "books"
273
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
274
+  (0.1ms) SAVEPOINT active_record_1
275
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
276
+  (0.0ms) RELEASE SAVEPOINT active_record_1
277
+  (0.0ms) SELECT COUNT(*) FROM "books"
278
+  (2.1ms) rollback transaction
279
+  (0.0ms) begin transaction
280
+  (0.1ms) rollback transaction
281
+  (0.0ms) begin transaction
282
+  (0.1ms) SAVEPOINT active_record_1
283
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:14:57.002412"], ["updated_at", "2017-07-31 10:14:57.002412"]]
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.0ms) SAVEPOINT active_record_1
286
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:14:57.055897"], ["updated_at", "2017-07-31 10:14:57.055897"]]
287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
288
+  (0.0ms) SAVEPOINT active_record_1
289
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:14:57.058778"], ["created_at", "2017-07-31 10:14:57.058678"], ["updated_at", "2017-07-31 10:14:57.058678"]]
290
+ SQL (0.1ms) 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-07-31 10:14:57.059738"], ["updated_at", "2017-07-31 10:14:57.059738"]]
291
+ 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-07-31 10:14:57.060631"], ["updated_at", "2017-07-31 10:14:57.060631"]]
292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
293
+  (0.1ms) SELECT COUNT(*) FROM "books"
294
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
295
+  (0.0ms) SAVEPOINT active_record_1
296
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
298
+  (0.1ms) SELECT COUNT(*) FROM "books"
299
+  (2.3ms) rollback transaction
300
+  (0.0ms) begin transaction
301
+  (0.0ms) SAVEPOINT active_record_1
302
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:15:06.675053"], ["updated_at", "2017-07-31 10:15:06.675053"]]
303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
304
+  (0.1ms) SAVEPOINT active_record_1
305
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:15:06.724785"], ["updated_at", "2017-07-31 10:15:06.724785"]]
306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
307
+  (0.0ms) SAVEPOINT active_record_1
308
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:15:06.727843"], ["created_at", "2017-07-31 10:15:06.727768"], ["updated_at", "2017-07-31 10:15:06.727768"]]
309
+ SQL (0.1ms) 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-07-31 10:15:06.728755"], ["updated_at", "2017-07-31 10:15:06.728755"]]
310
+ 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-07-31 10:15:06.729664"], ["updated_at", "2017-07-31 10:15:06.729664"]]
311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
312
+  (0.1ms) SELECT COUNT(*) FROM "books"
313
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
314
+  (0.0ms) SAVEPOINT active_record_1
315
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
317
+  (0.1ms) SELECT COUNT(*) FROM "books"
318
+  (2.1ms) rollback transaction
319
+  (0.0ms) begin transaction
320
+  (0.0ms) rollback transaction
321
+  (0.0ms) begin transaction
322
+  (0.1ms) SAVEPOINT active_record_1
323
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:15:15.514258"], ["updated_at", "2017-07-31 10:15:15.514258"]]
324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
325
+  (2.0ms) rollback transaction
326
+  (0.1ms) begin transaction
327
+  (0.1ms) SAVEPOINT active_record_1
328
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:15:15.527137"], ["updated_at", "2017-07-31 10:15:15.527137"]]
329
+  (0.0ms) RELEASE SAVEPOINT active_record_1
330
+  (0.4ms) rollback transaction
331
+  (0.0ms) begin transaction
332
+  (0.0ms) rollback transaction
333
+  (0.0ms) begin transaction
334
+  (0.0ms) SAVEPOINT active_record_1
335
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:15:15.532564"], ["updated_at", "2017-07-31 10:15:15.532564"]]
336
+  (0.0ms) RELEASE SAVEPOINT active_record_1
337
+  (0.3ms) rollback transaction
338
+  (0.0ms) begin transaction
339
+  (0.0ms) SAVEPOINT active_record_1
340
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:15:15.535662"], ["updated_at", "2017-07-31 10:15:15.535662"]]
341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
342
+  (0.3ms) rollback transaction
343
+  (0.0ms) begin transaction
344
+  (0.0ms) rollback transaction
345
+  (0.0ms) begin transaction
346
+  (0.0ms) SAVEPOINT active_record_1
347
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:15:15.539394"], ["updated_at", "2017-07-31 10:15:15.539394"]]
348
+  (0.0ms) RELEASE SAVEPOINT active_record_1
349
+  (0.4ms) rollback transaction
350
+  (0.0ms) begin transaction
351
+  (0.1ms) rollback transaction
352
+  (0.1ms) begin transaction
353
+  (0.1ms) SAVEPOINT active_record_1
354
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 10:15:15.544754"], ["updated_at", "2017-07-31 10:15:15.544754"]]
355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
356
+  (0.3ms) rollback transaction
357
+  (0.0ms) begin transaction
358
+  (0.0ms) rollback transaction
359
+  (0.0ms) begin transaction
360
+  (0.0ms) rollback transaction
361
+  (0.1ms) begin transaction
362
+  (0.0ms) SAVEPOINT active_record_1
363
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:15:15.565933"], ["updated_at", "2017-07-31 10:15:15.565933"]]
364
+  (0.1ms) RELEASE SAVEPOINT active_record_1
365
+  (0.1ms) SAVEPOINT active_record_1
366
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 10:15:15.585751"], ["updated_at", "2017-07-31 10:15:15.585751"]]
367
+  (0.0ms) RELEASE SAVEPOINT active_record_1
368
+  (0.0ms) SAVEPOINT active_record_1
369
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:15:15.589051"], ["created_at", "2017-07-31 10:15:15.588907"], ["updated_at", "2017-07-31 10:15:15.588907"]]
370
+ SQL (0.1ms) 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-07-31 10:15:15.590196"], ["updated_at", "2017-07-31 10:15:15.590196"]]
371
+ 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", "---\n:name: updated_name\n"], ["created_at", "2017-07-31 10:15:15.591228"], ["updated_at", "2017-07-31 10:15:15.591228"]]
372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
373
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
374
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
375
+  (0.0ms) SAVEPOINT active_record_1
376
+ SQL (0.1ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 10:15:15.599556"], ["id", 1]]
377
+  (7.2ms) RELEASE SAVEPOINT active_record_1
378
+ Book Load (0.0ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
379
+  (2.4ms) rollback transaction
380
+  (0.1ms) begin transaction
381
+  (0.1ms) SAVEPOINT active_record_1
382
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:15:15.614381"], ["updated_at", "2017-07-31 10:15:15.614381"]]
383
+  (0.1ms) RELEASE SAVEPOINT active_record_1
384
+  (0.1ms) SAVEPOINT active_record_1
385
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 10:15:15.618514"], ["updated_at", "2017-07-31 10:15:15.618514"]]
386
+  (0.0ms) RELEASE SAVEPOINT active_record_1
387
+  (0.0ms) SAVEPOINT active_record_1
388
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:15:15.621088"], ["created_at", "2017-07-31 10:15:15.621021"], ["updated_at", "2017-07-31 10:15:15.621021"]]
389
+ 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-07-31 10:15:15.622360"], ["updated_at", "2017-07-31 10:15:15.622360"]]
390
+ 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-07-31 10:15:15.623437"], ["updated_at", "2017-07-31 10:15:15.623437"]]
391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
392
+  (0.1ms) SELECT COUNT(*) FROM "books"
393
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
394
+  (0.0ms) SAVEPOINT active_record_1
395
+ SQL (0.2ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
396
+  (0.1ms) RELEASE SAVEPOINT active_record_1
397
+  (0.1ms) SELECT COUNT(*) FROM "books"
398
+  (0.4ms) rollback transaction
399
+  (0.0ms) begin transaction
400
+  (0.1ms) SAVEPOINT active_record_1
401
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:15:15.630317"], ["updated_at", "2017-07-31 10:15:15.630317"]]
402
+  (0.0ms) RELEASE SAVEPOINT active_record_1
403
+  (0.1ms) SAVEPOINT active_record_1
404
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:15:15.635247"], ["created_at", "2017-07-31 10:15:15.635143"], ["updated_at", "2017-07-31 10:15:15.635143"]]
405
+ SQL (0.2ms) 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-07-31 10:15:15.636303"], ["updated_at", "2017-07-31 10:15:15.636303"]]
406
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 10:15:15.637295"], ["updated_at", "2017-07-31 10:15:15.637295"]]
407
+  (0.0ms) RELEASE SAVEPOINT active_record_1
408
+  (0.1ms) SELECT COUNT(*) FROM "books"
409
+  (0.0ms) SAVEPOINT active_record_1
410
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 10:15:15.639430"], ["updated_at", "2017-07-31 10:15:15.639430"]]
411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
412
+  (0.0ms) SAVEPOINT active_record_1
413
+ SQL (0.1ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 10:15:15.640758"], ["id", 1]]
414
+  (0.1ms) RELEASE SAVEPOINT active_record_1
415
+  (0.1ms) SELECT COUNT(*) FROM "books"
416
+  (0.5ms) rollback transaction
417
+  (0.1ms) begin transaction
418
+  (0.1ms) rollback transaction
419
+  (0.1ms) begin transaction
420
+  (0.0ms) rollback transaction
421
+  (0.0ms) begin transaction
422
+  (0.0ms) rollback transaction
423
+  (0.0ms) begin transaction
424
+  (0.1ms) SAVEPOINT active_record_1
425
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 10:15:15.662281"], ["updated_at", "2017-07-31 10:15:15.662281"]]
426
+  (0.0ms) RELEASE SAVEPOINT active_record_1
427
+ Approval::Request Load (0.1ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
428
+  (0.4ms) rollback transaction
429
+  (0.0ms) begin transaction
430
+  (0.0ms) rollback transaction
431
+  (0.0ms) begin transaction
432
+  (0.1ms) SAVEPOINT active_record_1
433
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:15:15.671829"], ["updated_at", "2017-07-31 10:15:15.671829"]]
434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
435
+  (0.0ms) SAVEPOINT active_record_1
436
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:15:15.676923"], ["created_at", "2017-07-31 10:15:15.676854"], ["updated_at", "2017-07-31 10:15:15.676854"]]
437
+ SQL (0.1ms) 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-07-31 10:15:15.678311"], ["updated_at", "2017-07-31 10:15:15.678311"]]
438
+ 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-07-31 10:15:15.679539"], ["updated_at", "2017-07-31 10:15:15.679539"]]
439
+  (0.0ms) RELEASE SAVEPOINT active_record_1
440
+  (0.5ms) rollback transaction
441
+  (0.0ms) begin transaction
442
+  (0.0ms) rollback transaction
443
+  (0.0ms) begin transaction
444
+  (0.0ms) rollback transaction
445
+  (0.0ms) begin transaction
446
+  (0.0ms) rollback transaction
447
+  (0.0ms) begin transaction
448
+  (0.0ms) rollback transaction
449
+  (0.0ms) begin transaction
450
+  (0.0ms) SAVEPOINT active_record_1
451
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:15:15.698562"], ["updated_at", "2017-07-31 10:15:15.698562"]]
452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
453
+  (0.3ms) rollback transaction
454
+  (0.0ms) begin transaction
455
+  (0.0ms) rollback transaction
456
+  (0.0ms) begin transaction
457
+  (0.0ms) rollback transaction
458
+  (0.0ms) begin transaction
459
+  (0.0ms) rollback transaction
460
+  (0.1ms) begin transaction
461
+  (0.0ms) rollback transaction
462
+  (0.0ms) begin transaction
463
+  (0.1ms) rollback transaction
464
+  (0.1ms) begin transaction
465
+  (0.1ms) rollback transaction
466
+  (0.0ms) begin transaction
467
+  (0.1ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+  (0.0ms) rollback transaction
470
+  (0.0ms) begin transaction
471
+  (0.1ms) rollback transaction
472
+  (0.0ms) begin transaction
473
+  (0.0ms) rollback transaction
474
+  (0.1ms) begin transaction
475
+  (0.1ms) SAVEPOINT active_record_1
476
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:25:27.213859"], ["updated_at", "2017-07-31 10:25:27.213859"]]
477
+  (0.1ms) RELEASE SAVEPOINT active_record_1
478
+  (0.4ms) rollback transaction
479
+  (0.0ms) begin transaction
480
+  (0.0ms) SAVEPOINT active_record_1
481
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:25:27.234116"], ["updated_at", "2017-07-31 10:25:27.234116"]]
482
+  (0.1ms) RELEASE SAVEPOINT active_record_1
483
+  (0.3ms) rollback transaction
484
+  (0.0ms) begin transaction
485
+  (0.0ms) SAVEPOINT active_record_1
486
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:25:27.237114"], ["updated_at", "2017-07-31 10:25:27.237114"]]
487
+  (0.0ms) RELEASE SAVEPOINT active_record_1
488
+  (0.3ms) rollback transaction
489
+  (0.0ms) begin transaction
490
+  (0.1ms) SAVEPOINT active_record_1
491
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:25:27.239788"], ["updated_at", "2017-07-31 10:25:27.239788"]]
492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
493
+  (0.3ms) rollback transaction
494
+  (0.1ms) begin transaction
495
+  (0.1ms) rollback transaction
496
+  (0.0ms) begin transaction
497
+  (0.0ms) rollback transaction
498
+  (0.0ms) begin transaction
499
+  (0.1ms) rollback transaction
500
+  (0.0ms) begin transaction
501
+  (0.0ms) rollback transaction
502
+  (0.0ms) begin transaction
503
+  (0.1ms) rollback transaction
504
+  (0.0ms) begin transaction
505
+  (0.0ms) rollback transaction
506
+  (0.0ms) begin transaction
507
+  (0.0ms) SAVEPOINT active_record_1
508
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:25:44.856369"], ["updated_at", "2017-07-31 10:25:44.856369"]]
509
+  (0.0ms) RELEASE SAVEPOINT active_record_1
510
+  (2.0ms) rollback transaction
511
+  (0.0ms) begin transaction
512
+  (0.1ms) SAVEPOINT active_record_1
513
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:25:44.874669"], ["updated_at", "2017-07-31 10:25:44.874669"]]
514
+  (0.1ms) RELEASE SAVEPOINT active_record_1
515
+  (0.4ms) rollback transaction
516
+  (0.1ms) begin transaction
517
+  (0.1ms) SAVEPOINT active_record_1
518
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:25:44.880908"], ["updated_at", "2017-07-31 10:25:44.880908"]]
519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
520
+  (0.4ms) rollback transaction
521
+  (0.1ms) begin transaction
522
+  (0.1ms) SAVEPOINT active_record_1
523
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:25:44.885321"], ["updated_at", "2017-07-31 10:25:44.885321"]]
524
+  (0.1ms) RELEASE SAVEPOINT active_record_1
525
+  (0.5ms) rollback transaction
526
+  (0.1ms) begin transaction
527
+  (0.1ms) rollback transaction
528
+  (0.0ms) begin transaction
529
+  (0.0ms) rollback transaction
530
+  (0.0ms) begin transaction
531
+  (0.1ms) rollback transaction
532
+  (0.0ms) begin transaction
533
+  (0.0ms) rollback transaction
534
+  (0.0ms) begin transaction
535
+  (0.1ms) SAVEPOINT active_record_1
536
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:28:04.182532"], ["updated_at", "2017-07-31 10:28:04.182532"]]
537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
538
+  (1.9ms) rollback transaction
539
+  (0.0ms) begin transaction
540
+  (0.0ms) SAVEPOINT active_record_1
541
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:28:04.204792"], ["updated_at", "2017-07-31 10:28:04.204792"]]
542
+  (0.0ms) RELEASE SAVEPOINT active_record_1
543
+  (0.3ms) rollback transaction
544
+  (0.0ms) begin transaction
545
+  (0.0ms) SAVEPOINT active_record_1
546
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:28:04.211379"], ["updated_at", "2017-07-31 10:28:04.211379"]]
547
+  (0.1ms) RELEASE SAVEPOINT active_record_1
548
+  (0.3ms) rollback transaction
549
+  (0.0ms) begin transaction
550
+  (0.0ms) SAVEPOINT active_record_1
551
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:28:04.214650"], ["updated_at", "2017-07-31 10:28:04.214650"]]
552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
553
+  (0.2ms) rollback transaction
554
+  (0.0ms) begin transaction
555
+  (0.0ms) rollback transaction
556
+  (0.0ms) begin transaction
557
+  (0.0ms) SAVEPOINT active_record_1
558
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:28:45.613949"], ["updated_at", "2017-07-31 10:28:45.613949"]]
559
+  (0.0ms) RELEASE SAVEPOINT active_record_1
560
+  (2.2ms) rollback transaction
561
+  (0.1ms) begin transaction
562
+  (0.1ms) SAVEPOINT active_record_1
563
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:28:45.631832"], ["updated_at", "2017-07-31 10:28:45.631832"]]
564
+  (0.1ms) RELEASE SAVEPOINT active_record_1
565
+  (0.3ms) rollback transaction
566
+  (0.0ms) begin transaction
567
+  (0.0ms) SAVEPOINT active_record_1
568
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:28:45.636581"], ["updated_at", "2017-07-31 10:28:45.636581"]]
569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
570
+  (0.3ms) rollback transaction
571
+  (0.0ms) begin transaction
572
+  (0.0ms) SAVEPOINT active_record_1
573
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:28:45.640404"], ["updated_at", "2017-07-31 10:28:45.640404"]]
574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
575
+  (0.3ms) rollback transaction
576
+  (0.0ms) begin transaction
577
+  (0.1ms) SAVEPOINT active_record_1
578
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:28:45.644113"], ["updated_at", "2017-07-31 10:28:45.644113"]]
579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
580
+  (0.2ms) rollback transaction
581
+  (0.0ms) begin transaction
582
+  (0.1ms) rollback transaction
583
+  (0.1ms) begin transaction
584
+  (0.1ms) SAVEPOINT active_record_1
585
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 10:28:45.652654"], ["updated_at", "2017-07-31 10:28:45.652654"]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+  (0.3ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+  (0.0ms) SAVEPOINT active_record_1
590
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:32:11.694794"], ["updated_at", "2017-07-31 10:32:11.694794"]]
591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
592
+  (0.1ms) SAVEPOINT active_record_1
593
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
594
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:32:11.772032"], ["created_at", "2017-07-31 10:32:11.771944"], ["updated_at", "2017-07-31 10:32:11.771944"]]
595
+ SQL (0.8ms) 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-07-31 10:32:11.774066"], ["updated_at", "2017-07-31 10:32:11.774066"]]
596
+ SQL (0.7ms) 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: name1\n"], ["created_at", "2017-07-31 10:32:11.776031"], ["updated_at", "2017-07-31 10:32:11.776031"]]
597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
598
+  (0.4ms) rollback transaction
599
+  (0.0ms) begin transaction
600
+  (0.0ms) SAVEPOINT active_record_1
601
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:32:11.780641"], ["updated_at", "2017-07-31 10:32:11.780641"]]
602
+  (0.0ms) RELEASE SAVEPOINT active_record_1
603
+  (0.0ms) SAVEPOINT active_record_1
604
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
605
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:32:11.788189"], ["created_at", "2017-07-31 10:32:11.788138"], ["updated_at", "2017-07-31 10:32:11.788138"]]
606
+ 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-07-31 10:32:11.789164"], ["updated_at", "2017-07-31 10:32:11.789164"]]
607
+ 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: name2\n"], ["created_at", "2017-07-31 10:32:11.790207"], ["updated_at", "2017-07-31 10:32:11.790207"]]
608
+ 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: name3\n"], ["created_at", "2017-07-31 10:32:11.791285"], ["updated_at", "2017-07-31 10:32:11.791285"]]
609
+ 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: name4\n"], ["created_at", "2017-07-31 10:32:11.792635"], ["updated_at", "2017-07-31 10:32:11.792635"]]
610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
611
+  (0.5ms) rollback transaction
612
+  (0.0ms) begin transaction
613
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
614
+  (0.1ms) SAVEPOINT active_record_1
615
+ SQL (1.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:33:00.563177"], ["updated_at", "2017-07-31 10:33:00.563177"]]
616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
617
+  (0.1ms) SAVEPOINT active_record_1
618
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
619
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:33:00.623437"], ["created_at", "2017-07-31 10:33:00.623328"], ["updated_at", "2017-07-31 10:33:00.623328"]]
620
+ 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-07-31 10:33:00.624719"], ["updated_at", "2017-07-31 10:33:00.624719"]]
621
+ 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: name1\n"], ["created_at", "2017-07-31 10:33:00.625831"], ["updated_at", "2017-07-31 10:33:00.625831"]]
622
+  (0.0ms) RELEASE SAVEPOINT active_record_1
623
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
624
+  (0.5ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+  (0.0ms) SAVEPOINT active_record_1
627
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:33:00.650016"], ["updated_at", "2017-07-31 10:33:00.650016"]]
628
+  (0.0ms) RELEASE SAVEPOINT active_record_1
629
+  (0.0ms) SAVEPOINT active_record_1
630
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
631
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:33:00.655858"], ["created_at", "2017-07-31 10:33:00.655810"], ["updated_at", "2017-07-31 10:33:00.655810"]]
632
+ 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-07-31 10:33:00.656745"], ["updated_at", "2017-07-31 10:33:00.656745"]]
633
+ 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: name2\n"], ["created_at", "2017-07-31 10:33:00.657777"], ["updated_at", "2017-07-31 10:33:00.657777"]]
634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
635
+  (0.4ms) rollback transaction
636
+  (0.0ms) begin transaction
637
+  (0.1ms) SAVEPOINT active_record_1
638
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:33:00.660698"], ["updated_at", "2017-07-31 10:33:00.660698"]]
639
+  (0.0ms) RELEASE SAVEPOINT active_record_1
640
+  (0.0ms) SAVEPOINT active_record_1
641
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
642
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:33:00.670644"], ["created_at", "2017-07-31 10:33:00.670563"], ["updated_at", "2017-07-31 10:33:00.670563"]]
643
+ 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-07-31 10:33:00.671813"], ["updated_at", "2017-07-31 10:33:00.671813"]]
644
+ 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: name3\n"], ["created_at", "2017-07-31 10:33:00.672865"], ["updated_at", "2017-07-31 10:33:00.672865"]]
645
+ 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: name4\n"], ["created_at", "2017-07-31 10:33:00.674493"], ["updated_at", "2017-07-31 10:33:00.674493"]]
646
+ 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: name5\n"], ["created_at", "2017-07-31 10:33:00.675537"], ["updated_at", "2017-07-31 10:33:00.675537"]]
647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
648
+  (0.5ms) rollback transaction
649
+  (0.0ms) begin transaction
650
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
651
+  (0.0ms) SAVEPOINT active_record_1
652
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:33:00.678971"], ["updated_at", "2017-07-31 10:33:00.678971"]]
653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
654
+  (0.1ms) SAVEPOINT active_record_1
655
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
656
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:33:00.687717"], ["created_at", "2017-07-31 10:33:00.687670"], ["updated_at", "2017-07-31 10:33:00.687670"]]
657
+ 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-07-31 10:33:00.688730"], ["updated_at", "2017-07-31 10:33:00.688730"]]
658
+ 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: name6\n"], ["created_at", "2017-07-31 10:33:00.689701"], ["updated_at", "2017-07-31 10:33:00.689701"]]
659
+ 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: name7\n"], ["created_at", "2017-07-31 10:33:00.697734"], ["updated_at", "2017-07-31 10:33:00.697734"]]
660
+ 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: name8\n"], ["created_at", "2017-07-31 10:33:00.698796"], ["updated_at", "2017-07-31 10:33:00.698796"]]
661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
662
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
663
+  (0.5ms) rollback transaction
664
+  (0.0ms) begin transaction
665
+  (0.0ms) SAVEPOINT active_record_1
666
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 10:34:17.151426"], ["updated_at", "2017-07-31 10:34:17.151426"]]
667
+  (0.1ms) RELEASE SAVEPOINT active_record_1
668
+  (0.1ms) SAVEPOINT active_record_1
669
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
670
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.220141"], ["created_at", "2017-07-31 10:34:17.220065"], ["updated_at", "2017-07-31 10:34:17.220065"]]
671
+ 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-07-31 10:34:17.221935"], ["updated_at", "2017-07-31 10:34:17.221935"]]
672
+ 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: name1\n"], ["created_at", "2017-07-31 10:34:17.223686"], ["updated_at", "2017-07-31 10:34:17.223686"]]
673
+ 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: name2\n"], ["created_at", "2017-07-31 10:34:17.225505"], ["updated_at", "2017-07-31 10:34:17.225505"]]
674
+ 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: name3\n"], ["created_at", "2017-07-31 10:34:17.226986"], ["updated_at", "2017-07-31 10:34:17.226986"]]
675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
676
+  (2.2ms) rollback transaction
677
+  (0.1ms) begin transaction
678
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
679
+  (0.0ms) SAVEPOINT active_record_1
680
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 10:34:17.235564"], ["updated_at", "2017-07-31 10:34:17.235564"]]
681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
682
+  (0.0ms) SAVEPOINT active_record_1
683
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
684
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.243696"], ["created_at", "2017-07-31 10:34:17.243625"], ["updated_at", "2017-07-31 10:34:17.243625"]]
685
+ 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-07-31 10:34:17.244668"], ["updated_at", "2017-07-31 10:34:17.244668"]]
686
+ 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: name4\n"], ["created_at", "2017-07-31 10:34:17.245534"], ["updated_at", "2017-07-31 10:34:17.245534"]]
687
+ 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: name5\n"], ["created_at", "2017-07-31 10:34:17.246606"], ["updated_at", "2017-07-31 10:34:17.246606"]]
688
+ 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: name6\n"], ["created_at", "2017-07-31 10:34:17.247592"], ["updated_at", "2017-07-31 10:34:17.247592"]]
689
+  (0.0ms) RELEASE SAVEPOINT active_record_1
690
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
691
+  (0.7ms) rollback transaction
692
+  (0.1ms) begin transaction
693
+  (0.1ms) SAVEPOINT active_record_1
694
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 10:34:17.268105"], ["updated_at", "2017-07-31 10:34:17.268105"]]
695
+  (0.0ms) RELEASE SAVEPOINT active_record_1
696
+  (0.0ms) SAVEPOINT active_record_1
697
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
698
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.281160"], ["created_at", "2017-07-31 10:34:17.281115"], ["updated_at", "2017-07-31 10:34:17.281115"]]
699
+ 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-07-31 10:34:17.282127"], ["updated_at", "2017-07-31 10:34:17.282127"]]
700
+ 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: name7\n"], ["created_at", "2017-07-31 10:34:17.283029"], ["updated_at", "2017-07-31 10:34:17.283029"]]
701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
702
+  (0.5ms) rollback transaction
703
+  (0.1ms) begin transaction
704
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
705
+  (0.1ms) SAVEPOINT active_record_1
706
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 10:34:17.286781"], ["updated_at", "2017-07-31 10:34:17.286781"]]
707
+  (0.1ms) RELEASE SAVEPOINT active_record_1
708
+  (0.1ms) SAVEPOINT active_record_1
709
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
710
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.293551"], ["created_at", "2017-07-31 10:34:17.293496"], ["updated_at", "2017-07-31 10:34:17.293496"]]
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-07-31 10:34:17.294652"], ["updated_at", "2017-07-31 10:34:17.294652"]]
712
+ 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: name8\n"], ["created_at", "2017-07-31 10:34:17.295610"], ["updated_at", "2017-07-31 10:34:17.295610"]]
713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
714
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
715
+  (0.4ms) rollback transaction
716
+  (0.0ms) begin transaction
717
+  (0.0ms) SAVEPOINT active_record_1
718
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 10:34:17.299412"], ["updated_at", "2017-07-31 10:34:17.299412"]]
719
+  (0.0ms) RELEASE SAVEPOINT active_record_1
720
+  (0.4ms) rollback transaction
721
+  (0.1ms) begin transaction
722
+  (0.1ms) SAVEPOINT active_record_1
723
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 10:34:17.306569"], ["updated_at", "2017-07-31 10:34:17.306569"]]
724
+  (0.1ms) RELEASE SAVEPOINT active_record_1
725
+  (0.3ms) rollback transaction
726
+  (0.1ms) begin transaction
727
+  (0.1ms) SAVEPOINT active_record_1
728
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 10:34:17.311332"], ["updated_at", "2017-07-31 10:34:17.311332"]]
729
+  (0.1ms) RELEASE SAVEPOINT active_record_1
730
+  (0.4ms) rollback transaction
731
+  (0.1ms) begin transaction
732
+  (0.1ms) SAVEPOINT active_record_1
733
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 10:34:17.317220"], ["updated_at", "2017-07-31 10:34:17.317220"]]
734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
735
+  (0.3ms) rollback transaction
736
+  (0.0ms) begin transaction
737
+  (0.0ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+  (0.0ms) SAVEPOINT active_record_1
740
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 10:34:17.322976"], ["updated_at", "2017-07-31 10:34:17.322976"]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+  (0.3ms) rollback transaction
743
+  (0.0ms) begin transaction
744
+  (0.0ms) SAVEPOINT active_record_1
745
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 10:34:17.325603"], ["updated_at", "2017-07-31 10:34:17.325603"]]
746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
747
+  (0.2ms) rollback transaction
748
+  (0.0ms) begin transaction
749
+  (0.0ms) rollback transaction
750
+  (0.1ms) begin transaction
751
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
752
+  (0.0ms) SAVEPOINT active_record_1
753
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 10:34:17.331112"], ["updated_at", "2017-07-31 10:34:17.331112"]]
754
+  (0.1ms) RELEASE SAVEPOINT active_record_1
755
+  (0.0ms) SAVEPOINT active_record_1
756
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 10:34:17.332384"], ["updated_at", "2017-07-31 10:34:17.332384"]]
757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
758
+  (0.0ms) SAVEPOINT active_record_1
759
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 10:34:17.333667"], ["updated_at", "2017-07-31 10:34:17.333667"]]
760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
761
+  (0.0ms) SAVEPOINT active_record_1
762
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 10:34:17.334558"], ["updated_at", "2017-07-31 10:34:17.334558"]]
763
+  (0.1ms) RELEASE SAVEPOINT active_record_1
764
+  (0.0ms) SAVEPOINT active_record_1
765
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
766
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.340760"], ["created_at", "2017-07-31 10:34:17.340710"], ["updated_at", "2017-07-31 10:34:17.340710"]]
767
+ 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-07-31 10:34:17.341645"], ["updated_at", "2017-07-31 10:34:17.341645"]]
768
+ 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-07-31 10:34:17.342444"], ["updated_at", "2017-07-31 10:34:17.342444"]]
769
+ 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-07-31 10:34:17.343645"], ["updated_at", "2017-07-31 10:34:17.343645"]]
770
+ 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-07-31 10:34:17.345017"], ["updated_at", "2017-07-31 10:34:17.345017"]]
771
+  (0.1ms) RELEASE SAVEPOINT active_record_1
772
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
773
+  (0.5ms) rollback transaction
774
+  (0.0ms) begin transaction
775
+  (0.1ms) SAVEPOINT active_record_1
776
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 10:34:17.353981"], ["updated_at", "2017-07-31 10:34:17.353981"]]
777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
778
+  (0.0ms) SAVEPOINT active_record_1
779
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 10:34:17.355765"], ["updated_at", "2017-07-31 10:34:17.355765"]]
780
+  (0.0ms) RELEASE SAVEPOINT active_record_1
781
+  (0.1ms) SAVEPOINT active_record_1
782
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 10:34:17.357064"], ["updated_at", "2017-07-31 10:34:17.357064"]]
783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
784
+  (0.0ms) SAVEPOINT active_record_1
785
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 10:34:17.358099"], ["updated_at", "2017-07-31 10:34:17.358099"]]
786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
787
+  (0.0ms) SAVEPOINT active_record_1
788
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
789
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.364746"], ["created_at", "2017-07-31 10:34:17.364679"], ["updated_at", "2017-07-31 10:34:17.364679"]]
790
+ 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-07-31 10:34:17.365901"], ["updated_at", "2017-07-31 10:34:17.365901"]]
791
+ 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-07-31 10:34:17.366943"], ["updated_at", "2017-07-31 10:34:17.366943"]]
792
+ 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-07-31 10:34:17.367910"], ["updated_at", "2017-07-31 10:34:17.367910"]]
793
+ 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-07-31 10:34:17.368793"], ["updated_at", "2017-07-31 10:34:17.368793"]]
794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
795
+  (0.4ms) rollback transaction
796
+  (0.0ms) begin transaction
797
+  (0.1ms) SAVEPOINT active_record_1
798
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 10:34:17.371756"], ["updated_at", "2017-07-31 10:34:17.371756"]]
799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
800
+  (0.0ms) SAVEPOINT active_record_1
801
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 10:34:17.373261"], ["updated_at", "2017-07-31 10:34:17.373261"]]
802
+  (0.0ms) RELEASE SAVEPOINT active_record_1
803
+  (0.0ms) SAVEPOINT active_record_1
804
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
805
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.380104"], ["created_at", "2017-07-31 10:34:17.380056"], ["updated_at", "2017-07-31 10:34:17.380056"]]
806
+ 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-07-31 10:34:17.381239"], ["updated_at", "2017-07-31 10:34:17.381239"]]
807
+ 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-07-31 10:34:17.382117"], ["updated_at", "2017-07-31 10:34:17.382117"]]
808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
809
+  (0.7ms) rollback transaction
810
+  (0.1ms) begin transaction
811
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
812
+  (0.1ms) SAVEPOINT active_record_1
813
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 10:34:17.386917"], ["updated_at", "2017-07-31 10:34:17.386917"]]
814
+  (0.1ms) RELEASE SAVEPOINT active_record_1
815
+  (0.1ms) SAVEPOINT active_record_1
816
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 10:34:17.389686"], ["updated_at", "2017-07-31 10:34:17.389686"]]
817
+  (0.0ms) RELEASE SAVEPOINT active_record_1
818
+  (0.0ms) SAVEPOINT active_record_1
819
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
820
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.396033"], ["created_at", "2017-07-31 10:34:17.395963"], ["updated_at", "2017-07-31 10:34:17.395963"]]
821
+ 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-07-31 10:34:17.397387"], ["updated_at", "2017-07-31 10:34:17.397387"]]
822
+ 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-07-31 10:34:17.398398"], ["updated_at", "2017-07-31 10:34:17.398398"]]
823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
824
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
825
+  (0.5ms) rollback transaction
826
+  (0.1ms) begin transaction
827
+  (0.0ms) SAVEPOINT active_record_1
828
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 10:34:17.402811"], ["updated_at", "2017-07-31 10:34:17.402811"]]
829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
830
+  (0.0ms) SAVEPOINT active_record_1
831
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 10:34:17.404169"], ["updated_at", "2017-07-31 10:34:17.404169"]]
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+  (0.0ms) SAVEPOINT active_record_1
834
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 10:34:17.405178"], ["updated_at", "2017-07-31 10:34:17.405178"]]
835
+  (0.0ms) RELEASE SAVEPOINT active_record_1
836
+  (0.0ms) SAVEPOINT active_record_1
837
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 10:34:17.406148"], ["updated_at", "2017-07-31 10:34:17.406148"]]
838
+  (0.0ms) RELEASE SAVEPOINT active_record_1
839
+  (0.0ms) SAVEPOINT active_record_1
840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
841
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.413522"], ["created_at", "2017-07-31 10:34:17.413469"], ["updated_at", "2017-07-31 10:34:17.413469"]]
842
+ 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-07-31 10:34:17.414590"], ["updated_at", "2017-07-31 10:34:17.414590"]]
843
+ 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: name23\n"], ["created_at", "2017-07-31 10:34:17.415720"], ["updated_at", "2017-07-31 10:34:17.415720"]]
844
+ 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: name24\n"], ["created_at", "2017-07-31 10:34:17.417078"], ["updated_at", "2017-07-31 10:34:17.417078"]]
845
+ 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: name25\n"], ["created_at", "2017-07-31 10:34:17.418399"], ["updated_at", "2017-07-31 10:34:17.418399"]]
846
+  (0.0ms) RELEASE SAVEPOINT active_record_1
847
+  (0.4ms) rollback transaction
848
+  (0.0ms) begin transaction
849
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
850
+  (0.1ms) SAVEPOINT active_record_1
851
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 10:34:17.422000"], ["updated_at", "2017-07-31 10:34:17.422000"]]
852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
853
+  (0.1ms) SAVEPOINT active_record_1
854
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 10:34:17.423600"], ["updated_at", "2017-07-31 10:34:17.423600"]]
855
+  (0.1ms) RELEASE SAVEPOINT active_record_1
856
+  (0.0ms) SAVEPOINT active_record_1
857
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 10:34:17.424857"], ["updated_at", "2017-07-31 10:34:17.424857"]]
858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
859
+  (0.0ms) SAVEPOINT active_record_1
860
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 10:34:17.425909"], ["updated_at", "2017-07-31 10:34:17.425909"]]
861
+  (0.0ms) RELEASE SAVEPOINT active_record_1
862
+  (0.0ms) SAVEPOINT active_record_1
863
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
864
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.437149"], ["created_at", "2017-07-31 10:34:17.437048"], ["updated_at", "2017-07-31 10:34:17.437048"]]
865
+ 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-07-31 10:34:17.439395"], ["updated_at", "2017-07-31 10:34:17.439395"]]
866
+ 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", "---\nname: name26\n"], ["created_at", "2017-07-31 10:34:17.441455"], ["updated_at", "2017-07-31 10:34:17.441455"]]
867
+ 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: name27\n"], ["created_at", "2017-07-31 10:34:17.443807"], ["updated_at", "2017-07-31 10:34:17.443807"]]
868
+ 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: name28\n"], ["created_at", "2017-07-31 10:34:17.445310"], ["updated_at", "2017-07-31 10:34:17.445310"]]
869
+  (0.1ms) RELEASE SAVEPOINT active_record_1
870
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
871
+  (0.6ms) rollback transaction
872
+  (0.0ms) begin transaction
873
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
874
+  (0.0ms) SAVEPOINT active_record_1
875
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 10:34:17.453908"], ["updated_at", "2017-07-31 10:34:17.453908"]]
876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
877
+  (0.0ms) SAVEPOINT active_record_1
878
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 10:34:17.455277"], ["updated_at", "2017-07-31 10:34:17.455277"]]
879
+  (0.0ms) RELEASE SAVEPOINT active_record_1
880
+  (0.0ms) SAVEPOINT active_record_1
881
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
882
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.460154"], ["created_at", "2017-07-31 10:34:17.460101"], ["updated_at", "2017-07-31 10:34:17.460101"]]
883
+ 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-07-31 10:34:17.461154"], ["updated_at", "2017-07-31 10:34:17.461154"]]
884
+ 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: name29\n"], ["created_at", "2017-07-31 10:34:17.462257"], ["updated_at", "2017-07-31 10:34:17.462257"]]
885
+  (0.1ms) RELEASE SAVEPOINT active_record_1
886
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
887
+  (0.5ms) rollback transaction
888
+  (0.0ms) begin transaction
889
+  (0.1ms) SAVEPOINT active_record_1
890
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 10:34:17.466933"], ["updated_at", "2017-07-31 10:34:17.466933"]]
891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
892
+  (0.0ms) SAVEPOINT active_record_1
893
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 10:34:17.468455"], ["updated_at", "2017-07-31 10:34:17.468455"]]
894
+  (0.0ms) RELEASE SAVEPOINT active_record_1
895
+  (0.0ms) SAVEPOINT active_record_1
896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
897
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 10:34:17.474023"], ["created_at", "2017-07-31 10:34:17.473969"], ["updated_at", "2017-07-31 10:34:17.473969"]]
898
+ 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-07-31 10:34:17.475074"], ["updated_at", "2017-07-31 10:34:17.475074"]]
899
+ 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: name30\n"], ["created_at", "2017-07-31 10:34:17.476035"], ["updated_at", "2017-07-31 10:34:17.476035"]]
900
+  (0.1ms) RELEASE SAVEPOINT active_record_1
901
+  (0.3ms) rollback transaction
902
+  (0.0ms) begin transaction
903
+  (0.0ms) SAVEPOINT active_record_1
904
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 14:05:53.189742"], ["updated_at", "2017-07-31 14:05:53.189742"]]
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", "name2"], ["created_at", "2017-07-31 14:05:53.215537"], ["updated_at", "2017-07-31 14:05:53.215537"]]
908
+  (0.0ms) RELEASE SAVEPOINT active_record_1
909
+  (0.1ms) SAVEPOINT active_record_1
910
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:05:53.264090"], ["created_at", "2017-07-31 14:05:53.263976"], ["updated_at", "2017-07-31 14:05:53.263976"]]
911
+ SQL (0.7ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content1"], ["created_at", "2017-07-31 14:05:53.266064"], ["updated_at", "2017-07-31 14:05:53.266064"]]
912
+ SQL (0.7ms) 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-07-31 14:05:53.267566"], ["updated_at", "2017-07-31 14:05:53.267566"]]
913
+  (0.0ms) RELEASE SAVEPOINT active_record_1
914
+  (0.4ms) 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", "name3"], ["created_at", "2017-07-31 14:05:53.276961"], ["updated_at", "2017-07-31 14:05:53.276961"]]
918
+  (0.1ms) RELEASE SAVEPOINT active_record_1
919
+  (0.1ms) SAVEPOINT active_record_1
920
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 14:05:53.279642"], ["updated_at", "2017-07-31 14:05:53.279642"]]
921
+  (0.1ms) RELEASE SAVEPOINT active_record_1
922
+  (0.1ms) SAVEPOINT active_record_1
923
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:05:53.284984"], ["created_at", "2017-07-31 14:05:53.284908"], ["updated_at", "2017-07-31 14:05:53.284908"]]
924
+ SQL (0.1ms) 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-07-31 14:05:53.285999"], ["updated_at", "2017-07-31 14:05:53.285999"]]
925
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:05:53.286999"], ["updated_at", "2017-07-31 14:05:53.286999"]]
926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
927
+  (0.5ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+  (0.0ms) rollback transaction
930
+  (0.0ms) begin transaction
931
+  (0.0ms) rollback transaction
932
+  (0.0ms) begin transaction
933
+  (0.0ms) rollback transaction
934
+  (0.0ms) begin transaction
935
+  (0.0ms) rollback transaction
936
+  (0.0ms) begin transaction
937
+  (0.1ms) SAVEPOINT active_record_1
938
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 14:05:53.307212"], ["updated_at", "2017-07-31 14:05:53.307212"]]
939
+  (0.0ms) RELEASE SAVEPOINT active_record_1
940
+  (0.0ms) SAVEPOINT active_record_1
941
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 14:05:53.309500"], ["updated_at", "2017-07-31 14:05:53.309500"]]
942
+  (0.0ms) RELEASE SAVEPOINT active_record_1
943
+  (0.0ms) SAVEPOINT active_record_1
944
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:05:53.313021"], ["created_at", "2017-07-31 14:05:53.312974"], ["updated_at", "2017-07-31 14:05:53.312974"]]
945
+ SQL (0.1ms) 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-07-31 14:05:53.313895"], ["updated_at", "2017-07-31 14:05:53.313895"]]
946
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:05:53.314742"], ["updated_at", "2017-07-31 14:05:53.314742"]]
947
+  (0.0ms) RELEASE SAVEPOINT active_record_1
948
+  (0.5ms) rollback transaction
949
+  (0.0ms) begin transaction
950
+  (0.0ms) SAVEPOINT active_record_1
951
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:05:53.319306"], ["updated_at", "2017-07-31 14:05:53.319306"]]
952
+  (0.0ms) RELEASE SAVEPOINT active_record_1
953
+  (0.1ms) SAVEPOINT active_record_1
954
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 14:05:53.321144"], ["updated_at", "2017-07-31 14:05:53.321144"]]
955
+  (0.1ms) RELEASE SAVEPOINT active_record_1
956
+  (0.1ms) SAVEPOINT active_record_1
957
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:05:53.325920"], ["created_at", "2017-07-31 14:05:53.325845"], ["updated_at", "2017-07-31 14:05:53.325845"]]
958
+ SQL (0.1ms) 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-07-31 14:05:53.327103"], ["updated_at", "2017-07-31 14:05:53.327103"]]
959
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:05:53.328216"], ["updated_at", "2017-07-31 14:05:53.328216"]]
960
+  (0.0ms) RELEASE SAVEPOINT active_record_1
961
+  (0.4ms) rollback transaction
962
+  (0.0ms) begin transaction
963
+  (0.0ms) SAVEPOINT active_record_1
964
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 14:06:18.272206"], ["updated_at", "2017-07-31 14:06:18.272206"]]
965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
966
+  (0.1ms) SAVEPOINT active_record_1
967
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 14:06:18.294069"], ["updated_at", "2017-07-31 14:06:18.294069"]]
968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
969
+  (0.1ms) SAVEPOINT active_record_1
970
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.340644"], ["created_at", "2017-07-31 14:06:18.340500"], ["updated_at", "2017-07-31 14:06:18.340500"]]
971
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content1"], ["created_at", "2017-07-31 14:06:18.342009"], ["updated_at", "2017-07-31 14:06:18.342009"]]
972
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.343134"], ["updated_at", "2017-07-31 14:06:18.343134"]]
973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
974
+  (2.2ms) rollback transaction
975
+  (0.1ms) begin transaction
976
+  (0.1ms) SAVEPOINT active_record_1
977
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 14:06:18.349437"], ["updated_at", "2017-07-31 14:06:18.349437"]]
978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
979
+  (0.0ms) SAVEPOINT active_record_1
980
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 14:06:18.351085"], ["updated_at", "2017-07-31 14:06:18.351085"]]
981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
982
+  (0.0ms) SAVEPOINT active_record_1
983
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.354761"], ["created_at", "2017-07-31 14:06:18.354717"], ["updated_at", "2017-07-31 14:06:18.354717"]]
984
+ SQL (0.1ms) 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-07-31 14:06:18.355753"], ["updated_at", "2017-07-31 14:06:18.355753"]]
985
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.356692"], ["updated_at", "2017-07-31 14:06:18.356692"]]
986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
987
+  (0.4ms) rollback transaction
988
+  (0.0ms) begin transaction
989
+  (0.0ms) SAVEPOINT active_record_1
990
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 14:06:18.363275"], ["updated_at", "2017-07-31 14:06:18.363275"]]
991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
992
+  (0.0ms) SAVEPOINT active_record_1
993
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 14:06:18.364815"], ["updated_at", "2017-07-31 14:06:18.364815"]]
994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
995
+  (0.0ms) SAVEPOINT active_record_1
996
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.368495"], ["created_at", "2017-07-31 14:06:18.368445"], ["updated_at", "2017-07-31 14:06:18.368445"]]
997
+ SQL (0.1ms) 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-07-31 14:06:18.369459"], ["updated_at", "2017-07-31 14:06:18.369459"]]
998
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.370409"], ["updated_at", "2017-07-31 14:06:18.370409"]]
999
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1000
+  (0.4ms) rollback transaction
1001
+  (0.0ms) begin transaction
1002
+  (0.0ms) SAVEPOINT active_record_1
1003
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:06:18.373284"], ["updated_at", "2017-07-31 14:06:18.373284"]]
1004
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1005
+  (0.0ms) SAVEPOINT active_record_1
1006
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 14:06:18.374948"], ["updated_at", "2017-07-31 14:06:18.374948"]]
1007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1008
+  (0.0ms) SAVEPOINT active_record_1
1009
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.378403"], ["created_at", "2017-07-31 14:06:18.378357"], ["updated_at", "2017-07-31 14:06:18.378357"]]
1010
+ SQL (0.1ms) 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-07-31 14:06:18.379263"], ["updated_at", "2017-07-31 14:06:18.379263"]]
1011
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.380118"], ["updated_at", "2017-07-31 14:06:18.380118"]]
1012
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1013
+  (0.4ms) rollback transaction
1014
+  (0.0ms) begin transaction
1015
+  (0.0ms) SAVEPOINT active_record_1
1016
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 14:06:18.382737"], ["updated_at", "2017-07-31 14:06:18.382737"]]
1017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1018
+  (0.0ms) SAVEPOINT active_record_1
1019
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 14:06:18.384331"], ["updated_at", "2017-07-31 14:06:18.384331"]]
1020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1021
+  (0.0ms) SAVEPOINT active_record_1
1022
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.387714"], ["created_at", "2017-07-31 14:06:18.387661"], ["updated_at", "2017-07-31 14:06:18.387661"]]
1023
+ 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-07-31 14:06:18.388559"], ["updated_at", "2017-07-31 14:06:18.388559"]]
1024
+ 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-07-31 14:06:18.389736"], ["updated_at", "2017-07-31 14:06:18.389736"]]
1025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1026
+  (0.4ms) rollback transaction
1027
+  (0.0ms) begin transaction
1028
+  (0.1ms) SAVEPOINT active_record_1
1029
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 14:06:18.393129"], ["updated_at", "2017-07-31 14:06:18.393129"]]
1030
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1031
+  (0.0ms) SAVEPOINT active_record_1
1032
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 14:06:18.395089"], ["updated_at", "2017-07-31 14:06:18.395089"]]
1033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1034
+  (0.1ms) SAVEPOINT active_record_1
1035
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.399168"], ["created_at", "2017-07-31 14:06:18.399112"], ["updated_at", "2017-07-31 14:06:18.399112"]]
1036
+ SQL (0.1ms) 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-07-31 14:06:18.400239"], ["updated_at", "2017-07-31 14:06:18.400239"]]
1037
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.401267"], ["updated_at", "2017-07-31 14:06:18.401267"]]
1038
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1039
+  (0.3ms) rollback transaction
1040
+  (0.0ms) begin transaction
1041
+  (0.1ms) SAVEPOINT active_record_1
1042
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 14:06:18.404278"], ["updated_at", "2017-07-31 14:06:18.404278"]]
1043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1044
+  (0.0ms) SAVEPOINT active_record_1
1045
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 14:06:18.406055"], ["updated_at", "2017-07-31 14:06:18.406055"]]
1046
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1047
+  (0.0ms) SAVEPOINT active_record_1
1048
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.411523"], ["created_at", "2017-07-31 14:06:18.411476"], ["updated_at", "2017-07-31 14:06:18.411476"]]
1049
+ SQL (0.1ms) 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-07-31 14:06:18.412413"], ["updated_at", "2017-07-31 14:06:18.412413"]]
1050
+ 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-07-31 14:06:18.413236"], ["updated_at", "2017-07-31 14:06:18.413236"]]
1051
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1052
+  (0.5ms) rollback transaction
1053
+  (0.0ms) begin transaction
1054
+  (0.0ms) SAVEPOINT active_record_1
1055
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 14:06:18.417399"], ["updated_at", "2017-07-31 14:06:18.417399"]]
1056
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1057
+  (0.0ms) SAVEPOINT active_record_1
1058
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 14:06:18.419882"], ["updated_at", "2017-07-31 14:06:18.419882"]]
1059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1060
+  (0.1ms) SAVEPOINT active_record_1
1061
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:18.424795"], ["created_at", "2017-07-31 14:06:18.424718"], ["updated_at", "2017-07-31 14:06:18.424718"]]
1062
+ SQL (0.1ms) 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-07-31 14:06:18.426093"], ["updated_at", "2017-07-31 14:06:18.426093"]]
1063
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:18.427470"], ["updated_at", "2017-07-31 14:06:18.427470"]]
1064
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1065
+  (0.5ms) rollback transaction
1066
+  (0.0ms) begin transaction
1067
+  (0.1ms) SAVEPOINT active_record_1
1068
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 14:06:51.906471"], ["updated_at", "2017-07-31 14:06:51.906471"]]
1069
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1070
+  (0.1ms) SAVEPOINT active_record_1
1071
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 14:06:51.931188"], ["updated_at", "2017-07-31 14:06:51.931188"]]
1072
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1073
+  (0.2ms) SAVEPOINT active_record_1
1074
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:51.983045"], ["created_at", "2017-07-31 14:06:51.982865"], ["updated_at", "2017-07-31 14:06:51.982865"]]
1075
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content1"], ["created_at", "2017-07-31 14:06:51.985154"], ["updated_at", "2017-07-31 14:06:51.985154"]]
1076
+ 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-07-31 14:06:51.986718"], ["updated_at", "2017-07-31 14:06:51.986718"]]
1077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1078
+  (2.3ms) rollback transaction
1079
+  (0.1ms) begin transaction
1080
+  (0.0ms) SAVEPOINT active_record_1
1081
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 14:06:51.998398"], ["updated_at", "2017-07-31 14:06:51.998398"]]
1082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1083
+  (0.1ms) SAVEPOINT active_record_1
1084
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 14:06:52.000678"], ["updated_at", "2017-07-31 14:06:52.000678"]]
1085
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1086
+  (0.1ms) SAVEPOINT active_record_1
1087
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.006784"], ["created_at", "2017-07-31 14:06:52.006705"], ["updated_at", "2017-07-31 14:06:52.006705"]]
1088
+ SQL (0.2ms) 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-07-31 14:06:52.008527"], ["updated_at", "2017-07-31 14:06:52.008527"]]
1089
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.010410"], ["updated_at", "2017-07-31 14:06:52.010410"]]
1090
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1091
+  (0.4ms) rollback transaction
1092
+  (0.0ms) begin transaction
1093
+  (0.0ms) SAVEPOINT active_record_1
1094
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 14:06:52.014273"], ["updated_at", "2017-07-31 14:06:52.014273"]]
1095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1096
+  (0.0ms) SAVEPOINT active_record_1
1097
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 14:06:52.015778"], ["updated_at", "2017-07-31 14:06:52.015778"]]
1098
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1099
+  (0.0ms) SAVEPOINT active_record_1
1100
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.019123"], ["created_at", "2017-07-31 14:06:52.019079"], ["updated_at", "2017-07-31 14:06:52.019079"]]
1101
+ SQL (0.1ms) 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-07-31 14:06:52.020104"], ["updated_at", "2017-07-31 14:06:52.020104"]]
1102
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.021034"], ["updated_at", "2017-07-31 14:06:52.021034"]]
1103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1104
+  (0.4ms) rollback transaction
1105
+  (0.1ms) begin transaction
1106
+  (0.1ms) SAVEPOINT active_record_1
1107
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:06:52.024717"], ["updated_at", "2017-07-31 14:06:52.024717"]]
1108
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1109
+  (0.0ms) SAVEPOINT active_record_1
1110
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 14:06:52.026811"], ["updated_at", "2017-07-31 14:06:52.026811"]]
1111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1112
+  (0.1ms) SAVEPOINT active_record_1
1113
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.030969"], ["created_at", "2017-07-31 14:06:52.030901"], ["updated_at", "2017-07-31 14:06:52.030901"]]
1114
+ SQL (0.1ms) 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-07-31 14:06:52.031979"], ["updated_at", "2017-07-31 14:06:52.031979"]]
1115
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.032902"], ["updated_at", "2017-07-31 14:06:52.032902"]]
1116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1117
+  (0.4ms) rollback transaction
1118
+  (0.0ms) begin transaction
1119
+  (0.1ms) SAVEPOINT active_record_1
1120
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 14:06:52.038820"], ["updated_at", "2017-07-31 14:06:52.038820"]]
1121
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1122
+  (0.0ms) SAVEPOINT active_record_1
1123
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 14:06:52.040874"], ["updated_at", "2017-07-31 14:06:52.040874"]]
1124
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1125
+  (0.1ms) SAVEPOINT active_record_1
1126
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.045056"], ["created_at", "2017-07-31 14:06:52.044997"], ["updated_at", "2017-07-31 14:06:52.044997"]]
1127
+ SQL (0.1ms) 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-07-31 14:06:52.046097"], ["updated_at", "2017-07-31 14:06:52.046097"]]
1128
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.047246"], ["updated_at", "2017-07-31 14:06:52.047246"]]
1129
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1130
+  (0.4ms) rollback transaction
1131
+  (0.0ms) begin transaction
1132
+  (0.0ms) SAVEPOINT active_record_1
1133
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 14:06:52.050863"], ["updated_at", "2017-07-31 14:06:52.050863"]]
1134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1135
+  (0.0ms) SAVEPOINT active_record_1
1136
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 14:06:52.052551"], ["updated_at", "2017-07-31 14:06:52.052551"]]
1137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1138
+  (0.0ms) SAVEPOINT active_record_1
1139
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.058181"], ["created_at", "2017-07-31 14:06:52.058054"], ["updated_at", "2017-07-31 14:06:52.058054"]]
1140
+ SQL (0.1ms) 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-07-31 14:06:52.059300"], ["updated_at", "2017-07-31 14:06:52.059300"]]
1141
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.060433"], ["updated_at", "2017-07-31 14:06:52.060433"]]
1142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1143
+  (0.8ms) rollback transaction
1144
+  (0.1ms) begin transaction
1145
+  (0.1ms) SAVEPOINT active_record_1
1146
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 14:06:52.082728"], ["updated_at", "2017-07-31 14:06:52.082728"]]
1147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1148
+  (0.1ms) SAVEPOINT active_record_1
1149
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 14:06:52.086336"], ["updated_at", "2017-07-31 14:06:52.086336"]]
1150
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1151
+  (0.1ms) SAVEPOINT active_record_1
1152
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.094744"], ["created_at", "2017-07-31 14:06:52.094648"], ["updated_at", "2017-07-31 14:06:52.094648"]]
1153
+ SQL (0.3ms) 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-07-31 14:06:52.096437"], ["updated_at", "2017-07-31 14:06:52.096437"]]
1154
+ 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-07-31 14:06:52.098611"], ["updated_at", "2017-07-31 14:06:52.098611"]]
1155
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1156
+  (0.7ms) rollback transaction
1157
+  (0.1ms) begin transaction
1158
+  (0.1ms) SAVEPOINT active_record_1
1159
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 14:06:52.106634"], ["updated_at", "2017-07-31 14:06:52.106634"]]
1160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1161
+  (0.0ms) SAVEPOINT active_record_1
1162
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 14:06:52.109009"], ["updated_at", "2017-07-31 14:06:52.109009"]]
1163
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1164
+  (0.1ms) SAVEPOINT active_record_1
1165
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:06:52.114174"], ["created_at", "2017-07-31 14:06:52.114118"], ["updated_at", "2017-07-31 14:06:52.114118"]]
1166
+ SQL (0.1ms) 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-07-31 14:06:52.115346"], ["updated_at", "2017-07-31 14:06:52.115346"]]
1167
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:06:52.116324"], ["updated_at", "2017-07-31 14:06:52.116324"]]
1168
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1169
+  (0.3ms) rollback transaction
1170
+  (0.0ms) begin transaction
1171
+  (0.1ms) SAVEPOINT active_record_1
1172
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 14:07:21.836159"], ["updated_at", "2017-07-31 14:07:21.836159"]]
1173
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1174
+  (0.1ms) SAVEPOINT active_record_1
1175
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 14:07:21.862602"], ["updated_at", "2017-07-31 14:07:21.862602"]]
1176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1177
+  (0.1ms) SAVEPOINT active_record_1
1178
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.906511"], ["created_at", "2017-07-31 14:07:21.906411"], ["updated_at", "2017-07-31 14:07:21.906411"]]
1179
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content1"], ["created_at", "2017-07-31 14:07:21.907649"], ["updated_at", "2017-07-31 14:07:21.907649"]]
1180
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:07:21.908551"], ["updated_at", "2017-07-31 14:07:21.908551"]]
1181
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1182
+  (2.0ms) rollback transaction
1183
+  (0.0ms) begin transaction
1184
+  (0.1ms) SAVEPOINT active_record_1
1185
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 14:07:21.917550"], ["updated_at", "2017-07-31 14:07:21.917550"]]
1186
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1187
+  (0.0ms) SAVEPOINT active_record_1
1188
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 14:07:21.919699"], ["updated_at", "2017-07-31 14:07:21.919699"]]
1189
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.924169"], ["created_at", "2017-07-31 14:07:21.924120"], ["updated_at", "2017-07-31 14:07:21.924120"]]
1192
+ SQL (0.1ms) 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-07-31 14:07:21.925120"], ["updated_at", "2017-07-31 14:07:21.925120"]]
1193
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:07:21.926081"], ["updated_at", "2017-07-31 14:07:21.926081"]]
1194
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1195
+  (0.4ms) rollback transaction
1196
+  (0.0ms) begin transaction
1197
+  (0.0ms) SAVEPOINT active_record_1
1198
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 14:07:21.929547"], ["updated_at", "2017-07-31 14:07:21.929547"]]
1199
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1200
+  (0.0ms) SAVEPOINT active_record_1
1201
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 14:07:21.931165"], ["updated_at", "2017-07-31 14:07:21.931165"]]
1202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1203
+  (0.0ms) SAVEPOINT active_record_1
1204
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.934671"], ["created_at", "2017-07-31 14:07:21.934610"], ["updated_at", "2017-07-31 14:07:21.934610"]]
1205
+ SQL (0.1ms) 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-07-31 14:07:21.935646"], ["updated_at", "2017-07-31 14:07:21.935646"]]
1206
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:07:21.936543"], ["updated_at", "2017-07-31 14:07:21.936543"]]
1207
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1208
+  (0.5ms) rollback transaction
1209
+  (0.1ms) begin transaction
1210
+  (0.1ms) SAVEPOINT active_record_1
1211
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:07:21.941758"], ["updated_at", "2017-07-31 14:07:21.941758"]]
1212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1213
+  (0.1ms) SAVEPOINT active_record_1
1214
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 14:07:21.943834"], ["updated_at", "2017-07-31 14:07:21.943834"]]
1215
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1216
+  (0.2ms) SAVEPOINT active_record_1
1217
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.949302"], ["created_at", "2017-07-31 14:07:21.949238"], ["updated_at", "2017-07-31 14:07:21.949238"]]
1218
+ SQL (0.1ms) 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-07-31 14:07:21.950818"], ["updated_at", "2017-07-31 14:07:21.950818"]]
1219
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:07:21.952034"], ["updated_at", "2017-07-31 14:07:21.952034"]]
1220
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1221
+  (0.3ms) rollback transaction
1222
+  (0.0ms) begin transaction
1223
+  (0.1ms) SAVEPOINT active_record_1
1224
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 14:07:21.957016"], ["updated_at", "2017-07-31 14:07:21.957016"]]
1225
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1226
+  (0.0ms) SAVEPOINT active_record_1
1227
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 14:07:21.960700"], ["updated_at", "2017-07-31 14:07:21.960700"]]
1228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1229
+  (0.0ms) SAVEPOINT active_record_1
1230
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.964633"], ["created_at", "2017-07-31 14:07:21.964543"], ["updated_at", "2017-07-31 14:07:21.964543"]]
1231
+ SQL (0.1ms) 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-07-31 14:07:21.966052"], ["updated_at", "2017-07-31 14:07:21.966052"]]
1232
+ 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-07-31 14:07:21.967259"], ["updated_at", "2017-07-31 14:07:21.967259"]]
1233
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1234
+  (0.5ms) rollback transaction
1235
+  (0.1ms) begin transaction
1236
+  (0.1ms) SAVEPOINT active_record_1
1237
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 14:07:21.972132"], ["updated_at", "2017-07-31 14:07:21.972132"]]
1238
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1239
+  (0.0ms) SAVEPOINT active_record_1
1240
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 14:07:21.974424"], ["updated_at", "2017-07-31 14:07:21.974424"]]
1241
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1242
+  (0.0ms) SAVEPOINT active_record_1
1243
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.978512"], ["created_at", "2017-07-31 14:07:21.978463"], ["updated_at", "2017-07-31 14:07:21.978463"]]
1244
+ SQL (0.1ms) 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-07-31 14:07:21.979519"], ["updated_at", "2017-07-31 14:07:21.979519"]]
1245
+ 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-07-31 14:07:21.981121"], ["updated_at", "2017-07-31 14:07:21.981121"]]
1246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1247
+  (0.5ms) rollback transaction
1248
+  (0.0ms) begin transaction
1249
+  (0.0ms) SAVEPOINT active_record_1
1250
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 14:07:21.985927"], ["updated_at", "2017-07-31 14:07:21.985927"]]
1251
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1252
+  (0.1ms) SAVEPOINT active_record_1
1253
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 14:07:21.988760"], ["updated_at", "2017-07-31 14:07:21.988760"]]
1254
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1255
+  (0.1ms) SAVEPOINT active_record_1
1256
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:21.993645"], ["created_at", "2017-07-31 14:07:21.993573"], ["updated_at", "2017-07-31 14:07:21.993573"]]
1257
+ SQL (0.3ms) 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-07-31 14:07:21.995226"], ["updated_at", "2017-07-31 14:07:21.995226"]]
1258
+ 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-07-31 14:07:21.996974"], ["updated_at", "2017-07-31 14:07:21.996974"]]
1259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1260
+  (0.4ms) rollback transaction
1261
+  (0.0ms) begin transaction
1262
+  (0.1ms) SAVEPOINT active_record_1
1263
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 14:07:22.002190"], ["updated_at", "2017-07-31 14:07:22.002190"]]
1264
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1265
+  (0.0ms) SAVEPOINT active_record_1
1266
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 14:07:22.004098"], ["updated_at", "2017-07-31 14:07:22.004098"]]
1267
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1268
+  (0.1ms) SAVEPOINT active_record_1
1269
+ SQL (11.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:07:22.008177"], ["created_at", "2017-07-31 14:07:22.008119"], ["updated_at", "2017-07-31 14:07:22.008119"]]
1270
+ SQL (0.1ms) 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-07-31 14:07:22.020434"], ["updated_at", "2017-07-31 14:07:22.020434"]]
1271
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:07:22.021511"], ["updated_at", "2017-07-31 14:07:22.021511"]]
1272
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1273
+  (0.4ms) rollback transaction
1274
+  (0.0ms) begin transaction
1275
+  (0.0ms) rollback transaction
1276
+  (0.0ms) begin transaction
1277
+  (0.0ms) rollback transaction
1278
+  (0.0ms) begin transaction
1279
+  (0.1ms) rollback transaction
1280
+  (0.1ms) begin transaction
1281
+  (0.0ms) rollback transaction
1282
+  (0.0ms) begin transaction
1283
+  (0.1ms) rollback transaction
1284
+  (0.0ms) begin transaction
1285
+  (0.1ms) SAVEPOINT active_record_1
1286
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 14:20:35.894388"], ["updated_at", "2017-07-31 14:20:35.894388"]]
1287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1288
+  (0.3ms) rollback transaction
1289
+  (0.1ms) begin transaction
1290
+  (0.1ms) SAVEPOINT active_record_1
1291
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:20:35.907054"], ["updated_at", "2017-07-31 14:20:35.907054"]]
1292
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1293
+  (0.3ms) rollback transaction
1294
+  (0.0ms) begin transaction
1295
+  (0.0ms) SAVEPOINT active_record_1
1296
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 14:20:35.909743"], ["updated_at", "2017-07-31 14:20:35.909743"]]
1297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1298
+  (0.2ms) rollback transaction
1299
+  (0.0ms) begin transaction
1300
+  (0.1ms) rollback transaction
1301
+  (0.0ms) begin transaction
1302
+  (0.0ms) rollback transaction
1303
+  (0.0ms) begin transaction
1304
+  (0.1ms) SAVEPOINT active_record_1
1305
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 14:21:00.579870"], ["updated_at", "2017-07-31 14:21:00.579870"]]
1306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1307
+  (2.1ms) rollback transaction
1308
+  (0.1ms) begin transaction
1309
+  (0.1ms) SAVEPOINT active_record_1
1310
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 14:21:00.597730"], ["updated_at", "2017-07-31 14:21:00.597730"]]
1311
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1312
+  (0.3ms) rollback transaction
1313
+  (0.1ms) begin transaction
1314
+  (0.1ms) SAVEPOINT active_record_1
1315
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 14:21:00.601417"], ["updated_at", "2017-07-31 14:21:00.601417"]]
1316
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1317
+  (0.2ms) rollback transaction
1318
+  (0.0ms) begin transaction
1319
+  (0.0ms) rollback transaction
1320
+  (0.0ms) begin transaction
1321
+  (0.0ms) rollback transaction
1322
+  (0.1ms) begin transaction
1323
+  (0.1ms) rollback transaction
1324
+  (0.0ms) begin transaction
1325
+  (0.0ms) rollback transaction
1326
+  (0.0ms) begin transaction
1327
+  (0.0ms) rollback transaction
1328
+  (0.0ms) begin transaction
1329
+  (0.0ms) rollback transaction
1330
+  (0.0ms) begin transaction
1331
+  (0.0ms) rollback transaction
1332
+  (0.0ms) begin transaction
1333
+  (0.0ms) rollback transaction
1334
+  (0.0ms) begin transaction
1335
+  (0.0ms) rollback transaction
1336
+  (0.0ms) begin transaction
1337
+  (0.0ms) rollback transaction
1338
+  (0.0ms) begin transaction
1339
+  (0.0ms) rollback transaction
1340
+  (0.0ms) begin transaction
1341
+  (0.1ms) rollback transaction
1342
+  (0.0ms) begin transaction
1343
+  (0.0ms) rollback transaction
1344
+  (0.1ms) begin transaction
1345
+  (0.0ms) rollback transaction
1346
+  (0.0ms) begin transaction
1347
+  (0.0ms) rollback transaction
1348
+  (0.0ms) begin transaction
1349
+  (0.1ms) rollback transaction
1350
+  (0.0ms) begin transaction
1351
+  (0.0ms) rollback transaction
1352
+  (0.0ms) begin transaction
1353
+  (0.0ms) rollback transaction
1354
+  (0.0ms) begin transaction
1355
+  (0.0ms) rollback transaction
1356
+  (0.1ms) begin transaction
1357
+  (0.0ms) rollback transaction
1358
+  (0.0ms) begin transaction
1359
+  (0.0ms) rollback transaction
1360
+  (0.0ms) begin transaction
1361
+  (0.0ms) rollback transaction
1362
+  (0.0ms) begin transaction
1363
+  (0.0ms) rollback transaction
1364
+  (0.0ms) begin transaction
1365
+  (0.0ms) rollback transaction
1366
+  (0.0ms) begin transaction
1367
+  (0.0ms) rollback transaction
1368
+  (0.0ms) begin transaction
1369
+  (0.0ms) rollback transaction
1370
+  (0.0ms) begin transaction
1371
+  (0.0ms) rollback transaction
1372
+  (0.0ms) begin transaction
1373
+  (0.1ms) rollback transaction
1374
+  (0.0ms) begin transaction
1375
+  (0.0ms) rollback transaction
1376
+  (0.0ms) begin transaction
1377
+  (0.0ms) rollback transaction
1378
+  (0.0ms) begin transaction
1379
+  (0.0ms) rollback transaction
1380
+  (0.1ms) begin transaction
1381
+  (0.0ms) rollback transaction
1382
+  (0.0ms) begin transaction
1383
+  (0.0ms) SAVEPOINT active_record_1
1384
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 14:37:14.893584"], ["updated_at", "2017-07-31 14:37:14.893584"]]
1385
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1386
+  (2.0ms) rollback transaction
1387
+  (0.1ms) begin transaction
1388
+  (0.1ms) SAVEPOINT active_record_1
1389
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 14:37:14.901897"], ["updated_at", "2017-07-31 14:37:14.901897"]]
1390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1391
+  (0.1ms) SAVEPOINT active_record_1
1392
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:14.925697"], ["created_at", "2017-07-31 14:37:14.925596"], ["updated_at", "2017-07-31 14:37:14.925596"]]
1393
+ SQL (0.1ms) 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-07-31 14:37:14.926855"], ["updated_at", "2017-07-31 14:37:14.926855"]]
1394
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:14.927780"], ["updated_at", "2017-07-31 14:37:14.927780"]]
1395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1396
+  (0.4ms) rollback transaction
1397
+  (0.0ms) begin transaction
1398
+  (0.0ms) rollback transaction
1399
+  (0.0ms) begin transaction
1400
+  (0.0ms) rollback transaction
1401
+  (0.0ms) begin transaction
1402
+  (0.0ms) rollback transaction
1403
+  (0.0ms) begin transaction
1404
+  (0.0ms) rollback transaction
1405
+  (0.0ms) begin transaction
1406
+  (0.1ms) rollback transaction
1407
+  (0.0ms) begin transaction
1408
+  (0.0ms) rollback transaction
1409
+  (0.0ms) begin transaction
1410
+  (0.0ms) rollback transaction
1411
+  (0.0ms) begin transaction
1412
+  (0.0ms) rollback transaction
1413
+  (0.0ms) begin transaction
1414
+  (0.0ms) rollback transaction
1415
+  (0.0ms) begin transaction
1416
+  (0.0ms) rollback transaction
1417
+  (0.0ms) begin transaction
1418
+  (0.1ms) SAVEPOINT active_record_1
1419
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 14:37:14.944892"], ["updated_at", "2017-07-31 14:37:14.944892"]]
1420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1421
+  (0.3ms) rollback transaction
1422
+  (0.0ms) begin transaction
1423
+  (0.0ms) SAVEPOINT active_record_1
1424
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 14:37:14.956382"], ["updated_at", "2017-07-31 14:37:14.956382"]]
1425
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1426
+  (0.2ms) rollback transaction
1427
+  (0.0ms) begin transaction
1428
+  (0.0ms) SAVEPOINT active_record_1
1429
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 14:37:14.959430"], ["updated_at", "2017-07-31 14:37:14.959430"]]
1430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1431
+  (0.3ms) rollback transaction
1432
+  (0.0ms) begin transaction
1433
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1434
+  (0.0ms) SAVEPOINT active_record_1
1435
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 14:37:14.965821"], ["updated_at", "2017-07-31 14:37:14.965821"]]
1436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1437
+  (0.0ms) SAVEPOINT active_record_1
1438
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1439
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:14.982381"], ["created_at", "2017-07-31 14:37:14.982308"], ["updated_at", "2017-07-31 14:37:14.982308"]]
1440
+ 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-07-31 14:37:14.983740"], ["updated_at", "2017-07-31 14:37:14.983740"]]
1441
+ 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: name10\n"], ["created_at", "2017-07-31 14:37:14.984895"], ["updated_at", "2017-07-31 14:37:14.984895"]]
1442
+ 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: name11\n"], ["created_at", "2017-07-31 14:37:14.986357"], ["updated_at", "2017-07-31 14:37:14.986357"]]
1443
+ 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-07-31 14:37:14.987520"], ["updated_at", "2017-07-31 14:37:14.987520"]]
1444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1445
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1446
+  (0.4ms) rollback transaction
1447
+  (0.0ms) begin transaction
1448
+  (0.1ms) SAVEPOINT active_record_1
1449
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 14:37:15.013789"], ["updated_at", "2017-07-31 14:37:15.013789"]]
1450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1451
+  (0.1ms) SAVEPOINT active_record_1
1452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1453
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.029804"], ["created_at", "2017-07-31 14:37:15.029736"], ["updated_at", "2017-07-31 14:37:15.029736"]]
1454
+ 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-07-31 14:37:15.031239"], ["updated_at", "2017-07-31 14:37:15.031239"]]
1455
+ 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: name13\n"], ["created_at", "2017-07-31 14:37:15.032716"], ["updated_at", "2017-07-31 14:37:15.032716"]]
1456
+ 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: name14\n"], ["created_at", "2017-07-31 14:37:15.034595"], ["updated_at", "2017-07-31 14:37:15.034595"]]
1457
+ 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-07-31 14:37:15.036115"], ["updated_at", "2017-07-31 14:37:15.036115"]]
1458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1459
+  (0.6ms) rollback transaction
1460
+  (0.0ms) begin transaction
1461
+  (0.0ms) SAVEPOINT active_record_1
1462
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 14:37:15.040140"], ["updated_at", "2017-07-31 14:37:15.040140"]]
1463
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1464
+  (0.0ms) SAVEPOINT active_record_1
1465
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1466
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.045983"], ["created_at", "2017-07-31 14:37:15.045937"], ["updated_at", "2017-07-31 14:37:15.045937"]]
1467
+ 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-07-31 14:37:15.047094"], ["updated_at", "2017-07-31 14:37:15.047094"]]
1468
+ 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: name16\n"], ["created_at", "2017-07-31 14:37:15.048312"], ["updated_at", "2017-07-31 14:37:15.048312"]]
1469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1470
+  (0.4ms) rollback transaction
1471
+  (0.0ms) begin transaction
1472
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1473
+  (0.0ms) SAVEPOINT active_record_1
1474
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 14:37:15.052820"], ["updated_at", "2017-07-31 14:37:15.052820"]]
1475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1476
+  (0.1ms) SAVEPOINT active_record_1
1477
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1478
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.060785"], ["created_at", "2017-07-31 14:37:15.060731"], ["updated_at", "2017-07-31 14:37:15.060731"]]
1479
+ 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-07-31 14:37:15.062052"], ["updated_at", "2017-07-31 14:37:15.062052"]]
1480
+ 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: name17\n"], ["created_at", "2017-07-31 14:37:15.063234"], ["updated_at", "2017-07-31 14:37:15.063234"]]
1481
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1482
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1483
+  (0.4ms) rollback transaction
1484
+  (0.0ms) begin transaction
1485
+  (0.1ms) rollback transaction
1486
+  (0.0ms) begin transaction
1487
+  (0.1ms) SAVEPOINT active_record_1
1488
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 14:37:15.077413"], ["updated_at", "2017-07-31 14:37:15.077413"]]
1489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1490
+  (0.4ms) rollback transaction
1491
+  (0.0ms) begin transaction
1492
+  (0.0ms) rollback transaction
1493
+  (0.1ms) begin transaction
1494
+  (0.1ms) SAVEPOINT active_record_1
1495
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 14:37:15.087785"], ["updated_at", "2017-07-31 14:37:15.087785"]]
1496
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1497
+  (0.4ms) rollback transaction
1498
+  (0.1ms) begin transaction
1499
+  (0.0ms) SAVEPOINT active_record_1
1500
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 14:37:15.092260"], ["updated_at", "2017-07-31 14:37:15.092260"]]
1501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1502
+  (0.3ms) rollback transaction
1503
+  (0.0ms) begin transaction
1504
+  (0.0ms) SAVEPOINT active_record_1
1505
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 14:37:15.096462"], ["updated_at", "2017-07-31 14:37:15.096462"]]
1506
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1507
+  (0.5ms) rollback transaction
1508
+  (0.1ms) begin transaction
1509
+  (0.1ms) SAVEPOINT active_record_1
1510
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 14:37:15.101323"], ["updated_at", "2017-07-31 14:37:15.101323"]]
1511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1512
+  (0.3ms) rollback transaction
1513
+  (0.0ms) begin transaction
1514
+  (0.1ms) SAVEPOINT active_record_1
1515
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 14:37:15.105936"], ["updated_at", "2017-07-31 14:37:15.105936"]]
1516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1517
+  (0.3ms) rollback transaction
1518
+  (0.0ms) begin transaction
1519
+  (0.0ms) SAVEPOINT active_record_1
1520
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 14:37:15.110716"], ["updated_at", "2017-07-31 14:37:15.110716"]]
1521
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1522
+  (0.0ms) SAVEPOINT active_record_1
1523
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 14:37:15.112265"], ["updated_at", "2017-07-31 14:37:15.112265"]]
1524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1525
+  (0.0ms) SAVEPOINT active_record_1
1526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1527
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.122916"], ["created_at", "2017-07-31 14:37:15.122773"], ["updated_at", "2017-07-31 14:37:15.122773"]]
1528
+ 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-07-31 14:37:15.125793"], ["updated_at", "2017-07-31 14:37:15.125793"]]
1529
+ 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-07-31 14:37:15.128053"], ["updated_at", "2017-07-31 14:37:15.128053"]]
1530
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1531
+  (0.6ms) rollback transaction
1532
+  (0.1ms) begin transaction
1533
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1534
+  (0.1ms) SAVEPOINT active_record_1
1535
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 14:37:15.134024"], ["updated_at", "2017-07-31 14:37:15.134024"]]
1536
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1537
+  (0.1ms) SAVEPOINT active_record_1
1538
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 14:37:15.137237"], ["updated_at", "2017-07-31 14:37:15.137237"]]
1539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1540
+  (0.0ms) SAVEPOINT active_record_1
1541
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1542
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.144343"], ["created_at", "2017-07-31 14:37:15.144291"], ["updated_at", "2017-07-31 14:37:15.144291"]]
1543
+ 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-07-31 14:37:15.145490"], ["updated_at", "2017-07-31 14:37:15.145490"]]
1544
+ 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-07-31 14:37:15.146549"], ["updated_at", "2017-07-31 14:37:15.146549"]]
1545
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1546
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1547
+  (0.4ms) rollback transaction
1548
+  (0.0ms) begin transaction
1549
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1550
+  (0.0ms) SAVEPOINT active_record_1
1551
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 14:37:15.156818"], ["updated_at", "2017-07-31 14:37:15.156818"]]
1552
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1553
+  (0.0ms) SAVEPOINT active_record_1
1554
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 14:37:15.158805"], ["updated_at", "2017-07-31 14:37:15.158805"]]
1555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1556
+  (0.0ms) SAVEPOINT active_record_1
1557
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 14:37:15.160257"], ["updated_at", "2017-07-31 14:37:15.160257"]]
1558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1559
+  (0.0ms) SAVEPOINT active_record_1
1560
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 14:37:15.161657"], ["updated_at", "2017-07-31 14:37:15.161657"]]
1561
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1562
+  (0.0ms) SAVEPOINT active_record_1
1563
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1564
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.172377"], ["created_at", "2017-07-31 14:37:15.172244"], ["updated_at", "2017-07-31 14:37:15.172244"]]
1565
+ 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-07-31 14:37:15.174607"], ["updated_at", "2017-07-31 14:37:15.174607"]]
1566
+ 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-07-31 14:37:15.176806"], ["updated_at", "2017-07-31 14:37:15.176806"]]
1567
+ 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-07-31 14:37:15.178594"], ["updated_at", "2017-07-31 14:37:15.178594"]]
1568
+ 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-07-31 14:37:15.180070"], ["updated_at", "2017-07-31 14:37:15.180070"]]
1569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1570
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1571
+  (0.5ms) rollback transaction
1572
+  (0.1ms) begin transaction
1573
+  (0.1ms) SAVEPOINT active_record_1
1574
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 14:37:15.185492"], ["updated_at", "2017-07-31 14:37:15.185492"]]
1575
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1576
+  (0.1ms) SAVEPOINT active_record_1
1577
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 14:37:15.187923"], ["updated_at", "2017-07-31 14:37:15.187923"]]
1578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1579
+  (0.0ms) SAVEPOINT active_record_1
1580
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 14:37:15.189931"], ["updated_at", "2017-07-31 14:37:15.189931"]]
1581
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1582
+  (0.0ms) SAVEPOINT active_record_1
1583
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 14:37:15.191047"], ["updated_at", "2017-07-31 14:37:15.191047"]]
1584
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1585
+  (0.0ms) SAVEPOINT active_record_1
1586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1587
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.198580"], ["created_at", "2017-07-31 14:37:15.198519"], ["updated_at", "2017-07-31 14:37:15.198519"]]
1588
+ 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-07-31 14:37:15.209206"], ["updated_at", "2017-07-31 14:37:15.209206"]]
1589
+ 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-07-31 14:37:15.210136"], ["updated_at", "2017-07-31 14:37:15.210136"]]
1590
+ 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-07-31 14:37:15.210982"], ["updated_at", "2017-07-31 14:37:15.210982"]]
1591
+ SQL (2.0ms) 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-07-31 14:37:15.211774"], ["updated_at", "2017-07-31 14:37:15.211774"]]
1592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1593
+  (0.4ms) rollback transaction
1594
+  (0.0ms) begin transaction
1595
+  (0.0ms) rollback transaction
1596
+  (0.1ms) begin transaction
1597
+  (0.0ms) rollback transaction
1598
+  (0.0ms) begin transaction
1599
+  (0.0ms) SAVEPOINT active_record_1
1600
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 14:37:15.219105"], ["updated_at", "2017-07-31 14:37:15.219105"]]
1601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1602
+  (0.4ms) rollback transaction
1603
+  (0.1ms) begin transaction
1604
+  (0.1ms) SAVEPOINT active_record_1
1605
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 14:37:15.223707"], ["updated_at", "2017-07-31 14:37:15.223707"]]
1606
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1607
+  (0.4ms) rollback transaction
1608
+  (0.1ms) begin transaction
1609
+  (0.1ms) rollback transaction
1610
+  (0.0ms) begin transaction
1611
+  (0.1ms) SAVEPOINT active_record_1
1612
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 14:37:15.230474"], ["updated_at", "2017-07-31 14:37:15.230474"]]
1613
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1614
+  (0.1ms) SAVEPOINT active_record_1
1615
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 14:37:15.233828"], ["updated_at", "2017-07-31 14:37:15.233828"]]
1616
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1617
+  (0.0ms) SAVEPOINT active_record_1
1618
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.236823"], ["created_at", "2017-07-31 14:37:15.236759"], ["updated_at", "2017-07-31 14:37:15.236759"]]
1619
+ SQL (0.2ms) 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-07-31 14:37:15.238306"], ["updated_at", "2017-07-31 14:37:15.238306"]]
1620
+ 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", "---\n:name: updated_name\n"], ["created_at", "2017-07-31 14:37:15.239631"], ["updated_at", "2017-07-31 14:37:15.239631"]]
1621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1622
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1623
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1624
+  (0.0ms) SAVEPOINT active_record_1
1625
+ SQL (0.1ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 14:37:15.245137"], ["id", 1]]
1626
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1627
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1628
+  (0.4ms) rollback transaction
1629
+  (0.0ms) begin transaction
1630
+  (0.1ms) SAVEPOINT active_record_1
1631
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 14:37:15.250010"], ["updated_at", "2017-07-31 14:37:15.250010"]]
1632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1633
+  (0.1ms) SAVEPOINT active_record_1
1634
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.254610"], ["created_at", "2017-07-31 14:37:15.254530"], ["updated_at", "2017-07-31 14:37:15.254530"]]
1635
+ 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-07-31 14:37:15.256022"], ["updated_at", "2017-07-31 14:37:15.256022"]]
1636
+ 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-07-31 14:37:15.257131"], ["updated_at", "2017-07-31 14:37:15.257131"]]
1637
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1638
+  (0.1ms) SELECT COUNT(*) FROM "books"
1639
+  (0.0ms) SAVEPOINT active_record_1
1640
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 14:37:15.259485"], ["updated_at", "2017-07-31 14:37:15.259485"]]
1641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1642
+  (0.0ms) SAVEPOINT active_record_1
1643
+ SQL (0.1ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 14:37:15.260785"], ["id", 1]]
1644
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1645
+  (0.1ms) SELECT COUNT(*) FROM "books"
1646
+  (0.3ms) rollback transaction
1647
+  (0.0ms) begin transaction
1648
+  (0.1ms) SAVEPOINT active_record_1
1649
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 14:37:15.266608"], ["updated_at", "2017-07-31 14:37:15.266608"]]
1650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1651
+  (0.1ms) SAVEPOINT active_record_1
1652
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 14:37:15.270041"], ["updated_at", "2017-07-31 14:37:15.270041"]]
1653
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1654
+  (0.1ms) SAVEPOINT active_record_1
1655
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.275462"], ["created_at", "2017-07-31 14:37:15.275382"], ["updated_at", "2017-07-31 14:37:15.275382"]]
1656
+ 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-07-31 14:37:15.276977"], ["updated_at", "2017-07-31 14:37:15.276977"]]
1657
+ 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-07-31 14:37:15.278253"], ["updated_at", "2017-07-31 14:37:15.278253"]]
1658
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1659
+  (0.1ms) SELECT COUNT(*) FROM "books"
1660
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1661
+  (0.0ms) SAVEPOINT active_record_1
1662
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
1663
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1664
+  (0.1ms) SELECT COUNT(*) FROM "books"
1665
+  (0.4ms) rollback transaction
1666
+  (0.1ms) begin transaction
1667
+  (0.1ms) SAVEPOINT active_record_1
1668
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 14:37:15.287023"], ["updated_at", "2017-07-31 14:37:15.287023"]]
1669
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1670
+  (0.4ms) rollback transaction
1671
+  (0.1ms) begin transaction
1672
+  (0.0ms) SAVEPOINT active_record_1
1673
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 14:37:15.290608"], ["updated_at", "2017-07-31 14:37:15.290608"]]
1674
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1675
+  (0.3ms) rollback transaction
1676
+  (0.0ms) begin transaction
1677
+  (0.1ms) rollback transaction
1678
+  (0.0ms) begin transaction
1679
+  (0.1ms) SAVEPOINT active_record_1
1680
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 14:37:15.294508"], ["updated_at", "2017-07-31 14:37:15.294508"]]
1681
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1682
+  (0.2ms) rollback transaction
1683
+  (0.0ms) begin transaction
1684
+  (0.0ms) rollback transaction
1685
+  (0.0ms) begin transaction
1686
+  (0.1ms) SAVEPOINT active_record_1
1687
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 14:37:15.298409"], ["updated_at", "2017-07-31 14:37:15.298409"]]
1688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1689
+  (0.2ms) rollback transaction
1690
+  (0.0ms) begin transaction
1691
+  (0.0ms) rollback transaction
1692
+  (0.0ms) begin transaction
1693
+  (0.0ms) rollback transaction
1694
+  (0.0ms) begin transaction
1695
+  (0.0ms) rollback transaction
1696
+  (0.0ms) begin transaction
1697
+  (0.1ms) SAVEPOINT active_record_1
1698
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 14:37:15.315474"], ["updated_at", "2017-07-31 14:37:15.315474"]]
1699
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1700
+ Approval::Request Load (0.1ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1701
+  (0.6ms) rollback transaction
1702
+  (0.1ms) begin transaction
1703
+  (0.1ms) rollback transaction
1704
+  (0.1ms) begin transaction
1705
+  (0.1ms) rollback transaction
1706
+  (0.0ms) begin transaction
1707
+  (0.1ms) rollback transaction
1708
+  (0.1ms) begin transaction
1709
+  (0.1ms) rollback transaction
1710
+  (0.1ms) begin transaction
1711
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1712
+  (0.0ms) SAVEPOINT active_record_1
1713
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 14:37:15.336262"], ["updated_at", "2017-07-31 14:37:15.336262"]]
1714
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1715
+  (0.1ms) SAVEPOINT active_record_1
1716
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 14:37:15.338170"], ["updated_at", "2017-07-31 14:37:15.338170"]]
1717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1718
+  (0.0ms) SAVEPOINT active_record_1
1719
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 14:37:15.339757"], ["updated_at", "2017-07-31 14:37:15.339757"]]
1720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1721
+  (0.0ms) SAVEPOINT active_record_1
1722
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 14:37:15.340742"], ["updated_at", "2017-07-31 14:37:15.340742"]]
1723
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1724
+  (0.0ms) SAVEPOINT active_record_1
1725
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1726
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.348339"], ["created_at", "2017-07-31 14:37:15.348281"], ["updated_at", "2017-07-31 14:37:15.348281"]]
1727
+ 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-07-31 14:37:15.349523"], ["updated_at", "2017-07-31 14:37:15.349523"]]
1728
+ 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: name41\n"], ["created_at", "2017-07-31 14:37:15.350647"], ["updated_at", "2017-07-31 14:37:15.350647"]]
1729
+ 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: name42\n"], ["created_at", "2017-07-31 14:37:15.352039"], ["updated_at", "2017-07-31 14:37:15.352039"]]
1730
+ 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: name43\n"], ["created_at", "2017-07-31 14:37:15.353283"], ["updated_at", "2017-07-31 14:37:15.353283"]]
1731
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1732
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1733
+  (0.4ms) rollback transaction
1734
+  (0.1ms) begin transaction
1735
+  (0.0ms) SAVEPOINT active_record_1
1736
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 14:37:15.360597"], ["updated_at", "2017-07-31 14:37:15.360597"]]
1737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1738
+  (0.0ms) SAVEPOINT active_record_1
1739
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 14:37:15.361979"], ["updated_at", "2017-07-31 14:37:15.361979"]]
1740
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1741
+  (0.0ms) SAVEPOINT active_record_1
1742
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 14:37:15.363050"], ["updated_at", "2017-07-31 14:37:15.363050"]]
1743
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1744
+  (0.0ms) SAVEPOINT active_record_1
1745
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 14:37:15.366329"], ["updated_at", "2017-07-31 14:37:15.366329"]]
1746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1747
+  (0.0ms) SAVEPOINT active_record_1
1748
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1749
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.378130"], ["created_at", "2017-07-31 14:37:15.378048"], ["updated_at", "2017-07-31 14:37:15.378048"]]
1750
+ 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-07-31 14:37:15.379485"], ["updated_at", "2017-07-31 14:37:15.379485"]]
1751
+ 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: name44\n"], ["created_at", "2017-07-31 14:37:15.380858"], ["updated_at", "2017-07-31 14:37:15.380858"]]
1752
+ 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: name45\n"], ["created_at", "2017-07-31 14:37:15.382513"], ["updated_at", "2017-07-31 14:37:15.382513"]]
1753
+ 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: name46\n"], ["created_at", "2017-07-31 14:37:15.384017"], ["updated_at", "2017-07-31 14:37:15.384017"]]
1754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1755
+  (0.5ms) rollback transaction
1756
+  (0.1ms) begin transaction
1757
+  (0.1ms) SAVEPOINT active_record_1
1758
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 14:37:15.388319"], ["updated_at", "2017-07-31 14:37:15.388319"]]
1759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1760
+  (0.0ms) SAVEPOINT active_record_1
1761
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 14:37:15.390282"], ["updated_at", "2017-07-31 14:37:15.390282"]]
1762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1763
+  (0.0ms) SAVEPOINT active_record_1
1764
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1765
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.395355"], ["created_at", "2017-07-31 14:37:15.395284"], ["updated_at", "2017-07-31 14:37:15.395284"]]
1766
+ 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-07-31 14:37:15.396318"], ["updated_at", "2017-07-31 14:37:15.396318"]]
1767
+ 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: name47\n"], ["created_at", "2017-07-31 14:37:15.397639"], ["updated_at", "2017-07-31 14:37:15.397639"]]
1768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1769
+  (0.4ms) rollback transaction
1770
+  (0.0ms) begin transaction
1771
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1772
+  (0.0ms) SAVEPOINT active_record_1
1773
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 14:37:15.401197"], ["updated_at", "2017-07-31 14:37:15.401197"]]
1774
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1775
+  (0.0ms) SAVEPOINT active_record_1
1776
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 14:37:15.402732"], ["updated_at", "2017-07-31 14:37:15.402732"]]
1777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1778
+  (0.1ms) SAVEPOINT active_record_1
1779
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1780
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 14:37:15.408909"], ["created_at", "2017-07-31 14:37:15.408847"], ["updated_at", "2017-07-31 14:37:15.408847"]]
1781
+ 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-07-31 14:37:15.410027"], ["updated_at", "2017-07-31 14:37:15.410027"]]
1782
+ 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: name48\n"], ["created_at", "2017-07-31 14:37:15.411109"], ["updated_at", "2017-07-31 14:37:15.411109"]]
1783
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1784
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1785
+  (0.3ms) rollback transaction
1786
+  (0.2ms) begin transaction
1787
+  (0.2ms) SAVEPOINT active_record_1
1788
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 14:37:15.425453"], ["updated_at", "2017-07-31 14:37:15.425453"]]
1789
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1790
+  (0.0ms) SAVEPOINT active_record_1
1791
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 14:37:15.428049"], ["updated_at", "2017-07-31 14:37:15.428049"]]
1792
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1793
+  (0.1ms) SAVEPOINT active_record_1
1794
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.432902"], ["created_at", "2017-07-31 14:37:15.432834"], ["updated_at", "2017-07-31 14:37:15.432834"]]
1795
+ SQL (0.1ms) 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-07-31 14:37:15.434148"], ["updated_at", "2017-07-31 14:37:15.434148"]]
1796
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:15.435347"], ["updated_at", "2017-07-31 14:37:15.435347"]]
1797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1798
+  (0.6ms) rollback transaction
1799
+  (0.0ms) begin transaction
1800
+  (0.0ms) SAVEPOINT active_record_1
1801
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 14:37:15.441092"], ["updated_at", "2017-07-31 14:37:15.441092"]]
1802
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1803
+  (0.0ms) SAVEPOINT active_record_1
1804
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 14:37:15.442835"], ["updated_at", "2017-07-31 14:37:15.442835"]]
1805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1806
+  (0.1ms) SAVEPOINT active_record_1
1807
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.446922"], ["created_at", "2017-07-31 14:37:15.446860"], ["updated_at", "2017-07-31 14:37:15.446860"]]
1808
+ SQL (0.1ms) 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-07-31 14:37:15.448096"], ["updated_at", "2017-07-31 14:37:15.448096"]]
1809
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:15.449235"], ["updated_at", "2017-07-31 14:37:15.449235"]]
1810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1811
+  (0.4ms) rollback transaction
1812
+  (0.0ms) begin transaction
1813
+  (0.1ms) SAVEPOINT active_record_1
1814
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 14:37:15.453622"], ["updated_at", "2017-07-31 14:37:15.453622"]]
1815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1816
+  (0.0ms) SAVEPOINT active_record_1
1817
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 14:37:15.455822"], ["updated_at", "2017-07-31 14:37:15.455822"]]
1818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1819
+  (0.1ms) SAVEPOINT active_record_1
1820
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.459686"], ["created_at", "2017-07-31 14:37:15.459631"], ["updated_at", "2017-07-31 14:37:15.459631"]]
1821
+ SQL (0.1ms) 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-07-31 14:37:15.460734"], ["updated_at", "2017-07-31 14:37:15.460734"]]
1822
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:15.461705"], ["updated_at", "2017-07-31 14:37:15.461705"]]
1823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1824
+  (0.4ms) rollback transaction
1825
+  (0.0ms) begin transaction
1826
+  (0.0ms) SAVEPOINT active_record_1
1827
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 14:37:15.467669"], ["updated_at", "2017-07-31 14:37:15.467669"]]
1828
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1829
+  (0.0ms) SAVEPOINT active_record_1
1830
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 14:37:15.469277"], ["updated_at", "2017-07-31 14:37:15.469277"]]
1831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1832
+  (0.1ms) SAVEPOINT active_record_1
1833
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.475455"], ["created_at", "2017-07-31 14:37:15.475347"], ["updated_at", "2017-07-31 14:37:15.475347"]]
1834
+ 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-07-31 14:37:15.477302"], ["updated_at", "2017-07-31 14:37:15.477302"]]
1835
+ 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-07-31 14:37:15.478789"], ["updated_at", "2017-07-31 14:37:15.478789"]]
1836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1837
+  (0.4ms) rollback transaction
1838
+  (0.2ms) begin transaction
1839
+  (0.1ms) SAVEPOINT active_record_1
1840
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 14:37:15.484894"], ["updated_at", "2017-07-31 14:37:15.484894"]]
1841
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1842
+  (0.1ms) SAVEPOINT active_record_1
1843
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 14:37:15.488061"], ["updated_at", "2017-07-31 14:37:15.488061"]]
1844
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1845
+  (0.0ms) SAVEPOINT active_record_1
1846
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.492447"], ["created_at", "2017-07-31 14:37:15.492386"], ["updated_at", "2017-07-31 14:37:15.492386"]]
1847
+ SQL (0.1ms) 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-07-31 14:37:15.493406"], ["updated_at", "2017-07-31 14:37:15.493406"]]
1848
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:15.494280"], ["updated_at", "2017-07-31 14:37:15.494280"]]
1849
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1850
+  (0.3ms) rollback transaction
1851
+  (0.0ms) begin transaction
1852
+  (0.1ms) SAVEPOINT active_record_1
1853
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 14:37:15.497565"], ["updated_at", "2017-07-31 14:37:15.497565"]]
1854
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1855
+  (0.0ms) SAVEPOINT active_record_1
1856
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 14:37:15.499460"], ["updated_at", "2017-07-31 14:37:15.499460"]]
1857
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1858
+  (0.1ms) SAVEPOINT active_record_1
1859
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.503600"], ["created_at", "2017-07-31 14:37:15.503541"], ["updated_at", "2017-07-31 14:37:15.503541"]]
1860
+ SQL (0.1ms) 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-07-31 14:37:15.504742"], ["updated_at", "2017-07-31 14:37:15.504742"]]
1861
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 14:37:15.505934"], ["updated_at", "2017-07-31 14:37:15.505934"]]
1862
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1863
+  (0.4ms) rollback transaction
1864
+  (0.0ms) begin transaction
1865
+  (0.1ms) SAVEPOINT active_record_1
1866
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 14:37:15.509195"], ["updated_at", "2017-07-31 14:37:15.509195"]]
1867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1868
+  (0.0ms) SAVEPOINT active_record_1
1869
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 14:37:15.510918"], ["updated_at", "2017-07-31 14:37:15.510918"]]
1870
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1871
+  (0.0ms) SAVEPOINT active_record_1
1872
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.516860"], ["created_at", "2017-07-31 14:37:15.516806"], ["updated_at", "2017-07-31 14:37:15.516806"]]
1873
+ SQL (0.1ms) 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-07-31 14:37:15.517887"], ["updated_at", "2017-07-31 14:37:15.517887"]]
1874
+ 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-07-31 14:37:15.518952"], ["updated_at", "2017-07-31 14:37:15.518952"]]
1875
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1876
+  (0.7ms) rollback transaction
1877
+  (0.1ms) begin transaction
1878
+  (0.1ms) SAVEPOINT active_record_1
1879
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 14:37:15.524392"], ["updated_at", "2017-07-31 14:37:15.524392"]]
1880
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1881
+  (0.0ms) SAVEPOINT active_record_1
1882
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 14:37:15.527054"], ["updated_at", "2017-07-31 14:37:15.527054"]]
1883
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1884
+  (0.1ms) SAVEPOINT active_record_1
1885
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 14:37:15.532033"], ["created_at", "2017-07-31 14:37:15.531884"], ["updated_at", "2017-07-31 14:37:15.531884"]]
1886
+ 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-07-31 14:37:15.534010"], ["updated_at", "2017-07-31 14:37:15.534010"]]
1887
+ 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-07-31 14:37:15.535831"], ["updated_at", "2017-07-31 14:37:15.535831"]]
1888
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1889
+  (0.5ms) rollback transaction
1890
+  (0.0ms) begin transaction
1891
+  (0.0ms) rollback transaction
1892
+  (0.0ms) begin transaction
1893
+  (0.1ms) rollback transaction
1894
+  (0.0ms) begin transaction
1895
+  (0.0ms) rollback transaction
1896
+  (0.0ms) begin transaction
1897
+  (0.0ms) rollback transaction
1898
+  (0.0ms) begin transaction
1899
+  (0.1ms) rollback transaction
1900
+  (0.0ms) begin transaction
1901
+  (0.0ms) rollback transaction
1902
+  (0.0ms) begin transaction
1903
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1904
+  (0.0ms) SAVEPOINT active_record_1
1905
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 15:12:36.572383"], ["updated_at", "2017-07-31 15:12:36.572383"]]
1906
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1907
+  (0.1ms) SAVEPOINT active_record_1
1908
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1909
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.628223"], ["created_at", "2017-07-31 15:12:36.628085"], ["updated_at", "2017-07-31 15:12:36.628085"]]
1910
+ 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-07-31 15:12:36.629594"], ["updated_at", "2017-07-31 15:12:36.629594"]]
1911
+ 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: name1\n"], ["created_at", "2017-07-31 15:12:36.630731"], ["updated_at", "2017-07-31 15:12:36.630731"]]
1912
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1913
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1914
+  (0.5ms) rollback transaction
1915
+  (0.0ms) begin transaction
1916
+  (0.1ms) SAVEPOINT active_record_1
1917
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 15:12:36.663757"], ["updated_at", "2017-07-31 15:12:36.663757"]]
1918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1919
+  (0.1ms) SAVEPOINT active_record_1
1920
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1921
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.670677"], ["created_at", "2017-07-31 15:12:36.670568"], ["updated_at", "2017-07-31 15:12:36.670568"]]
1922
+ 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-07-31 15:12:36.671878"], ["updated_at", "2017-07-31 15:12:36.671878"]]
1923
+ 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: name2\n"], ["created_at", "2017-07-31 15:12:36.672839"], ["updated_at", "2017-07-31 15:12:36.672839"]]
1924
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1925
+  (0.5ms) rollback transaction
1926
+  (0.0ms) begin transaction
1927
+  (0.0ms) SAVEPOINT active_record_1
1928
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 15:12:36.676309"], ["updated_at", "2017-07-31 15:12:36.676309"]]
1929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1930
+  (0.1ms) SAVEPOINT active_record_1
1931
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1932
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.686822"], ["created_at", "2017-07-31 15:12:36.686753"], ["updated_at", "2017-07-31 15:12:36.686753"]]
1933
+ 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-07-31 15:12:36.688257"], ["updated_at", "2017-07-31 15:12:36.688257"]]
1934
+ 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: name3\n"], ["created_at", "2017-07-31 15:12:36.689500"], ["updated_at", "2017-07-31 15:12:36.689500"]]
1935
+ 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: name4\n"], ["created_at", "2017-07-31 15:12:36.690758"], ["updated_at", "2017-07-31 15:12:36.690758"]]
1936
+ 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: name5\n"], ["created_at", "2017-07-31 15:12:36.691835"], ["updated_at", "2017-07-31 15:12:36.691835"]]
1937
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1938
+  (0.5ms) rollback transaction
1939
+  (0.1ms) begin transaction
1940
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1941
+  (0.1ms) SAVEPOINT active_record_1
1942
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 15:12:36.696089"], ["updated_at", "2017-07-31 15:12:36.696089"]]
1943
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1944
+  (0.1ms) SAVEPOINT active_record_1
1945
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1946
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.706490"], ["created_at", "2017-07-31 15:12:36.706431"], ["updated_at", "2017-07-31 15:12:36.706431"]]
1947
+ 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-07-31 15:12:36.707507"], ["updated_at", "2017-07-31 15:12:36.707507"]]
1948
+ 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: name6\n"], ["created_at", "2017-07-31 15:12:36.708467"], ["updated_at", "2017-07-31 15:12:36.708467"]]
1949
+ 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: name7\n"], ["created_at", "2017-07-31 15:12:36.709673"], ["updated_at", "2017-07-31 15:12:36.709673"]]
1950
+ 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: name8\n"], ["created_at", "2017-07-31 15:12:36.711028"], ["updated_at", "2017-07-31 15:12:36.711028"]]
1951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1952
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1953
+  (0.4ms) rollback transaction
1954
+  (0.1ms) begin transaction
1955
+  (0.0ms) rollback transaction
1956
+  (0.0ms) begin transaction
1957
+  (0.0ms) rollback transaction
1958
+  (0.0ms) begin transaction
1959
+  (0.0ms) rollback transaction
1960
+  (0.1ms) begin transaction
1961
+  (0.1ms) rollback transaction
1962
+  (0.0ms) begin transaction
1963
+  (0.0ms) rollback transaction
1964
+  (0.0ms) begin transaction
1965
+  (0.1ms) SAVEPOINT active_record_1
1966
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 15:12:36.721717"], ["updated_at", "2017-07-31 15:12:36.721717"]]
1967
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1968
+  (0.1ms) SAVEPOINT active_record_1
1969
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.728116"], ["created_at", "2017-07-31 15:12:36.728018"], ["updated_at", "2017-07-31 15:12:36.728018"]]
1970
+ SQL (0.1ms) 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-07-31 15:12:36.729822"], ["updated_at", "2017-07-31 15:12:36.729822"]]
1971
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.731317"], ["updated_at", "2017-07-31 15:12:36.731317"]]
1972
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1973
+  (0.5ms) rollback transaction
1974
+  (0.0ms) begin transaction
1975
+  (0.1ms) rollback transaction
1976
+  (0.0ms) begin transaction
1977
+  (0.0ms) rollback transaction
1978
+  (0.0ms) begin transaction
1979
+  (0.0ms) rollback transaction
1980
+  (0.1ms) begin transaction
1981
+  (0.0ms) rollback transaction
1982
+  (0.0ms) begin transaction
1983
+  (0.0ms) SAVEPOINT active_record_1
1984
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 15:12:36.757481"], ["updated_at", "2017-07-31 15:12:36.757481"]]
1985
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1986
+  (0.4ms) rollback transaction
1987
+  (0.0ms) begin transaction
1988
+  (0.0ms) SAVEPOINT active_record_1
1989
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 15:12:36.763300"], ["updated_at", "2017-07-31 15:12:36.763300"]]
1990
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1991
+  (0.5ms) rollback transaction
1992
+  (0.0ms) begin transaction
1993
+  (0.0ms) SAVEPOINT active_record_1
1994
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 15:12:36.768309"], ["updated_at", "2017-07-31 15:12:36.768309"]]
1995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1996
+  (0.3ms) rollback transaction
1997
+  (0.1ms) begin transaction
1998
+  (0.1ms) SAVEPOINT active_record_1
1999
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 15:12:36.773987"], ["updated_at", "2017-07-31 15:12:36.773987"]]
2000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2001
+  (0.3ms) rollback transaction
2002
+  (0.0ms) begin transaction
2003
+  (0.1ms) SAVEPOINT active_record_1
2004
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 15:12:36.779255"], ["updated_at", "2017-07-31 15:12:36.779255"]]
2005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2006
+  (0.3ms) rollback transaction
2007
+  (0.1ms) begin transaction
2008
+  (0.1ms) rollback transaction
2009
+  (0.0ms) begin transaction
2010
+  (0.1ms) SAVEPOINT active_record_1
2011
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 15:12:36.787716"], ["updated_at", "2017-07-31 15:12:36.787716"]]
2012
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2013
+  (0.4ms) rollback transaction
2014
+  (0.0ms) begin transaction
2015
+  (0.0ms) rollback transaction
2016
+  (0.0ms) begin transaction
2017
+  (0.1ms) SAVEPOINT active_record_1
2018
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 15:12:36.794847"], ["updated_at", "2017-07-31 15:12:36.794847"]]
2019
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2020
+  (0.3ms) rollback transaction
2021
+  (0.0ms) begin transaction
2022
+  (0.0ms) rollback transaction
2023
+  (0.0ms) begin transaction
2024
+  (0.0ms) rollback transaction
2025
+  (0.0ms) begin transaction
2026
+  (0.0ms) rollback transaction
2027
+  (0.0ms) begin transaction
2028
+  (0.0ms) rollback transaction
2029
+  (0.0ms) begin transaction
2030
+  (0.0ms) rollback transaction
2031
+  (0.0ms) begin transaction
2032
+  (0.1ms) SAVEPOINT active_record_1
2033
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 15:12:36.811587"], ["updated_at", "2017-07-31 15:12:36.811587"]]
2034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2035
+  (0.0ms) SAVEPOINT active_record_1
2036
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 15:12:36.814037"], ["updated_at", "2017-07-31 15:12:36.814037"]]
2037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2038
+  (0.0ms) SAVEPOINT active_record_1
2039
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.819264"], ["created_at", "2017-07-31 15:12:36.819209"], ["updated_at", "2017-07-31 15:12:36.819209"]]
2040
+ SQL (0.1ms) 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-07-31 15:12:36.820507"], ["updated_at", "2017-07-31 15:12:36.820507"]]
2041
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.821931"], ["updated_at", "2017-07-31 15:12:36.821931"]]
2042
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2043
+  (0.4ms) rollback transaction
2044
+  (0.0ms) begin transaction
2045
+  (0.0ms) SAVEPOINT active_record_1
2046
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 15:12:36.827258"], ["updated_at", "2017-07-31 15:12:36.827258"]]
2047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2048
+  (0.0ms) SAVEPOINT active_record_1
2049
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 15:12:36.829702"], ["updated_at", "2017-07-31 15:12:36.829702"]]
2050
+  (0.3ms) RELEASE SAVEPOINT active_record_1
2051
+  (0.0ms) SAVEPOINT active_record_1
2052
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.835117"], ["created_at", "2017-07-31 15:12:36.835062"], ["updated_at", "2017-07-31 15:12:36.835062"]]
2053
+ SQL (0.1ms) 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-07-31 15:12:36.836442"], ["updated_at", "2017-07-31 15:12:36.836442"]]
2054
+ 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-07-31 15:12:36.837770"], ["updated_at", "2017-07-31 15:12:36.837770"]]
2055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2056
+  (0.5ms) rollback transaction
2057
+  (0.0ms) begin transaction
2058
+  (0.1ms) SAVEPOINT active_record_1
2059
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 15:12:36.843276"], ["updated_at", "2017-07-31 15:12:36.843276"]]
2060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2061
+  (0.1ms) SAVEPOINT active_record_1
2062
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 15:12:36.846160"], ["updated_at", "2017-07-31 15:12:36.846160"]]
2063
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2064
+  (0.0ms) SAVEPOINT active_record_1
2065
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.851148"], ["created_at", "2017-07-31 15:12:36.851091"], ["updated_at", "2017-07-31 15:12:36.851091"]]
2066
+ SQL (0.1ms) 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-07-31 15:12:36.852510"], ["updated_at", "2017-07-31 15:12:36.852510"]]
2067
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.853773"], ["updated_at", "2017-07-31 15:12:36.853773"]]
2068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2069
+  (0.4ms) rollback transaction
2070
+  (0.0ms) begin transaction
2071
+  (0.0ms) SAVEPOINT active_record_1
2072
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 15:12:36.859850"], ["updated_at", "2017-07-31 15:12:36.859850"]]
2073
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2074
+  (0.0ms) SAVEPOINT active_record_1
2075
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 15:12:36.861765"], ["updated_at", "2017-07-31 15:12:36.861765"]]
2076
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2077
+  (0.0ms) SAVEPOINT active_record_1
2078
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.865857"], ["created_at", "2017-07-31 15:12:36.865809"], ["updated_at", "2017-07-31 15:12:36.865809"]]
2079
+ SQL (0.3ms) 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-07-31 15:12:36.867260"], ["updated_at", "2017-07-31 15:12:36.867260"]]
2080
+ 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-07-31 15:12:36.868924"], ["updated_at", "2017-07-31 15:12:36.868924"]]
2081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2082
+  (0.6ms) rollback transaction
2083
+  (0.1ms) begin transaction
2084
+  (0.1ms) SAVEPOINT active_record_1
2085
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 15:12:36.891438"], ["updated_at", "2017-07-31 15:12:36.891438"]]
2086
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2087
+  (0.1ms) SAVEPOINT active_record_1
2088
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 15:12:36.893608"], ["updated_at", "2017-07-31 15:12:36.893608"]]
2089
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2090
+  (0.1ms) SAVEPOINT active_record_1
2091
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.897988"], ["created_at", "2017-07-31 15:12:36.897932"], ["updated_at", "2017-07-31 15:12:36.897932"]]
2092
+ SQL (0.1ms) 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-07-31 15:12:36.899208"], ["updated_at", "2017-07-31 15:12:36.899208"]]
2093
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.900356"], ["updated_at", "2017-07-31 15:12:36.900356"]]
2094
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2095
+  (0.4ms) rollback transaction
2096
+  (0.0ms) begin transaction
2097
+  (0.1ms) SAVEPOINT active_record_1
2098
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 15:12:36.903716"], ["updated_at", "2017-07-31 15:12:36.903716"]]
2099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2100
+  (0.0ms) SAVEPOINT active_record_1
2101
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 15:12:36.907463"], ["updated_at", "2017-07-31 15:12:36.907463"]]
2102
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2103
+  (0.1ms) SAVEPOINT active_record_1
2104
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.911317"], ["created_at", "2017-07-31 15:12:36.911258"], ["updated_at", "2017-07-31 15:12:36.911258"]]
2105
+ SQL (0.1ms) 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-07-31 15:12:36.912248"], ["updated_at", "2017-07-31 15:12:36.912248"]]
2106
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.913140"], ["updated_at", "2017-07-31 15:12:36.913140"]]
2107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2108
+  (0.4ms) rollback transaction
2109
+  (0.0ms) begin transaction
2110
+  (0.1ms) SAVEPOINT active_record_1
2111
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 15:12:36.916930"], ["updated_at", "2017-07-31 15:12:36.916930"]]
2112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2113
+  (0.1ms) SAVEPOINT active_record_1
2114
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 15:12:36.920271"], ["updated_at", "2017-07-31 15:12:36.920271"]]
2115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2116
+  (0.1ms) SAVEPOINT active_record_1
2117
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.926983"], ["created_at", "2017-07-31 15:12:36.926870"], ["updated_at", "2017-07-31 15:12:36.926870"]]
2118
+ 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-07-31 15:12:36.928374"], ["updated_at", "2017-07-31 15:12:36.928374"]]
2119
+ 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-07-31 15:12:36.929653"], ["updated_at", "2017-07-31 15:12:36.929653"]]
2120
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2121
+  (0.6ms) rollback transaction
2122
+  (0.1ms) begin transaction
2123
+  (0.1ms) SAVEPOINT active_record_1
2124
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 15:12:36.933347"], ["updated_at", "2017-07-31 15:12:36.933347"]]
2125
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2126
+  (0.0ms) SAVEPOINT active_record_1
2127
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 15:12:36.935225"], ["updated_at", "2017-07-31 15:12:36.935225"]]
2128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2129
+  (0.1ms) SAVEPOINT active_record_1
2130
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:36.939487"], ["created_at", "2017-07-31 15:12:36.939432"], ["updated_at", "2017-07-31 15:12:36.939432"]]
2131
+ SQL (0.1ms) 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-07-31 15:12:36.940521"], ["updated_at", "2017-07-31 15:12:36.940521"]]
2132
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.941569"], ["updated_at", "2017-07-31 15:12:36.941569"]]
2133
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2134
+  (0.4ms) rollback transaction
2135
+  (0.0ms) begin transaction
2136
+  (0.1ms) SAVEPOINT active_record_1
2137
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 15:12:36.946095"], ["updated_at", "2017-07-31 15:12:36.946095"]]
2138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2139
+  (0.0ms) SAVEPOINT active_record_1
2140
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 15:12:36.949117"], ["updated_at", "2017-07-31 15:12:36.949117"]]
2141
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2142
+  (0.1ms) SAVEPOINT active_record_1
2143
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.951469"], ["created_at", "2017-07-31 15:12:36.951420"], ["updated_at", "2017-07-31 15:12:36.951420"]]
2144
+ SQL (0.1ms) 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-07-31 15:12:36.952455"], ["updated_at", "2017-07-31 15:12:36.952455"]]
2145
+ 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-07-31 15:12:36.953415"], ["updated_at", "2017-07-31 15:12:36.953415"]]
2146
+  (0.2ms) RELEASE SAVEPOINT active_record_1
2147
+  (0.1ms) SELECT COUNT(*) FROM "books"
2148
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2149
+  (0.0ms) SAVEPOINT active_record_1
2150
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
2151
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2152
+  (0.1ms) SELECT COUNT(*) FROM "books"
2153
+  (0.4ms) rollback transaction
2154
+  (0.0ms) begin transaction
2155
+  (0.0ms) SAVEPOINT active_record_1
2156
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 15:12:36.962953"], ["updated_at", "2017-07-31 15:12:36.962953"]]
2157
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2158
+  (0.0ms) SAVEPOINT active_record_1
2159
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 15:12:36.965548"], ["updated_at", "2017-07-31 15:12:36.965548"]]
2160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2161
+  (0.0ms) SAVEPOINT active_record_1
2162
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.968285"], ["created_at", "2017-07-31 15:12:36.968164"], ["updated_at", "2017-07-31 15:12:36.968164"]]
2163
+ SQL (0.2ms) 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-07-31 15:12:36.970247"], ["updated_at", "2017-07-31 15:12:36.970247"]]
2164
+ 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-07-31 15:12:36.972043"], ["updated_at", "2017-07-31 15:12:36.972043"]]
2165
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2166
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
2167
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2168
+  (0.1ms) SAVEPOINT active_record_1
2169
+ SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 15:12:36.978415"], ["id", 1]]
2170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2171
+ Book Load (0.0ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
2172
+  (0.6ms) rollback transaction
2173
+  (0.1ms) begin transaction
2174
+  (0.1ms) SAVEPOINT active_record_1
2175
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 15:12:36.984878"], ["updated_at", "2017-07-31 15:12:36.984878"]]
2176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2177
+  (0.1ms) SAVEPOINT active_record_1
2178
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:36.990158"], ["created_at", "2017-07-31 15:12:36.990101"], ["updated_at", "2017-07-31 15:12:36.990101"]]
2179
+ SQL (0.1ms) 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-07-31 15:12:36.991204"], ["updated_at", "2017-07-31 15:12:36.991204"]]
2180
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:36.992335"], ["updated_at", "2017-07-31 15:12:36.992335"]]
2181
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2182
+  (0.1ms) SELECT COUNT(*) FROM "books"
2183
+  (0.0ms) SAVEPOINT active_record_1
2184
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 15:12:36.994724"], ["updated_at", "2017-07-31 15:12:36.994724"]]
2185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2186
+  (0.0ms) SAVEPOINT active_record_1
2187
+ SQL (0.1ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 15:12:36.996078"], ["id", 1]]
2188
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2189
+  (0.1ms) SELECT COUNT(*) FROM "books"
2190
+  (0.9ms) rollback transaction
2191
+  (0.0ms) begin transaction
2192
+  (0.0ms) rollback transaction
2193
+  (0.0ms) begin transaction
2194
+  (0.1ms) rollback transaction
2195
+  (0.0ms) begin transaction
2196
+  (0.0ms) rollback transaction
2197
+  (0.0ms) begin transaction
2198
+  (0.1ms) SAVEPOINT active_record_1
2199
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 15:12:37.003901"], ["updated_at", "2017-07-31 15:12:37.003901"]]
2200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2201
+  (0.9ms) rollback transaction
2202
+  (0.1ms) begin transaction
2203
+  (0.0ms) SAVEPOINT active_record_1
2204
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 15:12:37.010059"], ["updated_at", "2017-07-31 15:12:37.010059"]]
2205
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2206
+  (0.5ms) rollback transaction
2207
+  (0.0ms) begin transaction
2208
+  (0.0ms) rollback transaction
2209
+  (0.0ms) begin transaction
2210
+  (0.0ms) SAVEPOINT active_record_1
2211
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 15:12:37.014396"], ["updated_at", "2017-07-31 15:12:37.014396"]]
2212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2213
+  (0.9ms) rollback transaction
2214
+  (0.0ms) begin transaction
2215
+  (0.1ms) SAVEPOINT active_record_1
2216
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 15:12:37.018345"], ["updated_at", "2017-07-31 15:12:37.018345"]]
2217
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2218
+  (0.6ms) rollback transaction
2219
+  (0.1ms) begin transaction
2220
+  (0.0ms) rollback transaction
2221
+  (0.0ms) begin transaction
2222
+  (0.1ms) rollback transaction
2223
+  (0.1ms) begin transaction
2224
+  (0.0ms) rollback transaction
2225
+  (0.0ms) begin transaction
2226
+  (0.1ms) SAVEPOINT active_record_1
2227
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 15:12:37.040784"], ["updated_at", "2017-07-31 15:12:37.040784"]]
2228
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2229
+ Approval::Request Load (0.1ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2230
+  (0.3ms) rollback transaction
2231
+  (0.0ms) begin transaction
2232
+  (0.0ms) SAVEPOINT active_record_1
2233
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 15:12:37.048720"], ["updated_at", "2017-07-31 15:12:37.048720"]]
2234
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2235
+  (0.3ms) rollback transaction
2236
+  (0.0ms) begin transaction
2237
+  (0.0ms) rollback transaction
2238
+  (0.0ms) begin transaction
2239
+  (0.1ms) SAVEPOINT active_record_1
2240
+ SQL (2.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 15:12:37.053076"], ["updated_at", "2017-07-31 15:12:37.053076"]]
2241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2242
+  (1.0ms) rollback transaction
2243
+  (0.0ms) begin transaction
2244
+  (0.0ms) rollback transaction
2245
+  (0.0ms) begin transaction
2246
+  (0.0ms) rollback transaction
2247
+  (0.0ms) begin transaction
2248
+  (0.1ms) rollback transaction
2249
+  (0.0ms) begin transaction
2250
+  (0.0ms) rollback transaction
2251
+  (0.1ms) begin transaction
2252
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2253
+  (0.0ms) SAVEPOINT active_record_1
2254
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 15:12:37.063564"], ["updated_at", "2017-07-31 15:12:37.063564"]]
2255
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2256
+  (0.1ms) SAVEPOINT active_record_1
2257
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 15:12:37.064911"], ["updated_at", "2017-07-31 15:12:37.064911"]]
2258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2259
+  (0.0ms) SAVEPOINT active_record_1
2260
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 15:12:37.066042"], ["updated_at", "2017-07-31 15:12:37.066042"]]
2261
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2262
+  (0.0ms) SAVEPOINT active_record_1
2263
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 15:12:37.067036"], ["updated_at", "2017-07-31 15:12:37.067036"]]
2264
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2265
+  (0.1ms) SAVEPOINT active_record_1
2266
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2267
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.081209"], ["created_at", "2017-07-31 15:12:37.081117"], ["updated_at", "2017-07-31 15:12:37.081117"]]
2268
+ 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-07-31 15:12:37.082517"], ["updated_at", "2017-07-31 15:12:37.082517"]]
2269
+ 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: name25\n"], ["created_at", "2017-07-31 15:12:37.084173"], ["updated_at", "2017-07-31 15:12:37.084173"]]
2270
+ 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: name26\n"], ["created_at", "2017-07-31 15:12:37.086079"], ["updated_at", "2017-07-31 15:12:37.086079"]]
2271
+ 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: name27\n"], ["created_at", "2017-07-31 15:12:37.088522"], ["updated_at", "2017-07-31 15:12:37.088522"]]
2272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2273
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2274
+  (0.4ms) rollback transaction
2275
+  (0.1ms) begin transaction
2276
+  (0.1ms) SAVEPOINT active_record_1
2277
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 15:12:37.096871"], ["updated_at", "2017-07-31 15:12:37.096871"]]
2278
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2279
+  (0.0ms) SAVEPOINT active_record_1
2280
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 15:12:37.098497"], ["updated_at", "2017-07-31 15:12:37.098497"]]
2281
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2282
+  (0.0ms) SAVEPOINT active_record_1
2283
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 15:12:37.099626"], ["updated_at", "2017-07-31 15:12:37.099626"]]
2284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2285
+  (0.1ms) SAVEPOINT active_record_1
2286
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 15:12:37.100601"], ["updated_at", "2017-07-31 15:12:37.100601"]]
2287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2288
+  (0.1ms) SAVEPOINT active_record_1
2289
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2290
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.110813"], ["created_at", "2017-07-31 15:12:37.110753"], ["updated_at", "2017-07-31 15:12:37.110753"]]
2291
+ 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-07-31 15:12:37.111818"], ["updated_at", "2017-07-31 15:12:37.111818"]]
2292
+ 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: name28\n"], ["created_at", "2017-07-31 15:12:37.112799"], ["updated_at", "2017-07-31 15:12:37.112799"]]
2293
+ 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: name29\n"], ["created_at", "2017-07-31 15:12:37.114048"], ["updated_at", "2017-07-31 15:12:37.114048"]]
2294
+ 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: name30\n"], ["created_at", "2017-07-31 15:12:37.122808"], ["updated_at", "2017-07-31 15:12:37.122808"]]
2295
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2296
+  (0.7ms) rollback transaction
2297
+  (0.1ms) begin transaction
2298
+  (0.1ms) SAVEPOINT active_record_1
2299
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 15:12:37.128881"], ["updated_at", "2017-07-31 15:12:37.128881"]]
2300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2301
+  (0.1ms) SAVEPOINT active_record_1
2302
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 15:12:37.132162"], ["updated_at", "2017-07-31 15:12:37.132162"]]
2303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2304
+  (0.1ms) SAVEPOINT active_record_1
2305
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2306
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.141443"], ["created_at", "2017-07-31 15:12:37.141380"], ["updated_at", "2017-07-31 15:12:37.141380"]]
2307
+ 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-07-31 15:12:37.142704"], ["updated_at", "2017-07-31 15:12:37.142704"]]
2308
+ 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: name31\n"], ["created_at", "2017-07-31 15:12:37.144017"], ["updated_at", "2017-07-31 15:12:37.144017"]]
2309
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2310
+  (0.4ms) rollback transaction
2311
+  (0.0ms) begin transaction
2312
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2313
+  (0.0ms) SAVEPOINT active_record_1
2314
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 15:12:37.147817"], ["updated_at", "2017-07-31 15:12:37.147817"]]
2315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2316
+  (0.0ms) SAVEPOINT active_record_1
2317
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 15:12:37.149259"], ["updated_at", "2017-07-31 15:12:37.149259"]]
2318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2319
+  (0.0ms) SAVEPOINT active_record_1
2320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2321
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.154947"], ["created_at", "2017-07-31 15:12:37.154892"], ["updated_at", "2017-07-31 15:12:37.154892"]]
2322
+ 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-07-31 15:12:37.158198"], ["updated_at", "2017-07-31 15:12:37.158198"]]
2323
+ 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: name32\n"], ["created_at", "2017-07-31 15:12:37.159212"], ["updated_at", "2017-07-31 15:12:37.159212"]]
2324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2325
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2326
+  (0.4ms) rollback transaction
2327
+  (0.0ms) begin transaction
2328
+  (0.0ms) rollback transaction
2329
+  (0.0ms) begin transaction
2330
+  (0.0ms) rollback transaction
2331
+  (0.0ms) begin transaction
2332
+  (0.0ms) rollback transaction
2333
+  (0.0ms) begin transaction
2334
+  (0.0ms) rollback transaction
2335
+  (0.0ms) begin transaction
2336
+  (0.2ms) rollback transaction
2337
+  (0.1ms) begin transaction
2338
+  (0.1ms) rollback transaction
2339
+  (0.1ms) begin transaction
2340
+  (0.1ms) SAVEPOINT active_record_1
2341
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 15:12:37.175161"], ["updated_at", "2017-07-31 15:12:37.175161"]]
2342
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2343
+  (0.5ms) rollback transaction
2344
+  (0.0ms) begin transaction
2345
+  (0.1ms) SAVEPOINT active_record_1
2346
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 15:12:37.180327"], ["updated_at", "2017-07-31 15:12:37.180327"]]
2347
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2348
+  (0.8ms) rollback transaction
2349
+  (0.1ms) begin transaction
2350
+  (0.1ms) SAVEPOINT active_record_1
2351
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 15:12:37.185393"], ["updated_at", "2017-07-31 15:12:37.185393"]]
2352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2353
+  (0.3ms) rollback transaction
2354
+  (0.1ms) begin transaction
2355
+  (0.1ms) SAVEPOINT active_record_1
2356
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 15:12:37.189206"], ["updated_at", "2017-07-31 15:12:37.189206"]]
2357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2358
+  (0.0ms) SAVEPOINT active_record_1
2359
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 15:12:37.190738"], ["updated_at", "2017-07-31 15:12:37.190738"]]
2360
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2361
+  (0.0ms) SAVEPOINT active_record_1
2362
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2363
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.196387"], ["created_at", "2017-07-31 15:12:37.196332"], ["updated_at", "2017-07-31 15:12:37.196332"]]
2364
+ 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-07-31 15:12:37.197535"], ["updated_at", "2017-07-31 15:12:37.197535"]]
2365
+ 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-07-31 15:12:37.198479"], ["updated_at", "2017-07-31 15:12:37.198479"]]
2366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2367
+  (0.6ms) rollback transaction
2368
+  (0.0ms) begin transaction
2369
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2370
+  (0.0ms) SAVEPOINT active_record_1
2371
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 15:12:37.201501"], ["updated_at", "2017-07-31 15:12:37.201501"]]
2372
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2373
+  (0.0ms) SAVEPOINT active_record_1
2374
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 15:12:37.202809"], ["updated_at", "2017-07-31 15:12:37.202809"]]
2375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2376
+  (2.1ms) SAVEPOINT active_record_1
2377
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2378
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.209969"], ["created_at", "2017-07-31 15:12:37.209914"], ["updated_at", "2017-07-31 15:12:37.209914"]]
2379
+ 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-07-31 15:12:37.211025"], ["updated_at", "2017-07-31 15:12:37.211025"]]
2380
+ 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-07-31 15:12:37.211880"], ["updated_at", "2017-07-31 15:12:37.211880"]]
2381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2382
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2383
+  (1.4ms) rollback transaction
2384
+  (0.1ms) begin transaction
2385
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
2386
+  (0.1ms) SAVEPOINT active_record_1
2387
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 15:12:37.223146"], ["updated_at", "2017-07-31 15:12:37.223146"]]
2388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2389
+  (0.1ms) SAVEPOINT active_record_1
2390
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 15:12:37.225280"], ["updated_at", "2017-07-31 15:12:37.225280"]]
2391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2392
+  (0.1ms) SAVEPOINT active_record_1
2393
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 15:12:37.227113"], ["updated_at", "2017-07-31 15:12:37.227113"]]
2394
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2395
+  (0.1ms) SAVEPOINT active_record_1
2396
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 15:12:37.228625"], ["updated_at", "2017-07-31 15:12:37.228625"]]
2397
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2398
+  (0.0ms) SAVEPOINT active_record_1
2399
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2400
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.236106"], ["created_at", "2017-07-31 15:12:37.235945"], ["updated_at", "2017-07-31 15:12:37.235945"]]
2401
+ 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-07-31 15:12:37.237432"], ["updated_at", "2017-07-31 15:12:37.237432"]]
2402
+ 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-07-31 15:12:37.238504"], ["updated_at", "2017-07-31 15:12:37.238504"]]
2403
+ 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-07-31 15:12:37.239488"], ["updated_at", "2017-07-31 15:12:37.239488"]]
2404
+ 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-07-31 15:12:37.240395"], ["updated_at", "2017-07-31 15:12:37.240395"]]
2405
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2406
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2407
+  (0.8ms) rollback transaction
2408
+  (0.0ms) begin transaction
2409
+  (0.1ms) SAVEPOINT active_record_1
2410
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 15:12:37.244632"], ["updated_at", "2017-07-31 15:12:37.244632"]]
2411
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2412
+  (0.0ms) SAVEPOINT active_record_1
2413
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 15:12:37.246171"], ["updated_at", "2017-07-31 15:12:37.246171"]]
2414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2415
+  (0.0ms) SAVEPOINT active_record_1
2416
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 15:12:37.247259"], ["updated_at", "2017-07-31 15:12:37.247259"]]
2417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2418
+  (0.0ms) SAVEPOINT active_record_1
2419
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-07-31 15:12:37.248292"], ["updated_at", "2017-07-31 15:12:37.248292"]]
2420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2421
+  (0.0ms) SAVEPOINT active_record_1
2422
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2423
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:37.256714"], ["created_at", "2017-07-31 15:12:37.256621"], ["updated_at", "2017-07-31 15:12:37.256621"]]
2424
+ 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-07-31 15:12:37.257785"], ["updated_at", "2017-07-31 15:12:37.257785"]]
2425
+ 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-07-31 15:12:37.258581"], ["updated_at", "2017-07-31 15:12:37.258581"]]
2426
+ 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-07-31 15:12:37.259383"], ["updated_at", "2017-07-31 15:12:37.259383"]]
2427
+ 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-07-31 15:12:37.260281"], ["updated_at", "2017-07-31 15:12:37.260281"]]
2428
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2429
+  (0.4ms) rollback transaction
2430
+  (0.0ms) begin transaction
2431
+  (0.1ms) rollback transaction
2432
+  (0.0ms) begin transaction
2433
+  (0.0ms) rollback transaction
2434
+  (0.1ms) begin transaction
2435
+  (0.0ms) rollback transaction
2436
+  (0.0ms) begin transaction
2437
+  (0.0ms) rollback transaction
2438
+  (0.0ms) begin transaction
2439
+  (0.0ms) rollback transaction
2440
+  (0.0ms) begin transaction
2441
+  (0.1ms) SAVEPOINT active_record_1
2442
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 15:12:59.029145"], ["updated_at", "2017-07-31 15:12:59.029145"]]
2443
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2444
+  (0.1ms) SAVEPOINT active_record_1
2445
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.068508"], ["created_at", "2017-07-31 15:12:59.068417"], ["updated_at", "2017-07-31 15:12:59.068417"]]
2446
+ SQL (0.1ms) 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-07-31 15:12:59.069686"], ["updated_at", "2017-07-31 15:12:59.069686"]]
2447
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:59.070596"], ["updated_at", "2017-07-31 15:12:59.070596"]]
2448
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2449
+  (0.4ms) rollback transaction
2450
+  (0.0ms) begin transaction
2451
+  (0.0ms) rollback transaction
2452
+  (0.0ms) begin transaction
2453
+  (0.0ms) rollback transaction
2454
+  (0.1ms) begin transaction
2455
+  (0.0ms) rollback transaction
2456
+  (0.0ms) begin transaction
2457
+  (0.0ms) rollback transaction
2458
+  (0.0ms) begin transaction
2459
+  (0.1ms) SAVEPOINT active_record_1
2460
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 15:12:59.097094"], ["updated_at", "2017-07-31 15:12:59.097094"]]
2461
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2462
+  (0.3ms) rollback transaction
2463
+  (0.0ms) begin transaction
2464
+  (0.0ms) rollback transaction
2465
+  (0.0ms) begin transaction
2466
+  (0.1ms) rollback transaction
2467
+  (0.0ms) begin transaction
2468
+  (0.0ms) rollback transaction
2469
+  (0.1ms) begin transaction
2470
+  (0.0ms) rollback transaction
2471
+  (0.0ms) begin transaction
2472
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2473
+  (0.0ms) SAVEPOINT active_record_1
2474
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 15:12:59.111327"], ["updated_at", "2017-07-31 15:12:59.111327"]]
2475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2476
+  (0.0ms) SAVEPOINT active_record_1
2477
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 15:12:59.112922"], ["updated_at", "2017-07-31 15:12:59.112922"]]
2478
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2479
+  (0.0ms) SAVEPOINT active_record_1
2480
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 15:12:59.114004"], ["updated_at", "2017-07-31 15:12:59.114004"]]
2481
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2482
+  (0.0ms) SAVEPOINT active_record_1
2483
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 15:12:59.114977"], ["updated_at", "2017-07-31 15:12:59.114977"]]
2484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2485
+  (0.0ms) SAVEPOINT active_record_1
2486
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2487
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.128376"], ["created_at", "2017-07-31 15:12:59.128298"], ["updated_at", "2017-07-31 15:12:59.128298"]]
2488
+ 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-07-31 15:12:59.129784"], ["updated_at", "2017-07-31 15:12:59.129784"]]
2489
+ 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-07-31 15:12:59.130957"], ["updated_at", "2017-07-31 15:12:59.130957"]]
2490
+ 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-07-31 15:12:59.131974"], ["updated_at", "2017-07-31 15:12:59.131974"]]
2491
+ 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-07-31 15:12:59.132901"], ["updated_at", "2017-07-31 15:12:59.132901"]]
2492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2493
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2494
+  (0.4ms) rollback transaction
2495
+  (0.1ms) begin transaction
2496
+  (0.1ms) SAVEPOINT active_record_1
2497
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 15:12:59.160386"], ["updated_at", "2017-07-31 15:12:59.160386"]]
2498
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2499
+  (0.0ms) SAVEPOINT active_record_1
2500
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 15:12:59.162068"], ["updated_at", "2017-07-31 15:12:59.162068"]]
2501
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2502
+  (0.0ms) SAVEPOINT active_record_1
2503
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 15:12:59.163256"], ["updated_at", "2017-07-31 15:12:59.163256"]]
2504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2505
+  (0.1ms) SAVEPOINT active_record_1
2506
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 15:12:59.164341"], ["updated_at", "2017-07-31 15:12:59.164341"]]
2507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2508
+  (0.0ms) SAVEPOINT active_record_1
2509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2510
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.170749"], ["created_at", "2017-07-31 15:12:59.170696"], ["updated_at", "2017-07-31 15:12:59.170696"]]
2511
+ 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-07-31 15:12:59.171727"], ["updated_at", "2017-07-31 15:12:59.171727"]]
2512
+ 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-07-31 15:12:59.172729"], ["updated_at", "2017-07-31 15:12:59.172729"]]
2513
+ 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-07-31 15:12:59.173703"], ["updated_at", "2017-07-31 15:12:59.173703"]]
2514
+ 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-07-31 15:12:59.174546"], ["updated_at", "2017-07-31 15:12:59.174546"]]
2515
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2516
+  (0.5ms) rollback transaction
2517
+  (0.0ms) begin transaction
2518
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2519
+  (0.0ms) SAVEPOINT active_record_1
2520
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 15:12:59.178092"], ["updated_at", "2017-07-31 15:12:59.178092"]]
2521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2522
+  (0.0ms) SAVEPOINT active_record_1
2523
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 15:12:59.179916"], ["updated_at", "2017-07-31 15:12:59.179916"]]
2524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2525
+  (0.0ms) SAVEPOINT active_record_1
2526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2527
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.185461"], ["created_at", "2017-07-31 15:12:59.185404"], ["updated_at", "2017-07-31 15:12:59.185404"]]
2528
+ 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-07-31 15:12:59.186935"], ["updated_at", "2017-07-31 15:12:59.186935"]]
2529
+ 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-07-31 15:12:59.188323"], ["updated_at", "2017-07-31 15:12:59.188323"]]
2530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2531
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2532
+  (0.5ms) rollback transaction
2533
+  (0.0ms) begin transaction
2534
+  (0.1ms) SAVEPOINT active_record_1
2535
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 15:12:59.194018"], ["updated_at", "2017-07-31 15:12:59.194018"]]
2536
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2537
+  (0.0ms) SAVEPOINT active_record_1
2538
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 15:12:59.195908"], ["updated_at", "2017-07-31 15:12:59.195908"]]
2539
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2540
+  (0.0ms) SAVEPOINT active_record_1
2541
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2542
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.202743"], ["created_at", "2017-07-31 15:12:59.202653"], ["updated_at", "2017-07-31 15:12:59.202653"]]
2543
+ 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-07-31 15:12:59.204621"], ["updated_at", "2017-07-31 15:12:59.204621"]]
2544
+ 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-07-31 15:12:59.206052"], ["updated_at", "2017-07-31 15:12:59.206052"]]
2545
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2546
+  (0.5ms) rollback transaction
2547
+  (0.1ms) begin transaction
2548
+  (0.1ms) SAVEPOINT active_record_1
2549
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 15:12:59.210675"], ["updated_at", "2017-07-31 15:12:59.210675"]]
2550
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2551
+  (0.0ms) SAVEPOINT active_record_1
2552
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2553
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.223885"], ["created_at", "2017-07-31 15:12:59.223809"], ["updated_at", "2017-07-31 15:12:59.223809"]]
2554
+ 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-07-31 15:12:59.225876"], ["updated_at", "2017-07-31 15:12:59.225876"]]
2555
+ 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: name10\n"], ["created_at", "2017-07-31 15:12:59.227310"], ["updated_at", "2017-07-31 15:12:59.227310"]]
2556
+ 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: name11\n"], ["created_at", "2017-07-31 15:12:59.228963"], ["updated_at", "2017-07-31 15:12:59.228963"]]
2557
+ 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-07-31 15:12:59.230630"], ["updated_at", "2017-07-31 15:12:59.230630"]]
2558
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2559
+  (0.5ms) rollback transaction
2560
+  (0.0ms) begin transaction
2561
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2562
+  (0.0ms) SAVEPOINT active_record_1
2563
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 15:12:59.234403"], ["updated_at", "2017-07-31 15:12:59.234403"]]
2564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2565
+  (0.0ms) SAVEPOINT active_record_1
2566
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2567
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.246633"], ["created_at", "2017-07-31 15:12:59.246574"], ["updated_at", "2017-07-31 15:12:59.246574"]]
2568
+ 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-07-31 15:12:59.247591"], ["updated_at", "2017-07-31 15:12:59.247591"]]
2569
+ 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: name13\n"], ["created_at", "2017-07-31 15:12:59.248773"], ["updated_at", "2017-07-31 15:12:59.248773"]]
2570
+ 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: name14\n"], ["created_at", "2017-07-31 15:12:59.250368"], ["updated_at", "2017-07-31 15:12:59.250368"]]
2571
+ 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-07-31 15:12:59.251575"], ["updated_at", "2017-07-31 15:12:59.251575"]]
2572
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2573
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2574
+  (0.5ms) rollback transaction
2575
+  (0.1ms) begin transaction
2576
+  (0.1ms) SAVEPOINT active_record_1
2577
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 15:12:59.261944"], ["updated_at", "2017-07-31 15:12:59.261944"]]
2578
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2579
+  (0.0ms) SAVEPOINT active_record_1
2580
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2581
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.269526"], ["created_at", "2017-07-31 15:12:59.269475"], ["updated_at", "2017-07-31 15:12:59.269475"]]
2582
+ SQL (0.4ms) 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-07-31 15:12:59.270793"], ["updated_at", "2017-07-31 15:12:59.270793"]]
2583
+ 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-07-31 15:12:59.272119"], ["updated_at", "2017-07-31 15:12:59.272119"]]
2584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2585
+  (0.4ms) rollback transaction
2586
+  (0.0ms) begin transaction
2587
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2588
+  (0.1ms) SAVEPOINT active_record_1
2589
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 15:12:59.276634"], ["updated_at", "2017-07-31 15:12:59.276634"]]
2590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2591
+  (0.1ms) SAVEPOINT active_record_1
2592
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2593
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.284866"], ["created_at", "2017-07-31 15:12:59.284775"], ["updated_at", "2017-07-31 15:12:59.284775"]]
2594
+ 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-07-31 15:12:59.286118"], ["updated_at", "2017-07-31 15:12:59.286118"]]
2595
+ 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: name17\n"], ["created_at", "2017-07-31 15:12:59.287483"], ["updated_at", "2017-07-31 15:12:59.287483"]]
2596
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2597
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2598
+  (0.5ms) rollback transaction
2599
+  (0.0ms) begin transaction
2600
+  (0.0ms) rollback transaction
2601
+  (0.0ms) begin transaction
2602
+  (0.0ms) rollback transaction
2603
+  (0.0ms) begin transaction
2604
+  (0.0ms) rollback transaction
2605
+  (0.0ms) begin transaction
2606
+  (0.1ms) rollback transaction
2607
+  (0.0ms) begin transaction
2608
+  (0.0ms) rollback transaction
2609
+  (0.0ms) begin transaction
2610
+  (0.0ms) SAVEPOINT active_record_1
2611
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 15:12:59.304366"], ["updated_at", "2017-07-31 15:12:59.304366"]]
2612
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2613
+  (0.0ms) SAVEPOINT active_record_1
2614
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 15:12:59.306470"], ["updated_at", "2017-07-31 15:12:59.306470"]]
2615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2616
+  (0.0ms) SAVEPOINT active_record_1
2617
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.321062"], ["created_at", "2017-07-31 15:12:59.321002"], ["updated_at", "2017-07-31 15:12:59.321002"]]
2618
+ SQL (0.1ms) 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-07-31 15:12:59.322283"], ["updated_at", "2017-07-31 15:12:59.322283"]]
2619
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:59.323183"], ["updated_at", "2017-07-31 15:12:59.323183"]]
2620
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2621
+  (0.5ms) rollback transaction
2622
+  (0.1ms) begin transaction
2623
+  (0.1ms) SAVEPOINT active_record_1
2624
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 15:12:59.327198"], ["updated_at", "2017-07-31 15:12:59.327198"]]
2625
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2626
+  (0.1ms) SAVEPOINT active_record_1
2627
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 15:12:59.329789"], ["updated_at", "2017-07-31 15:12:59.329789"]]
2628
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2629
+  (0.0ms) SAVEPOINT active_record_1
2630
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.334586"], ["created_at", "2017-07-31 15:12:59.334525"], ["updated_at", "2017-07-31 15:12:59.334525"]]
2631
+ 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-07-31 15:12:59.335835"], ["updated_at", "2017-07-31 15:12:59.335835"]]
2632
+ 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-07-31 15:12:59.337592"], ["updated_at", "2017-07-31 15:12:59.337592"]]
2633
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2634
+  (0.5ms) rollback transaction
2635
+  (0.1ms) begin transaction
2636
+  (0.1ms) SAVEPOINT active_record_1
2637
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 15:12:59.343014"], ["updated_at", "2017-07-31 15:12:59.343014"]]
2638
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2639
+  (0.0ms) SAVEPOINT active_record_1
2640
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 15:12:59.344907"], ["updated_at", "2017-07-31 15:12:59.344907"]]
2641
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2642
+  (0.1ms) SAVEPOINT active_record_1
2643
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.348897"], ["created_at", "2017-07-31 15:12:59.348841"], ["updated_at", "2017-07-31 15:12:59.348841"]]
2644
+ SQL (0.1ms) 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-07-31 15:12:59.349924"], ["updated_at", "2017-07-31 15:12:59.349924"]]
2645
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:59.350830"], ["updated_at", "2017-07-31 15:12:59.350830"]]
2646
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2647
+  (0.4ms) rollback transaction
2648
+  (0.1ms) begin transaction
2649
+  (0.0ms) SAVEPOINT active_record_1
2650
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 15:12:59.356790"], ["updated_at", "2017-07-31 15:12:59.356790"]]
2651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2652
+  (0.1ms) SAVEPOINT active_record_1
2653
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 15:12:59.359526"], ["updated_at", "2017-07-31 15:12:59.359526"]]
2654
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2655
+  (0.1ms) SAVEPOINT active_record_1
2656
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.366975"], ["created_at", "2017-07-31 15:12:59.366909"], ["updated_at", "2017-07-31 15:12:59.366909"]]
2657
+ SQL (0.1ms) 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-07-31 15:12:59.368228"], ["updated_at", "2017-07-31 15:12:59.368228"]]
2658
+ 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-07-31 15:12:59.369378"], ["updated_at", "2017-07-31 15:12:59.369378"]]
2659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2660
+  (0.4ms) rollback transaction
2661
+  (0.1ms) begin transaction
2662
+  (0.1ms) SAVEPOINT active_record_1
2663
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 15:12:59.374958"], ["updated_at", "2017-07-31 15:12:59.374958"]]
2664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2665
+  (0.0ms) SAVEPOINT active_record_1
2666
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 15:12:59.377150"], ["updated_at", "2017-07-31 15:12:59.377150"]]
2667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2668
+  (0.1ms) SAVEPOINT active_record_1
2669
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.380702"], ["created_at", "2017-07-31 15:12:59.380657"], ["updated_at", "2017-07-31 15:12:59.380657"]]
2670
+ SQL (0.1ms) 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-07-31 15:12:59.381582"], ["updated_at", "2017-07-31 15:12:59.381582"]]
2671
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:59.382406"], ["updated_at", "2017-07-31 15:12:59.382406"]]
2672
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2673
+  (0.4ms) rollback transaction
2674
+  (0.0ms) begin transaction
2675
+  (0.0ms) SAVEPOINT active_record_1
2676
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 15:12:59.386115"], ["updated_at", "2017-07-31 15:12:59.386115"]]
2677
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2678
+  (0.1ms) SAVEPOINT active_record_1
2679
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 15:12:59.388082"], ["updated_at", "2017-07-31 15:12:59.388082"]]
2680
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2681
+  (0.1ms) SAVEPOINT active_record_1
2682
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.392224"], ["created_at", "2017-07-31 15:12:59.392167"], ["updated_at", "2017-07-31 15:12:59.392167"]]
2683
+ SQL (0.1ms) 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-07-31 15:12:59.393254"], ["updated_at", "2017-07-31 15:12:59.393254"]]
2684
+ 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-07-31 15:12:59.394337"], ["updated_at", "2017-07-31 15:12:59.394337"]]
2685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2686
+  (0.3ms) rollback transaction
2687
+  (0.0ms) begin transaction
2688
+  (0.0ms) SAVEPOINT active_record_1
2689
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 15:12:59.398243"], ["updated_at", "2017-07-31 15:12:59.398243"]]
2690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2691
+  (0.0ms) SAVEPOINT active_record_1
2692
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 15:12:59.399893"], ["updated_at", "2017-07-31 15:12:59.399893"]]
2693
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2694
+  (0.0ms) SAVEPOINT active_record_1
2695
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.403402"], ["created_at", "2017-07-31 15:12:59.403331"], ["updated_at", "2017-07-31 15:12:59.403331"]]
2696
+ SQL (0.1ms) 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-07-31 15:12:59.406576"], ["updated_at", "2017-07-31 15:12:59.406576"]]
2697
+ 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-07-31 15:12:59.407774"], ["updated_at", "2017-07-31 15:12:59.407774"]]
2698
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2699
+  (0.4ms) rollback transaction
2700
+  (0.0ms) begin transaction
2701
+  (0.0ms) SAVEPOINT active_record_1
2702
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 15:12:59.411312"], ["updated_at", "2017-07-31 15:12:59.411312"]]
2703
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2704
+  (0.0ms) SAVEPOINT active_record_1
2705
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 15:12:59.412988"], ["updated_at", "2017-07-31 15:12:59.412988"]]
2706
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2707
+  (0.0ms) SAVEPOINT active_record_1
2708
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:12:59.416153"], ["created_at", "2017-07-31 15:12:59.416110"], ["updated_at", "2017-07-31 15:12:59.416110"]]
2709
+ SQL (0.1ms) 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-07-31 15:12:59.416951"], ["updated_at", "2017-07-31 15:12:59.416951"]]
2710
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:12:59.417781"], ["updated_at", "2017-07-31 15:12:59.417781"]]
2711
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2712
+  (0.3ms) rollback transaction
2713
+  (0.1ms) begin transaction
2714
+  (0.0ms) rollback transaction
2715
+  (0.0ms) begin transaction
2716
+  (0.0ms) rollback transaction
2717
+  (0.0ms) begin transaction
2718
+  (0.0ms) SAVEPOINT active_record_1
2719
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 15:12:59.422892"], ["updated_at", "2017-07-31 15:12:59.422892"]]
2720
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2721
+  (0.6ms) rollback transaction
2722
+  (0.1ms) begin transaction
2723
+  (0.1ms) SAVEPOINT active_record_1
2724
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 15:12:59.428712"], ["updated_at", "2017-07-31 15:12:59.428712"]]
2725
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2726
+  (0.4ms) rollback transaction
2727
+  (0.1ms) begin transaction
2728
+  (0.2ms) SAVEPOINT active_record_1
2729
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 15:12:59.434460"], ["updated_at", "2017-07-31 15:12:59.434460"]]
2730
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2731
+  (0.4ms) rollback transaction
2732
+  (0.1ms) begin transaction
2733
+  (0.0ms) rollback transaction
2734
+  (0.1ms) begin transaction
2735
+  (0.1ms) rollback transaction
2736
+  (0.1ms) begin transaction
2737
+  (0.0ms) rollback transaction
2738
+  (0.0ms) begin transaction
2739
+  (0.1ms) rollback transaction
2740
+  (0.0ms) begin transaction
2741
+  (0.0ms) SAVEPOINT active_record_1
2742
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 15:12:59.449329"], ["updated_at", "2017-07-31 15:12:59.449329"]]
2743
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2744
+  (0.3ms) rollback transaction
2745
+  (0.0ms) begin transaction
2746
+  (0.0ms) rollback transaction
2747
+  (0.0ms) begin transaction
2748
+  (0.0ms) SAVEPOINT active_record_1
2749
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 15:12:59.454029"], ["updated_at", "2017-07-31 15:12:59.454029"]]
2750
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2751
+  (0.2ms) rollback transaction
2752
+  (0.1ms) begin transaction
2753
+  (0.0ms) SAVEPOINT active_record_1
2754
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 15:12:59.456740"], ["updated_at", "2017-07-31 15:12:59.456740"]]
2755
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2756
+  (0.3ms) rollback transaction
2757
+  (0.0ms) begin transaction
2758
+  (0.1ms) SAVEPOINT active_record_1
2759
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 15:12:59.462838"], ["updated_at", "2017-07-31 15:12:59.462838"]]
2760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2761
+  (0.3ms) rollback transaction
2762
+  (0.1ms) begin transaction
2763
+  (0.1ms) SAVEPOINT active_record_1
2764
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 15:12:59.466158"], ["updated_at", "2017-07-31 15:12:59.466158"]]
2765
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2766
+  (0.3ms) rollback transaction
2767
+  (0.0ms) begin transaction
2768
+  (0.1ms) SAVEPOINT active_record_1
2769
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 15:12:59.470075"], ["updated_at", "2017-07-31 15:12:59.470075"]]
2770
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2771
+  (0.3ms) rollback transaction
2772
+  (0.1ms) begin transaction
2773
+  (0.1ms) SAVEPOINT active_record_1
2774
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 15:12:59.476042"], ["updated_at", "2017-07-31 15:12:59.476042"]]
2775
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2776
+  (0.1ms) SAVEPOINT active_record_1
2777
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 15:12:59.479685"], ["updated_at", "2017-07-31 15:12:59.479685"]]
2778
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2779
+  (0.0ms) SAVEPOINT active_record_1
2780
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 15:12:59.481943"], ["updated_at", "2017-07-31 15:12:59.481943"]]
2781
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2782
+  (0.1ms) SAVEPOINT active_record_1
2783
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 15:12:59.483753"], ["updated_at", "2017-07-31 15:12:59.483753"]]
2784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2785
+  (0.1ms) SAVEPOINT active_record_1
2786
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2787
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.498763"], ["created_at", "2017-07-31 15:12:59.498702"], ["updated_at", "2017-07-31 15:12:59.498702"]]
2788
+ 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-07-31 15:12:59.499886"], ["updated_at", "2017-07-31 15:12:59.499886"]]
2789
+ 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: name33\n"], ["created_at", "2017-07-31 15:12:59.500853"], ["updated_at", "2017-07-31 15:12:59.500853"]]
2790
+ 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: name34\n"], ["created_at", "2017-07-31 15:12:59.502110"], ["updated_at", "2017-07-31 15:12:59.502110"]]
2791
+ 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: name35\n"], ["created_at", "2017-07-31 15:12:59.503198"], ["updated_at", "2017-07-31 15:12:59.503198"]]
2792
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2793
+  (0.4ms) rollback transaction
2794
+  (0.0ms) begin transaction
2795
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2796
+  (0.0ms) SAVEPOINT active_record_1
2797
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 15:12:59.506488"], ["updated_at", "2017-07-31 15:12:59.506488"]]
2798
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2799
+  (0.0ms) SAVEPOINT active_record_1
2800
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 15:12:59.509996"], ["updated_at", "2017-07-31 15:12:59.509996"]]
2801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2802
+  (0.0ms) SAVEPOINT active_record_1
2803
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 15:12:59.511288"], ["updated_at", "2017-07-31 15:12:59.511288"]]
2804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2805
+  (0.1ms) SAVEPOINT active_record_1
2806
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 15:12:59.512200"], ["updated_at", "2017-07-31 15:12:59.512200"]]
2807
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2808
+  (0.0ms) SAVEPOINT active_record_1
2809
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2810
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.518925"], ["created_at", "2017-07-31 15:12:59.518881"], ["updated_at", "2017-07-31 15:12:59.518881"]]
2811
+ 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-07-31 15:12:59.519791"], ["updated_at", "2017-07-31 15:12:59.519791"]]
2812
+ 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: name36\n"], ["created_at", "2017-07-31 15:12:59.520642"], ["updated_at", "2017-07-31 15:12:59.520642"]]
2813
+ 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: name37\n"], ["created_at", "2017-07-31 15:12:59.521782"], ["updated_at", "2017-07-31 15:12:59.521782"]]
2814
+ 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: name38\n"], ["created_at", "2017-07-31 15:12:59.522868"], ["updated_at", "2017-07-31 15:12:59.522868"]]
2815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2816
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
2817
+  (0.5ms) rollback transaction
2818
+  (0.1ms) begin transaction
2819
+  (0.1ms) SAVEPOINT active_record_1
2820
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 15:12:59.543972"], ["updated_at", "2017-07-31 15:12:59.543972"]]
2821
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2822
+  (0.0ms) SAVEPOINT active_record_1
2823
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 15:12:59.546766"], ["updated_at", "2017-07-31 15:12:59.546766"]]
2824
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2825
+  (0.0ms) SAVEPOINT active_record_1
2826
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2827
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.552654"], ["created_at", "2017-07-31 15:12:59.552601"], ["updated_at", "2017-07-31 15:12:59.552601"]]
2828
+ 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-07-31 15:12:59.553646"], ["updated_at", "2017-07-31 15:12:59.553646"]]
2829
+ 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: name39\n"], ["created_at", "2017-07-31 15:12:59.554698"], ["updated_at", "2017-07-31 15:12:59.554698"]]
2830
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2831
+  (0.4ms) rollback transaction
2832
+  (0.0ms) begin transaction
2833
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2834
+  (0.0ms) SAVEPOINT active_record_1
2835
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 15:12:59.557973"], ["updated_at", "2017-07-31 15:12:59.557973"]]
2836
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2837
+  (0.0ms) SAVEPOINT active_record_1
2838
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 15:12:59.561686"], ["updated_at", "2017-07-31 15:12:59.561686"]]
2839
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2840
+  (0.0ms) SAVEPOINT active_record_1
2841
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2842
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.566911"], ["created_at", "2017-07-31 15:12:59.566867"], ["updated_at", "2017-07-31 15:12:59.566867"]]
2843
+ 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-07-31 15:12:59.568363"], ["updated_at", "2017-07-31 15:12:59.568363"]]
2844
+ 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: name40\n"], ["created_at", "2017-07-31 15:12:59.570028"], ["updated_at", "2017-07-31 15:12:59.570028"]]
2845
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2846
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
2847
+  (0.5ms) rollback transaction
2848
+  (0.1ms) begin transaction
2849
+  (0.1ms) SAVEPOINT active_record_1
2850
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 15:12:59.577030"], ["updated_at", "2017-07-31 15:12:59.577030"]]
2851
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2852
+  (0.5ms) rollback transaction
2853
+  (0.1ms) begin transaction
2854
+  (0.1ms) rollback transaction
2855
+  (0.1ms) begin transaction
2856
+  (0.2ms) SAVEPOINT active_record_1
2857
+ SQL (0.7ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 15:12:59.586161"], ["updated_at", "2017-07-31 15:12:59.586161"]]
2858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2859
+  (0.4ms) rollback transaction
2860
+  (0.2ms) begin transaction
2861
+  (0.2ms) SAVEPOINT active_record_1
2862
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 15:12:59.594199"], ["updated_at", "2017-07-31 15:12:59.594199"]]
2863
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2864
+  (0.3ms) rollback transaction
2865
+  (0.0ms) begin transaction
2866
+  (0.0ms) SAVEPOINT active_record_1
2867
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 15:12:59.598554"], ["updated_at", "2017-07-31 15:12:59.598554"]]
2868
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2869
+  (0.3ms) rollback transaction
2870
+  (0.1ms) begin transaction
2871
+  (0.0ms) rollback transaction
2872
+  (0.0ms) begin transaction
2873
+  (0.0ms) SAVEPOINT active_record_1
2874
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 15:12:59.602955"], ["updated_at", "2017-07-31 15:12:59.602955"]]
2875
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2876
+  (0.2ms) rollback transaction
2877
+  (0.0ms) begin transaction
2878
+  (0.0ms) rollback transaction
2879
+  (0.0ms) begin transaction
2880
+  (0.0ms) SAVEPOINT active_record_1
2881
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 15:12:59.606854"], ["updated_at", "2017-07-31 15:12:59.606854"]]
2882
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2883
+  (0.2ms) rollback transaction
2884
+  (0.0ms) begin transaction
2885
+  (0.0ms) rollback transaction
2886
+  (0.0ms) begin transaction
2887
+  (0.0ms) rollback transaction
2888
+  (0.0ms) begin transaction
2889
+  (0.0ms) rollback transaction
2890
+  (0.0ms) begin transaction
2891
+  (0.1ms) rollback transaction
2892
+  (0.0ms) begin transaction
2893
+  (0.0ms) rollback transaction
2894
+  (0.0ms) begin transaction
2895
+  (0.1ms) SAVEPOINT active_record_1
2896
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 15:12:59.624682"], ["updated_at", "2017-07-31 15:12:59.624682"]]
2897
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2898
+ Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2899
+  (0.7ms) rollback transaction
2900
+  (0.1ms) begin transaction
2901
+  (0.2ms) SAVEPOINT active_record_1
2902
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 15:12:59.636142"], ["updated_at", "2017-07-31 15:12:59.636142"]]
2903
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2904
+  (0.3ms) SAVEPOINT active_record_1
2905
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 15:12:59.641763"], ["updated_at", "2017-07-31 15:12:59.641763"]]
2906
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2907
+  (0.1ms) SAVEPOINT active_record_1
2908
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.646596"], ["created_at", "2017-07-31 15:12:59.646507"], ["updated_at", "2017-07-31 15:12:59.646507"]]
2909
+ SQL (0.1ms) 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-07-31 15:12:59.647803"], ["updated_at", "2017-07-31 15:12:59.647803"]]
2910
+ 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", "---\n:name: updated_name\n"], ["created_at", "2017-07-31 15:12:59.648844"], ["updated_at", "2017-07-31 15:12:59.648844"]]
2911
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2912
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
2913
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2914
+  (0.0ms) SAVEPOINT active_record_1
2915
+ SQL (0.1ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 15:12:59.653905"], ["id", 1]]
2916
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2917
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
2918
+  (0.3ms) rollback transaction
2919
+  (0.0ms) begin transaction
2920
+  (0.1ms) SAVEPOINT active_record_1
2921
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 15:12:59.660822"], ["updated_at", "2017-07-31 15:12:59.660822"]]
2922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2923
+  (0.0ms) SAVEPOINT active_record_1
2924
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-07-31 15:12:59.663631"], ["updated_at", "2017-07-31 15:12:59.663631"]]
2925
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2926
+  (0.0ms) SAVEPOINT active_record_1
2927
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.665475"], ["created_at", "2017-07-31 15:12:59.665431"], ["updated_at", "2017-07-31 15:12:59.665431"]]
2928
+ 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-07-31 15:12:59.666339"], ["updated_at", "2017-07-31 15:12:59.666339"]]
2929
+ 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-07-31 15:12:59.667103"], ["updated_at", "2017-07-31 15:12:59.667103"]]
2930
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2931
+  (0.1ms) SELECT COUNT(*) FROM "books"
2932
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
2933
+  (0.0ms) SAVEPOINT active_record_1
2934
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
2935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2936
+  (0.0ms) SELECT COUNT(*) FROM "books"
2937
+  (0.4ms) rollback transaction
2938
+  (0.0ms) begin transaction
2939
+  (0.0ms) SAVEPOINT active_record_1
2940
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 15:12:59.672488"], ["updated_at", "2017-07-31 15:12:59.672488"]]
2941
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2942
+  (0.1ms) SAVEPOINT active_record_1
2943
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:12:59.681293"], ["created_at", "2017-07-31 15:12:59.680936"], ["updated_at", "2017-07-31 15:12:59.680936"]]
2944
+ SQL (0.3ms) 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-07-31 15:12:59.683537"], ["updated_at", "2017-07-31 15:12:59.683537"]]
2945
+ 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-07-31 15:12:59.685387"], ["updated_at", "2017-07-31 15:12:59.685387"]]
2946
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2947
+  (0.1ms) SELECT COUNT(*) FROM "books"
2948
+  (0.2ms) SAVEPOINT active_record_1
2949
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 15:12:59.689999"], ["updated_at", "2017-07-31 15:12:59.689999"]]
2950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2951
+  (0.1ms) SAVEPOINT active_record_1
2952
+ SQL (0.3ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 15:12:59.694028"], ["id", 1]]
2953
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2954
+  (0.1ms) SELECT COUNT(*) FROM "books"
2955
+  (0.3ms) rollback transaction
2956
+  (0.0ms) begin transaction
2957
+  (0.1ms) rollback transaction
2958
+  (0.0ms) begin transaction
2959
+  (0.0ms) rollback transaction
2960
+  (0.0ms) begin transaction
2961
+  (0.0ms) rollback transaction
2962
+  (0.0ms) begin transaction
2963
+  (0.0ms) rollback transaction
2964
+  (0.0ms) begin transaction
2965
+  (0.0ms) rollback transaction
2966
+  (0.0ms) begin transaction
2967
+  (0.0ms) rollback transaction
2968
+  (0.0ms) begin transaction
2969
+  (0.0ms) rollback transaction
2970
+  (0.0ms) begin transaction
2971
+  (0.0ms) SAVEPOINT active_record_1
2972
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-07-31 15:18:55.144193"], ["updated_at", "2017-07-31 15:18:55.144193"]]
2973
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2974
+  (2.2ms) rollback transaction
2975
+  (0.1ms) begin transaction
2976
+  (0.1ms) SAVEPOINT active_record_1
2977
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-07-31 15:18:55.161948"], ["updated_at", "2017-07-31 15:18:55.161948"]]
2978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2979
+  (0.3ms) rollback transaction
2980
+  (0.0ms) begin transaction
2981
+  (0.1ms) SAVEPOINT active_record_1
2982
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-07-31 15:18:55.167207"], ["updated_at", "2017-07-31 15:18:55.167207"]]
2983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2984
+  (0.3ms) rollback transaction
2985
+  (0.0ms) begin transaction
2986
+  (0.0ms) SAVEPOINT active_record_1
2987
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-07-31 15:18:55.170681"], ["updated_at", "2017-07-31 15:18:55.170681"]]
2988
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2989
+  (0.3ms) rollback transaction
2990
+  (0.0ms) begin transaction
2991
+  (0.0ms) rollback transaction
2992
+  (0.0ms) begin transaction
2993
+  (0.0ms) SAVEPOINT active_record_1
2994
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-07-31 15:18:55.177480"], ["updated_at", "2017-07-31 15:18:55.177480"]]
2995
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2996
+  (0.3ms) rollback transaction
2997
+  (0.0ms) begin transaction
2998
+  (0.0ms) SAVEPOINT active_record_1
2999
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-07-31 15:18:55.180647"], ["updated_at", "2017-07-31 15:18:55.180647"]]
3000
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3001
+  (0.7ms) rollback transaction
3002
+  (0.1ms) begin transaction
3003
+  (0.1ms) rollback transaction
3004
+  (0.1ms) begin transaction
3005
+  (0.0ms) rollback transaction
3006
+  (0.0ms) begin transaction
3007
+  (0.0ms) rollback transaction
3008
+  (0.0ms) begin transaction
3009
+  (0.0ms) rollback transaction
3010
+  (0.0ms) begin transaction
3011
+  (0.1ms) rollback transaction
3012
+  (0.0ms) begin transaction
3013
+  (0.0ms) SAVEPOINT active_record_1
3014
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-07-31 15:18:55.208194"], ["updated_at", "2017-07-31 15:18:55.208194"]]
3015
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3016
+  (0.1ms) SAVEPOINT active_record_1
3017
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-07-31 15:18:55.219660"], ["updated_at", "2017-07-31 15:18:55.219660"]]
3018
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3019
+  (0.0ms) SAVEPOINT active_record_1
3020
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.248843"], ["created_at", "2017-07-31 15:18:55.248739"], ["updated_at", "2017-07-31 15:18:55.248739"]]
3021
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content1"], ["created_at", "2017-07-31 15:18:55.250095"], ["updated_at", "2017-07-31 15:18:55.250095"]]
3022
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.251093"], ["updated_at", "2017-07-31 15:18:55.251093"]]
3023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3024
+  (2.2ms) rollback transaction
3025
+  (0.1ms) begin transaction
3026
+  (0.1ms) SAVEPOINT active_record_1
3027
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-07-31 15:18:55.258070"], ["updated_at", "2017-07-31 15:18:55.258070"]]
3028
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3029
+  (0.1ms) SAVEPOINT active_record_1
3030
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-07-31 15:18:55.260665"], ["updated_at", "2017-07-31 15:18:55.260665"]]
3031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3032
+  (0.1ms) SAVEPOINT active_record_1
3033
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.266857"], ["created_at", "2017-07-31 15:18:55.266784"], ["updated_at", "2017-07-31 15:18:55.266784"]]
3034
+ SQL (0.1ms) 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-07-31 15:18:55.268123"], ["updated_at", "2017-07-31 15:18:55.268123"]]
3035
+ 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-07-31 15:18:55.269183"], ["updated_at", "2017-07-31 15:18:55.269183"]]
3036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3037
+  (0.5ms) rollback transaction
3038
+  (0.0ms) begin transaction
3039
+  (0.1ms) SAVEPOINT active_record_1
3040
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-07-31 15:18:55.273950"], ["updated_at", "2017-07-31 15:18:55.273950"]]
3041
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3042
+  (0.0ms) SAVEPOINT active_record_1
3043
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-07-31 15:18:55.276068"], ["updated_at", "2017-07-31 15:18:55.276068"]]
3044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3045
+  (0.1ms) SAVEPOINT active_record_1
3046
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.282049"], ["created_at", "2017-07-31 15:18:55.281978"], ["updated_at", "2017-07-31 15:18:55.281978"]]
3047
+ SQL (0.1ms) 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-07-31 15:18:55.283301"], ["updated_at", "2017-07-31 15:18:55.283301"]]
3048
+ 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-07-31 15:18:55.284294"], ["updated_at", "2017-07-31 15:18:55.284294"]]
3049
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3050
+  (0.4ms) rollback transaction
3051
+  (0.0ms) begin transaction
3052
+  (0.0ms) SAVEPOINT active_record_1
3053
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-07-31 15:18:55.288450"], ["updated_at", "2017-07-31 15:18:55.288450"]]
3054
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3055
+  (0.0ms) SAVEPOINT active_record_1
3056
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-07-31 15:18:55.290595"], ["updated_at", "2017-07-31 15:18:55.290595"]]
3057
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3058
+  (0.0ms) SAVEPOINT active_record_1
3059
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.294622"], ["created_at", "2017-07-31 15:18:55.294570"], ["updated_at", "2017-07-31 15:18:55.294570"]]
3060
+ SQL (0.1ms) 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-07-31 15:18:55.295598"], ["updated_at", "2017-07-31 15:18:55.295598"]]
3061
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.296534"], ["updated_at", "2017-07-31 15:18:55.296534"]]
3062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3063
+  (0.5ms) rollback transaction
3064
+  (0.0ms) begin transaction
3065
+  (0.0ms) SAVEPOINT active_record_1
3066
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-07-31 15:18:55.301511"], ["updated_at", "2017-07-31 15:18:55.301511"]]
3067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3068
+  (0.0ms) SAVEPOINT active_record_1
3069
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-07-31 15:18:55.303276"], ["updated_at", "2017-07-31 15:18:55.303276"]]
3070
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3071
+  (0.0ms) SAVEPOINT active_record_1
3072
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.306799"], ["created_at", "2017-07-31 15:18:55.306755"], ["updated_at", "2017-07-31 15:18:55.306755"]]
3073
+ SQL (0.1ms) 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-07-31 15:18:55.307694"], ["updated_at", "2017-07-31 15:18:55.307694"]]
3074
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.308582"], ["updated_at", "2017-07-31 15:18:55.308582"]]
3075
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3076
+  (0.4ms) rollback transaction
3077
+  (0.0ms) begin transaction
3078
+  (0.1ms) SAVEPOINT active_record_1
3079
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 15:18:55.311880"], ["updated_at", "2017-07-31 15:18:55.311880"]]
3080
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3081
+  (0.1ms) SAVEPOINT active_record_1
3082
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 15:18:55.314370"], ["updated_at", "2017-07-31 15:18:55.314370"]]
3083
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3084
+  (0.1ms) SAVEPOINT active_record_1
3085
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.319211"], ["created_at", "2017-07-31 15:18:55.319150"], ["updated_at", "2017-07-31 15:18:55.319150"]]
3086
+ SQL (0.1ms) 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-07-31 15:18:55.320365"], ["updated_at", "2017-07-31 15:18:55.320365"]]
3087
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.321575"], ["updated_at", "2017-07-31 15:18:55.321575"]]
3088
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3089
+  (0.4ms) rollback transaction
3090
+  (0.0ms) begin transaction
3091
+  (0.0ms) SAVEPOINT active_record_1
3092
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 15:18:55.325329"], ["updated_at", "2017-07-31 15:18:55.325329"]]
3093
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3094
+  (0.0ms) SAVEPOINT active_record_1
3095
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 15:18:55.327095"], ["updated_at", "2017-07-31 15:18:55.327095"]]
3096
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3097
+  (0.1ms) SAVEPOINT active_record_1
3098
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.333306"], ["created_at", "2017-07-31 15:18:55.333257"], ["updated_at", "2017-07-31 15:18:55.333257"]]
3099
+ 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-07-31 15:18:55.334316"], ["updated_at", "2017-07-31 15:18:55.334316"]]
3100
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.335656"], ["updated_at", "2017-07-31 15:18:55.335656"]]
3101
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3102
+  (0.4ms) rollback transaction
3103
+  (0.0ms) begin transaction
3104
+  (0.1ms) SAVEPOINT active_record_1
3105
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 15:18:55.339131"], ["updated_at", "2017-07-31 15:18:55.339131"]]
3106
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3107
+  (0.0ms) SAVEPOINT active_record_1
3108
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 15:18:55.340749"], ["updated_at", "2017-07-31 15:18:55.340749"]]
3109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3110
+  (0.0ms) SAVEPOINT active_record_1
3111
+ SQL (1.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-07-31 15:18:55.346054"], ["created_at", "2017-07-31 15:18:55.345326"], ["updated_at", "2017-07-31 15:18:55.345326"]]
3112
+ 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-07-31 15:18:55.350685"], ["updated_at", "2017-07-31 15:18:55.350685"]]
3113
+ 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-07-31 15:18:55.353095"], ["updated_at", "2017-07-31 15:18:55.353095"]]
3114
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3115
+  (0.6ms) rollback transaction
3116
+  (0.0ms) begin transaction
3117
+  (0.0ms) rollback transaction
3118
+  (0.1ms) begin transaction
3119
+  (0.1ms) rollback transaction
3120
+  (0.0ms) begin transaction
3121
+  (0.3ms) rollback transaction
3122
+  (0.0ms) begin transaction
3123
+  (0.0ms) rollback transaction
3124
+  (0.0ms) begin transaction
3125
+  (0.0ms) rollback transaction
3126
+  (0.0ms) begin transaction
3127
+  (0.1ms) SAVEPOINT active_record_1
3128
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 15:18:55.373765"], ["updated_at", "2017-07-31 15:18:55.373765"]]
3129
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3130
+  (0.3ms) rollback transaction
3131
+  (0.0ms) begin transaction
3132
+  (0.3ms) SAVEPOINT active_record_1
3133
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 15:18:55.378205"], ["updated_at", "2017-07-31 15:18:55.378205"]]
3134
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3135
+  (0.2ms) rollback transaction
3136
+  (0.1ms) begin transaction
3137
+  (0.1ms) SAVEPOINT active_record_1
3138
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 15:18:55.384507"], ["updated_at", "2017-07-31 15:18:55.384507"]]
3139
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3140
+  (0.3ms) rollback transaction
3141
+  (0.0ms) begin transaction
3142
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3143
+  (0.3ms) SAVEPOINT active_record_1
3144
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 15:18:55.390949"], ["updated_at", "2017-07-31 15:18:55.390949"]]
3145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3146
+  (0.0ms) SAVEPOINT active_record_1
3147
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-07-31 15:18:55.392345"], ["updated_at", "2017-07-31 15:18:55.392345"]]
3148
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3149
+  (0.0ms) SAVEPOINT active_record_1
3150
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3151
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.408907"], ["created_at", "2017-07-31 15:18:55.408840"], ["updated_at", "2017-07-31 15:18:55.408840"]]
3152
+ 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-07-31 15:18:55.410582"], ["updated_at", "2017-07-31 15:18:55.410582"]]
3153
+ SQL (0.4ms) 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-07-31 15:18:55.412400"], ["updated_at", "2017-07-31 15:18:55.412400"]]
3154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3155
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3156
+  (0.4ms) rollback transaction
3157
+  (0.1ms) begin transaction
3158
+  (0.1ms) SAVEPOINT active_record_1
3159
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 15:18:55.446845"], ["updated_at", "2017-07-31 15:18:55.446845"]]
3160
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3161
+  (0.4ms) SAVEPOINT active_record_1
3162
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-07-31 15:18:55.450970"], ["updated_at", "2017-07-31 15:18:55.450970"]]
3163
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3164
+  (0.0ms) SAVEPOINT active_record_1
3165
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3166
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.459625"], ["created_at", "2017-07-31 15:18:55.459530"], ["updated_at", "2017-07-31 15:18:55.459530"]]
3167
+ 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-07-31 15:18:55.462086"], ["updated_at", "2017-07-31 15:18:55.462086"]]
3168
+ 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-07-31 15:18:55.464963"], ["updated_at", "2017-07-31 15:18:55.464963"]]
3169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3170
+  (0.4ms) rollback transaction
3171
+  (0.0ms) begin transaction
3172
+  (0.1ms) SAVEPOINT active_record_1
3173
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 15:18:55.468946"], ["updated_at", "2017-07-31 15:18:55.468946"]]
3174
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3175
+  (0.0ms) SAVEPOINT active_record_1
3176
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-07-31 15:18:55.470663"], ["updated_at", "2017-07-31 15:18:55.470663"]]
3177
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3178
+  (0.0ms) SAVEPOINT active_record_1
3179
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-07-31 15:18:55.472080"], ["updated_at", "2017-07-31 15:18:55.472080"]]
3180
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3181
+  (0.0ms) SAVEPOINT active_record_1
3182
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-07-31 15:18:55.473559"], ["updated_at", "2017-07-31 15:18:55.473559"]]
3183
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3184
+  (0.0ms) SAVEPOINT active_record_1
3185
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3186
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.490848"], ["created_at", "2017-07-31 15:18:55.490799"], ["updated_at", "2017-07-31 15:18:55.490799"]]
3187
+ 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-07-31 15:18:55.491809"], ["updated_at", "2017-07-31 15:18:55.491809"]]
3188
+ 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-07-31 15:18:55.492571"], ["updated_at", "2017-07-31 15:18:55.492571"]]
3189
+ 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-07-31 15:18:55.493326"], ["updated_at", "2017-07-31 15:18:55.493326"]]
3190
+ 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-07-31 15:18:55.494122"], ["updated_at", "2017-07-31 15:18:55.494122"]]
3191
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3192
+  (0.6ms) rollback transaction
3193
+  (0.1ms) begin transaction
3194
+  (0.4ms) SELECT COUNT(*) FROM "approval_items"
3195
+  (0.1ms) SAVEPOINT active_record_1
3196
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 15:18:55.499684"], ["updated_at", "2017-07-31 15:18:55.499684"]]
3197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3198
+  (0.1ms) SAVEPOINT active_record_1
3199
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-07-31 15:18:55.502702"], ["updated_at", "2017-07-31 15:18:55.502702"]]
3200
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3201
+  (0.1ms) SAVEPOINT active_record_1
3202
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-07-31 15:18:55.504932"], ["updated_at", "2017-07-31 15:18:55.504932"]]
3203
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3204
+  (0.0ms) SAVEPOINT active_record_1
3205
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-07-31 15:18:55.507175"], ["updated_at", "2017-07-31 15:18:55.507175"]]
3206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3207
+  (0.1ms) SAVEPOINT active_record_1
3208
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3209
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.516094"], ["created_at", "2017-07-31 15:18:55.516036"], ["updated_at", "2017-07-31 15:18:55.516036"]]
3210
+ 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-07-31 15:18:55.517157"], ["updated_at", "2017-07-31 15:18:55.517157"]]
3211
+ 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-07-31 15:18:55.518003"], ["updated_at", "2017-07-31 15:18:55.518003"]]
3212
+ 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-07-31 15:18:55.518901"], ["updated_at", "2017-07-31 15:18:55.518901"]]
3213
+ 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-07-31 15:18:55.519639"], ["updated_at", "2017-07-31 15:18:55.519639"]]
3214
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3215
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3216
+  (0.4ms) rollback transaction
3217
+  (0.0ms) begin transaction
3218
+  (0.0ms) rollback transaction
3219
+  (0.0ms) begin transaction
3220
+  (0.0ms) rollback transaction
3221
+  (0.0ms) begin transaction
3222
+  (0.0ms) rollback transaction
3223
+  (0.0ms) begin transaction
3224
+  (0.0ms) rollback transaction
3225
+  (0.0ms) begin transaction
3226
+  (0.0ms) rollback transaction
3227
+  (0.0ms) begin transaction
3228
+  (0.0ms) rollback transaction
3229
+  (0.0ms) begin transaction
3230
+  (0.0ms) rollback transaction
3231
+  (0.0ms) begin transaction
3232
+  (0.0ms) rollback transaction
3233
+  (0.0ms) begin transaction
3234
+  (0.0ms) rollback transaction
3235
+  (0.0ms) begin transaction
3236
+  (0.0ms) SAVEPOINT active_record_1
3237
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 15:18:55.542644"], ["updated_at", "2017-07-31 15:18:55.542644"]]
3238
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3239
+  (0.4ms) rollback transaction
3240
+  (0.1ms) begin transaction
3241
+  (0.1ms) SAVEPOINT active_record_1
3242
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 15:18:55.549645"], ["updated_at", "2017-07-31 15:18:55.549645"]]
3243
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3244
+  (0.1ms) SAVEPOINT active_record_1
3245
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.557567"], ["created_at", "2017-07-31 15:18:55.557453"], ["updated_at", "2017-07-31 15:18:55.557453"]]
3246
+ SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content9"], ["created_at", "2017-07-31 15:18:55.559049"], ["updated_at", "2017-07-31 15:18:55.559049"]]
3247
+ 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", "---\n:name: created_name\n"], ["created_at", "2017-07-31 15:18:55.560259"], ["updated_at", "2017-07-31 15:18:55.560259"]]
3248
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3249
+  (0.7ms) rollback transaction
3250
+  (0.2ms) begin transaction
3251
+  (0.1ms) SAVEPOINT active_record_1
3252
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 15:18:55.566113"], ["updated_at", "2017-07-31 15:18:55.566113"]]
3253
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3254
+  (0.1ms) SAVEPOINT active_record_1
3255
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-07-31 15:18:55.567808"], ["updated_at", "2017-07-31 15:18:55.567808"]]
3256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3257
+  (0.0ms) SAVEPOINT active_record_1
3258
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3259
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.573812"], ["created_at", "2017-07-31 15:18:55.573759"], ["updated_at", "2017-07-31 15:18:55.573759"]]
3260
+ 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-07-31 15:18:55.574767"], ["updated_at", "2017-07-31 15:18:55.574767"]]
3261
+ 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: name25\n"], ["created_at", "2017-07-31 15:18:55.575734"], ["updated_at", "2017-07-31 15:18:55.575734"]]
3262
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3263
+  (0.3ms) rollback transaction
3264
+  (0.0ms) begin transaction
3265
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3266
+  (0.0ms) SAVEPOINT active_record_1
3267
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 15:18:55.578880"], ["updated_at", "2017-07-31 15:18:55.578880"]]
3268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3269
+  (0.0ms) SAVEPOINT active_record_1
3270
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-07-31 15:18:55.580149"], ["updated_at", "2017-07-31 15:18:55.580149"]]
3271
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3272
+  (0.0ms) SAVEPOINT active_record_1
3273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3274
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.587800"], ["created_at", "2017-07-31 15:18:55.587749"], ["updated_at", "2017-07-31 15:18:55.587749"]]
3275
+ 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-07-31 15:18:55.588757"], ["updated_at", "2017-07-31 15:18:55.588757"]]
3276
+ 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: name26\n"], ["created_at", "2017-07-31 15:18:55.589727"], ["updated_at", "2017-07-31 15:18:55.589727"]]
3277
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3278
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3279
+  (0.7ms) rollback transaction
3280
+  (0.1ms) begin transaction
3281
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
3282
+  (0.1ms) SAVEPOINT active_record_1
3283
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 15:18:55.600104"], ["updated_at", "2017-07-31 15:18:55.600104"]]
3284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3285
+  (0.1ms) SAVEPOINT active_record_1
3286
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-07-31 15:18:55.602100"], ["updated_at", "2017-07-31 15:18:55.602100"]]
3287
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3288
+  (0.0ms) SAVEPOINT active_record_1
3289
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-07-31 15:18:55.603460"], ["updated_at", "2017-07-31 15:18:55.603460"]]
3290
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3291
+  (0.1ms) SAVEPOINT active_record_1
3292
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-07-31 15:18:55.604739"], ["updated_at", "2017-07-31 15:18:55.604739"]]
3293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3294
+  (0.1ms) SAVEPOINT active_record_1
3295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3296
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.614105"], ["created_at", "2017-07-31 15:18:55.613966"], ["updated_at", "2017-07-31 15:18:55.613966"]]
3297
+ 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-07-31 15:18:55.615722"], ["updated_at", "2017-07-31 15:18:55.615722"]]
3298
+ 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: name27\n"], ["created_at", "2017-07-31 15:18:55.616761"], ["updated_at", "2017-07-31 15:18:55.616761"]]
3299
+ 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: name28\n"], ["created_at", "2017-07-31 15:18:55.618064"], ["updated_at", "2017-07-31 15:18:55.618064"]]
3300
+ 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: name29\n"], ["created_at", "2017-07-31 15:18:55.619299"], ["updated_at", "2017-07-31 15:18:55.619299"]]
3301
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3302
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3303
+  (0.4ms) rollback transaction
3304
+  (0.0ms) begin transaction
3305
+  (0.1ms) SAVEPOINT active_record_1
3306
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 15:18:55.622935"], ["updated_at", "2017-07-31 15:18:55.622935"]]
3307
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3308
+  (0.0ms) SAVEPOINT active_record_1
3309
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-07-31 15:18:55.624217"], ["updated_at", "2017-07-31 15:18:55.624217"]]
3310
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3311
+  (0.0ms) SAVEPOINT active_record_1
3312
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-07-31 15:18:55.625226"], ["updated_at", "2017-07-31 15:18:55.625226"]]
3313
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3314
+  (0.0ms) SAVEPOINT active_record_1
3315
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-07-31 15:18:55.626178"], ["updated_at", "2017-07-31 15:18:55.626178"]]
3316
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3317
+  (0.0ms) SAVEPOINT active_record_1
3318
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3319
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.635662"], ["created_at", "2017-07-31 15:18:55.635609"], ["updated_at", "2017-07-31 15:18:55.635609"]]
3320
+ 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-07-31 15:18:55.636621"], ["updated_at", "2017-07-31 15:18:55.636621"]]
3321
+ 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: name30\n"], ["created_at", "2017-07-31 15:18:55.637543"], ["updated_at", "2017-07-31 15:18:55.637543"]]
3322
+ 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: name31\n"], ["created_at", "2017-07-31 15:18:55.638805"], ["updated_at", "2017-07-31 15:18:55.638805"]]
3323
+ 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: name32\n"], ["created_at", "2017-07-31 15:18:55.639918"], ["updated_at", "2017-07-31 15:18:55.639918"]]
3324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3325
+  (0.4ms) rollback transaction
3326
+  (0.0ms) begin transaction
3327
+  (0.0ms) rollback transaction
3328
+  (0.0ms) begin transaction
3329
+  (0.0ms) rollback transaction
3330
+  (0.1ms) begin transaction
3331
+  (0.1ms) rollback transaction
3332
+  (0.1ms) begin transaction
3333
+  (0.1ms) rollback transaction
3334
+  (0.1ms) begin transaction
3335
+  (0.1ms) rollback transaction
3336
+  (0.0ms) begin transaction
3337
+  (0.1ms) SAVEPOINT active_record_1
3338
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-07-31 15:18:55.666547"], ["updated_at", "2017-07-31 15:18:55.666547"]]
3339
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3340
+ Approval::Request Load (0.1ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3341
+  (0.3ms) rollback transaction
3342
+  (0.0ms) begin transaction
3343
+  (0.1ms) SAVEPOINT active_record_1
3344
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-07-31 15:18:55.674027"], ["updated_at", "2017-07-31 15:18:55.674027"]]
3345
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3346
+  (0.2ms) rollback transaction
3347
+  (0.0ms) begin transaction
3348
+  (0.0ms) rollback transaction
3349
+  (0.0ms) begin transaction
3350
+  (0.0ms) SAVEPOINT active_record_1
3351
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-07-31 15:18:55.678023"], ["updated_at", "2017-07-31 15:18:55.678023"]]
3352
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3353
+  (0.2ms) rollback transaction
3354
+  (0.0ms) begin transaction
3355
+  (0.1ms) SAVEPOINT active_record_1
3356
+ SQL (2.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-07-31 15:18:55.681021"], ["updated_at", "2017-07-31 15:18:55.681021"]]
3357
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3358
+  (0.3ms) rollback transaction
3359
+  (0.0ms) begin transaction
3360
+  (0.0ms) SAVEPOINT active_record_1
3361
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-07-31 15:18:55.686332"], ["updated_at", "2017-07-31 15:18:55.686332"]]
3362
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3363
+  (0.3ms) rollback transaction
3364
+  (0.0ms) begin transaction
3365
+  (0.0ms) rollback transaction
3366
+  (0.0ms) begin transaction
3367
+  (0.1ms) SAVEPOINT active_record_1
3368
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-07-31 15:18:55.690226"], ["updated_at", "2017-07-31 15:18:55.690226"]]
3369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3370
+  (0.0ms) SAVEPOINT active_record_1
3371
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.694152"], ["created_at", "2017-07-31 15:18:55.694090"], ["updated_at", "2017-07-31 15:18:55.694090"]]
3372
+ SQL (0.2ms) 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-07-31 15:18:55.695551"], ["updated_at", "2017-07-31 15:18:55.695551"]]
3373
+ SQL (11.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-07-31 15:18:55.697259"], ["updated_at", "2017-07-31 15:18:55.697259"]]
3374
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3375
+  (0.1ms) SELECT COUNT(*) FROM "books"
3376
+  (0.1ms) SAVEPOINT active_record_1
3377
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-07-31 15:18:55.712381"], ["updated_at", "2017-07-31 15:18:55.712381"]]
3378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3379
+  (0.1ms) SAVEPOINT active_record_1
3380
+ SQL (0.1ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-07-31 15:18:55.715417"], ["id", 1]]
3381
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3382
+  (0.1ms) SELECT COUNT(*) FROM "books"
3383
+  (0.4ms) rollback transaction
3384
+  (0.0ms) begin transaction
3385
+  (0.0ms) SAVEPOINT active_record_1
3386
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-07-31 15:18:55.720382"], ["updated_at", "2017-07-31 15:18:55.720382"]]
3387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3388
+  (0.0ms) SAVEPOINT active_record_1
3389
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-07-31 15:18:55.723217"], ["updated_at", "2017-07-31 15:18:55.723217"]]
3390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3391
+  (0.0ms) SAVEPOINT active_record_1
3392
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.725067"], ["created_at", "2017-07-31 15:18:55.725020"], ["updated_at", "2017-07-31 15:18:55.725020"]]
3393
+ 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-07-31 15:18:55.726016"], ["updated_at", "2017-07-31 15:18:55.726016"]]
3394
+ 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-07-31 15:18:55.726821"], ["updated_at", "2017-07-31 15:18:55.726821"]]
3395
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3396
+  (0.0ms) SELECT COUNT(*) FROM "books"
3397
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3398
+  (0.0ms) SAVEPOINT active_record_1
3399
+ SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
3400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3401
+  (0.0ms) SELECT COUNT(*) FROM "books"
3402
+  (0.3ms) rollback transaction
3403
+  (0.0ms) begin transaction
3404
+  (0.1ms) SAVEPOINT active_record_1
3405
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-07-31 15:18:55.735622"], ["updated_at", "2017-07-31 15:18:55.735622"]]
3406
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3407
+  (0.0ms) SAVEPOINT active_record_1
3408
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-07-31 15:18:55.738056"], ["updated_at", "2017-07-31 15:18:55.738056"]]
3409
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3410
+  (0.0ms) SAVEPOINT active_record_1
3411
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.740170"], ["created_at", "2017-07-31 15:18:55.740127"], ["updated_at", "2017-07-31 15:18:55.740127"]]
3412
+ SQL (0.1ms) 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-07-31 15:18:55.741044"], ["updated_at", "2017-07-31 15:18:55.741044"]]
3413
+ 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", "---\n:name: updated_name\n"], ["created_at", "2017-07-31 15:18:55.741951"], ["updated_at", "2017-07-31 15:18:55.741951"]]
3414
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3415
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
3416
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3417
+  (0.1ms) SAVEPOINT active_record_1
3418
+ SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-07-31 15:18:55.745316"], ["id", 1]]
3419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3420
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
3421
+  (1.0ms) rollback transaction
3422
+  (0.1ms) begin transaction
3423
+  (0.1ms) SAVEPOINT active_record_1
3424
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-07-31 15:18:55.751763"], ["updated_at", "2017-07-31 15:18:55.751763"]]
3425
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3426
+  (0.4ms) rollback transaction
3427
+  (0.1ms) begin transaction
3428
+  (0.1ms) SAVEPOINT active_record_1
3429
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-07-31 15:18:55.756416"], ["updated_at", "2017-07-31 15:18:55.756416"]]
3430
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3431
+  (0.4ms) rollback transaction
3432
+  (0.1ms) begin transaction
3433
+  (0.1ms) rollback transaction
3434
+  (0.1ms) begin transaction
3435
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
3436
+  (0.1ms) SAVEPOINT active_record_1
3437
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-07-31 15:18:55.765499"], ["updated_at", "2017-07-31 15:18:55.765499"]]
3438
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3439
+  (0.1ms) SAVEPOINT active_record_1
3440
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3441
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.771938"], ["created_at", "2017-07-31 15:18:55.771881"], ["updated_at", "2017-07-31 15:18:55.771881"]]
3442
+ 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-07-31 15:18:55.772980"], ["updated_at", "2017-07-31 15:18:55.772980"]]
3443
+ 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: name42\n"], ["created_at", "2017-07-31 15:18:55.774009"], ["updated_at", "2017-07-31 15:18:55.774009"]]
3444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3445
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3446
+  (0.4ms) rollback transaction
3447
+  (0.1ms) begin transaction
3448
+  (0.1ms) SAVEPOINT active_record_1
3449
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-07-31 15:18:55.783417"], ["updated_at", "2017-07-31 15:18:55.783417"]]
3450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3451
+  (0.1ms) SAVEPOINT active_record_1
3452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3453
+ SQL (0.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.788671"], ["created_at", "2017-07-31 15:18:55.788623"], ["updated_at", "2017-07-31 15:18:55.788623"]]
3454
+ 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-07-31 15:18:55.789526"], ["updated_at", "2017-07-31 15:18:55.789526"]]
3455
+ 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-07-31 15:18:55.790537"], ["updated_at", "2017-07-31 15:18:55.790537"]]
3456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3457
+  (0.4ms) rollback transaction
3458
+  (0.0ms) begin transaction
3459
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3460
+  (0.0ms) SAVEPOINT active_record_1
3461
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-07-31 15:18:55.794305"], ["updated_at", "2017-07-31 15:18:55.794305"]]
3462
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3463
+  (0.1ms) SAVEPOINT active_record_1
3464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3465
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.807704"], ["created_at", "2017-07-31 15:18:55.807638"], ["updated_at", "2017-07-31 15:18:55.807638"]]
3466
+ 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-07-31 15:18:55.808944"], ["updated_at", "2017-07-31 15:18:55.808944"]]
3467
+ 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: name44\n"], ["created_at", "2017-07-31 15:18:55.810109"], ["updated_at", "2017-07-31 15:18:55.810109"]]
3468
+ 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: name45\n"], ["created_at", "2017-07-31 15:18:55.811540"], ["updated_at", "2017-07-31 15:18:55.811540"]]
3469
+ 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: name46\n"], ["created_at", "2017-07-31 15:18:55.813546"], ["updated_at", "2017-07-31 15:18:55.813546"]]
3470
+  (0.1ms) RELEASE SAVEPOINT active_record_1
3471
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
3472
+  (0.7ms) rollback transaction
3473
+  (0.0ms) begin transaction
3474
+  (0.1ms) SAVEPOINT active_record_1
3475
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-07-31 15:18:55.819367"], ["updated_at", "2017-07-31 15:18:55.819367"]]
3476
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3477
+  (0.0ms) SAVEPOINT active_record_1
3478
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
3479
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-07-31 15:18:55.828660"], ["created_at", "2017-07-31 15:18:55.828603"], ["updated_at", "2017-07-31 15:18:55.828603"]]
3480
+ 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-07-31 15:18:55.829725"], ["updated_at", "2017-07-31 15:18:55.829725"]]
3481
+ 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-07-31 15:18:55.830734"], ["updated_at", "2017-07-31 15:18:55.830734"]]
3482
+ 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: name48\n"], ["created_at", "2017-07-31 15:18:55.834489"], ["updated_at", "2017-07-31 15:18:55.834489"]]
3483
+ 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: name49\n"], ["created_at", "2017-07-31 15:18:55.835663"], ["updated_at", "2017-07-31 15:18:55.835663"]]
3484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3485
+  (0.4ms) rollback transaction