approval 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (25) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -0
  3. data/lib/approval.rb +6 -0
  4. data/lib/approval/config.rb +2 -0
  5. data/lib/approval/engine.rb +5 -1
  6. data/lib/approval/mixins/user.rb +0 -3
  7. data/lib/approval/models/approval/comment.rb +2 -2
  8. data/lib/approval/models/approval/item.rb +1 -1
  9. data/lib/approval/models/approval/request.rb +2 -2
  10. data/lib/approval/models/approval/respond_form/base.rb +1 -1
  11. data/lib/approval/version.rb +1 -1
  12. data/lib/generators/approval/templates/initializer.rb +3 -0
  13. data/spec/rails/rails-5.1.2/app/models/user.rb +0 -1
  14. data/spec/rails/rails-5.1.2/config/initializers/approval.rb +3 -0
  15. data/spec/rails/rails-5.1.2/config/secrets.yml +2 -2
  16. data/spec/rails/rails-5.1.2/db/migrate/{20170816024438_create_approval_requests.rb → 20170816102906_create_approval_requests.rb} +0 -0
  17. data/spec/rails/rails-5.1.2/db/migrate/{20170816024439_create_approval_comments.rb → 20170816102907_create_approval_comments.rb} +0 -0
  18. data/spec/rails/rails-5.1.2/db/migrate/{20170816024440_create_approval_items.rb → 20170816102908_create_approval_items.rb} +0 -0
  19. data/spec/rails/rails-5.1.2/db/migrate/{20170816024441_create_users.rb → 20170816102909_create_users.rb} +0 -0
  20. data/spec/rails/rails-5.1.2/db/migrate/{20170816024442_create_books.rb → 20170816102910_create_books.rb} +0 -0
  21. data/spec/rails/rails-5.1.2/db/schema.rb +1 -1
  22. data/spec/rails/rails-5.1.2/db/test.sqlite3 +0 -0
  23. data/spec/rails/rails-5.1.2/log/test.log +439 -968
  24. data/spec/support/rails_template.rb +0 -1
  25. metadata +11 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '068fee56b2cda978f6bed9f8e52c251b97867a11'
4
- data.tar.gz: 647863444a529f21c163a31f0793b385eb9cb492
3
+ metadata.gz: bdfa61c1f1945bd2677ecd10f0cc413f53e65bf5
4
+ data.tar.gz: 60a29db902d07538997dd6139f9fbd9bf836504f
5
5
  SHA512:
6
- metadata.gz: f808dbc85846b4e38e654d9431ee319ace56a760d1a05c365c05bcc0249a903fa2015c25e15807cc1d8fe13af2cb77dc0c114f0aaff24f8d0a4c4c93d409d6aa
7
- data.tar.gz: e675375451c0d5c7823b38cae0b0f5217d9bd8282329ba1fb2e1bf58fd2abed0918ffd810cf1a55b00108de366fbf01eaf5b46ddb577cbd3fed0dce77910b394
6
+ metadata.gz: 2f8aae418dee77f7e12069332db30b01f181836f4a1d835fc8fe7dff729d154fc7b26b878179a836e08e2401435ad6a7af337a9367dd068ceb6d8a019e05f6bc
7
+ data.tar.gz: '09e16855758a24c162fc96320e353b02b53afaf433419ac68c36e4cf2eb0411129b3ae1f6bc770c236392f2d2bcd657dfcaf149d27f460708d897b192b3f4a62'
data/README.md CHANGED
@@ -134,6 +134,9 @@ admin.approval_comments.create(request: request, content: "Hello")
134
134
  # config/initializers/approval.rb
135
135
 
136
136
  Approval.configure do |config|
137
+ # User Class Name (e.g: User, AdminUser, Member)
138
+ config.user_class_name = "User"
139
+
137
140
  # Maximum characters of comment for reason (default: 2000)
138
141
  config.comment_maximum = 2000
139
142
 
data/lib/approval.rb CHANGED
@@ -6,6 +6,12 @@ module Approval
6
6
  def self.configure
7
7
  yield config
8
8
  end
9
+
10
+ def self.init!
11
+ user_model = Approval.config.user_class_name.safe_constantize
12
+ user_model.include ::Approval::Mixins::User if user_model
13
+ [Approval::Request, Approval::Comment].each(&:define_user_association)
14
+ end
9
15
  end
10
16
 
11
17
  require "approval/config"
@@ -1,11 +1,13 @@
1
1
  module Approval
2
2
  class Config
3
3
  attr_accessor(
4
+ :user_class_name,
4
5
  :comment_maximum,
5
6
  :permit_to_respond_to_own_request,
6
7
  )
7
8
 
8
9
  def initialize
10
+ @user_class_name = "User"
9
11
  @comment_maximum = 2000
10
12
  @permit_to_respond_to_own_request = false
11
13
  end
@@ -5,8 +5,12 @@ module Approval
5
5
  initializer "approval" do
6
6
  ActiveSupport.on_load :active_record do
7
7
  require "approval/mixins"
8
- ActiveRecord::Base.send :include, ::Approval::Mixins
8
+ ActiveRecord::Base.include ::Approval::Mixins
9
9
  end
10
10
  end
11
+
12
+ config.to_prepare do
13
+ Approval.init!
14
+ end
11
15
  end
12
16
  end
@@ -6,9 +6,6 @@ module Approval
6
6
  included do
7
7
  has_many :approval_requests, class_name: :"Approval::Request", foreign_key: :request_user_id
8
8
  has_many :approval_comments, class_name: :"Approval::Comment", foreign_key: :user_id
9
-
10
- Approval::Request.define_user_association(self)
11
- Approval::Comment.define_user_association(self)
12
9
  end
13
10
 
14
11
  def request_for_create(records, reason:)
@@ -3,8 +3,8 @@ module Approval
3
3
  self.table_name_prefix = "approval_".freeze
4
4
 
5
5
  class << self
6
- def define_user_association(klass)
7
- belongs_to :user, class_name: klass.to_s
6
+ def define_user_association
7
+ belongs_to :user, class_name: Approval.config.user_class_name
8
8
  end
9
9
  end
10
10
 
@@ -50,7 +50,7 @@ module Approval
50
50
  def ensure_resource_be_valid
51
51
  return if resource_model.nil? || destroy_event?
52
52
  record = if resource_id.present?
53
- resource_model.find(resource_id).tap {|m| m.assign_attributes(params) }
53
+ resource_model.find(resource_id).tap { |m| m.assign_attributes(params) }
54
54
  else
55
55
  resource_model.new(params || {})
56
56
  end
@@ -3,8 +3,8 @@ module Approval
3
3
  self.table_name_prefix = "approval_".freeze
4
4
 
5
5
  class << self
6
- def define_user_association(klass)
7
- with_options class_name: klass.to_s do
6
+ def define_user_association
7
+ with_options class_name: Approval.config.user_class_name do
8
8
  belongs_to :request_user
9
9
  belongs_to :respond_user, optional: true
10
10
  end
@@ -35,7 +35,7 @@ module Approval
35
35
 
36
36
  def ensure_user_cannot_respond_to_my_request
37
37
  return if Approval.config.permit_to_respond_to_own_request?
38
- errors.add(:user, :invalid) if user == request.request_user
38
+ errors.add(:user, :cannot_respond_to_own_request) if user == request.request_user
39
39
  end
40
40
  end
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module Approval
2
- VERSION = "0.3.1".freeze
2
+ VERSION = "0.3.2".freeze
3
3
  end
@@ -1,4 +1,7 @@
1
1
  Approval.configure do |config|
2
+ # User Class Name (e.g: User, AdminUser, Member)
3
+ config.user_class_name = "User"
4
+
2
5
  # Maximum characters of comment for reason (default: 2000)
3
6
  config.comment_maximum = 2000
4
7
 
@@ -1,3 +1,2 @@
1
1
  class User < ApplicationRecord
2
- acts_as_approval_user
3
2
  end
@@ -1,4 +1,7 @@
1
1
  Approval.configure do |config|
2
+ # User Class Name (e.g: User, AdminUser, Member)
3
+ config.user_class_name = "User"
4
+
2
5
  # Maximum characters of comment for reason (default: 2000)
3
6
  config.comment_maximum = 2000
4
7
 
@@ -18,10 +18,10 @@
18
18
  # Environmental secrets are only available for that specific environment.
19
19
 
20
20
  development:
21
- secret_key_base: f24d1491c30c7f3fbd13d046410067bb3ee0d6bfbb79959a19f5c9f4004041c634501a3cb97470c3cc8e488d01dc547e443c864956bcfd0be855b969638378ad
21
+ secret_key_base: 451e3865bca49cc9ea8e461ec93f5998ecca5c20a5d6682a63c3937a2d114ae9f9a2a0035c47f0f4efb6da7149fa66595a205e25b981e307a1198b6cd04da2b2
22
22
 
23
23
  test:
24
- secret_key_base: 76b5e6234566e55c46cbbfb78a4f939ccb852508695571da192fc832a436df48a618a4c0ab0d780f781a0dbd073d3e5373e52bd35701612badc0ae41eddf355d
24
+ secret_key_base: 3c968d38bab889b9896c300d184fc8b9da2f2b4d189d06f0d99fb8c00c69637a1c120d1614701eee71075eaedbb30206910dd9e2231fe050f41ce0066d33e7fc
25
25
 
26
26
  # Do not keep production secrets in the unencrypted secrets file.
27
27
  # Instead, either read values from the environment.
@@ -10,7 +10,7 @@
10
10
  #
11
11
  # It's strongly recommended that you check this file into your version control system.
12
12
 
13
- ActiveRecord::Schema.define(version: 20170816024442) do
13
+ ActiveRecord::Schema.define(version: 20170816102910) do
14
14
 
15
15
  create_table "approval_comments", force: :cascade do |t|
16
16
  t.integer "request_id", null: false
Binary file
@@ -1,10 +1,10 @@
1
-  (0.2ms) SELECT sqlite_version(*)
2
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
-  (2.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1
+  (0.4ms) SELECT sqlite_version(*)
2
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
3
+  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
4
   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
5
- Migrating to CreateApprovalRequests (20170816024438)
5
+ Migrating to CreateApprovalRequests (20170816102906)
6
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)
7
+  (0.5ms) 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
8
   (0.1ms) CREATE INDEX "index_approval_requests_on_request_user_id" ON "approval_requests" ("request_user_id")
9
9
   (0.1ms)  SELECT sql
10
10
  FROM sqlite_master
@@ -32,11 +32,11 @@ Migrating to CreateApprovalRequests (20170816024438)
32
32
  WHERE name='index_approval_requests_on_request_user_id' AND type='index'
33
33
  
34
34
   (0.1ms) CREATE INDEX "index_approval_requests_on_state" ON "approval_requests" ("state")
35
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024438"]]
36
-  (0.6ms) commit transaction
37
- Migrating to CreateApprovalComments (20170816024439)
38
-  (0.1ms) begin transaction
39
-  (0.6ms) CREATE TABLE "approval_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "user_id" integer NOT NULL, "content" text NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
35
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816102906"]]
36
+  (0.7ms) commit transaction
37
+ Migrating to CreateApprovalComments (20170816102907)
38
+  (0.0ms) begin transaction
39
+  (0.4ms) 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
40
   (0.1ms) CREATE INDEX "index_approval_comments_on_request_id" ON "approval_comments" ("request_id")
41
41
   (0.1ms)  SELECT sql
42
42
  FROM sqlite_master
@@ -46,12 +46,12 @@ Migrating to CreateApprovalComments (20170816024439)
46
46
  FROM sqlite_temp_master
47
47
  WHERE name='index_approval_comments_on_request_id' AND type='index'
48
48
  
49
-  (0.1ms) CREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id")
50
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024439"]]
51
-  (0.9ms) commit transaction
52
- Migrating to CreateApprovalItems (20170816024440)
53
-  (0.1ms) begin transaction
54
-  (0.6ms) CREATE TABLE "approval_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "request_id" integer NOT NULL, "resource_id" integer, "resource_type" varchar NOT NULL, "event" varchar NOT NULL, "params" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
49
+  (0.2ms) CREATE INDEX "index_approval_comments_on_user_id" ON "approval_comments" ("user_id")
50
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816102907"]]
51
+  (0.6ms) commit transaction
52
+ Migrating to CreateApprovalItems (20170816102908)
53
+  (0.0ms) begin transaction
54
+  (0.5ms) 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
55
   (0.1ms) CREATE INDEX "index_approval_items_on_request_id" ON "approval_items" ("request_id")
56
56
   (0.1ms)  SELECT sql
57
57
  FROM sqlite_master
@@ -62,24 +62,24 @@ Migrating to CreateApprovalItems (20170816024440)
62
62
  WHERE name='index_approval_items_on_request_id' AND type='index'
63
63
  
64
64
   (0.1ms) CREATE INDEX "index_approval_items_on_resource_id_and_resource_type" ON "approval_items" ("resource_id", "resource_type")
65
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024440"]]
65
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816102908"]]
66
+  (1.4ms) commit transaction
67
+ Migrating to CreateUsers (20170816102909)
68
+  (0.1ms) begin transaction
69
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
70
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816102909"]]
71
+  (1.0ms) commit transaction
72
+ Migrating to CreateBooks (20170816102910)
73
+  (0.1ms) begin transaction
74
+  (0.8ms) 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.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816102910"]]
66
76
   (0.7ms) commit transaction
67
- Migrating to CreateUsers (20170816024441)
77
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
68
78
   (0.1ms) begin transaction
69
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
70
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024441"]]
71
-  (0.6ms) commit transaction
72
- Migrating to CreateBooks (20170816024442)
73
-  (0.0ms) begin transaction
74
-  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
75
- SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20170816024442"]]
76
-  (0.8ms) commit transaction
77
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
78
-  (0.0ms) begin transaction
79
- SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-16 02:44:44.978496"], ["updated_at", "2017-08-16 02:44:44.978496"]]
80
-  (0.8ms) commit transaction
81
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
82
-  (0.1ms)  SELECT sql
79
+ SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2017-08-16 10:29:11.412092"], ["updated_at", "2017-08-16 10:29:11.412092"]]
80
+  (2.0ms) commit transaction
81
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
82
+  (0.2ms)  SELECT sql
83
83
  FROM sqlite_master
84
84
  WHERE name='index_approval_comments_on_user_id' AND type='index'
85
85
  UNION ALL
@@ -142,1083 +142,554 @@ Migrating to CreateBooks (20170816024442)
142
142
   (0.1ms) begin transaction
143
143
   (0.1ms) rollback transaction
144
144
   (0.1ms) begin transaction
145
+  (0.1ms) rollback transaction
146
+  (0.0ms) begin transaction
145
147
   (0.1ms) SAVEPOINT active_record_1
146
- SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 02:44:46.495832"], ["updated_at", "2017-08-16 02:44:46.495832"]]
147
-  (0.1ms) RELEASE SAVEPOINT active_record_1
148
- Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
149
-  (0.9ms) rollback transaction
150
-  (0.1ms) begin transaction
151
-  (0.1ms) SAVEPOINT active_record_1
152
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 02:44:46.531823"], ["updated_at", "2017-08-16 02:44:46.531823"]]
153
-  (0.1ms) RELEASE SAVEPOINT active_record_1
154
-  (0.5ms) rollback transaction
155
-  (0.1ms) begin transaction
156
-  (0.0ms) rollback transaction
157
-  (0.1ms) begin transaction
158
-  (0.1ms) SAVEPOINT active_record_1
159
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 02:44:46.538212"], ["updated_at", "2017-08-16 02:44:46.538212"]]
148
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 10:29:12.910577"], ["updated_at", "2017-08-16 10:29:12.910577"]]
160
149
   (0.1ms) RELEASE SAVEPOINT active_record_1
161
-  (0.4ms) rollback transaction
162
-  (0.1ms) begin transaction
163
-  (0.0ms) rollback transaction
164
-  (0.1ms) begin transaction
165
-  (0.0ms) rollback transaction
166
-  (0.1ms) begin transaction
150
+  (1.2ms) rollback transaction
151
+  (0.2ms) begin transaction
167
152
   (0.1ms) SAVEPOINT active_record_1
168
- SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 02:44:46.545991"], ["updated_at", "2017-08-16 02:44:46.545991"]]
169
-  (0.1ms) RELEASE SAVEPOINT active_record_1
153
+ SQL (1.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 10:29:12.925759"], ["updated_at", "2017-08-16 10:29:12.925759"]]
154
+  (0.3ms) RELEASE SAVEPOINT active_record_1
170
155
   (0.6ms) rollback transaction
171
156
   (0.1ms) begin transaction
172
157
   (0.1ms) SAVEPOINT active_record_1
173
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 02:44:46.553280"], ["updated_at", "2017-08-16 02:44:46.553280"]]
158
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 10:29:12.933324"], ["updated_at", "2017-08-16 10:29:12.933324"]]
174
159
   (0.1ms) RELEASE SAVEPOINT active_record_1
175
160
   (0.6ms) rollback transaction
176
-  (0.1ms) begin transaction
161
+  (0.2ms) begin transaction
177
162
   (0.1ms) rollback transaction
163
+  (0.4ms) begin transaction
164
+  (0.7ms) SAVEPOINT active_record_1
165
+ SQL (2.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 10:29:12.952313"], ["updated_at", "2017-08-16 10:29:12.952313"]]
166
+  (0.6ms) RELEASE SAVEPOINT active_record_1
167
+  (1.1ms) rollback transaction
178
168
   (0.1ms) begin transaction
179
-  (0.1ms) SAVEPOINT active_record_1
180
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 02:44:46.561419"], ["updated_at", "2017-08-16 02:44:46.561419"]]
181
-  (0.1ms) RELEASE SAVEPOINT active_record_1
182
-  (3.8ms) rollback transaction
183
-  (0.1ms) begin transaction
169
+  (0.1ms) rollback transaction
170
+  (0.0ms) begin transaction
171
+  (0.1ms) rollback transaction
172
+  (0.0ms) begin transaction
184
173
   (0.1ms) rollback transaction
185
174
   (0.1ms) begin transaction
186
175
   (0.2ms) SAVEPOINT active_record_1
187
- SQL (0.8ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 02:44:46.573787"], ["updated_at", "2017-08-16 02:44:46.573787"]]
188
-  (0.1ms) RELEASE SAVEPOINT active_record_1
189
-  (0.8ms) rollback transaction
176
+ SQL (2.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 10:29:13.003357"], ["updated_at", "2017-08-16 10:29:13.003357"]]
177
+  (0.3ms) RELEASE SAVEPOINT active_record_1
178
+ Approval::Request Load (0.3ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
179
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
180
+  (0.7ms) rollback transaction
190
181
   (0.1ms) begin transaction
191
182
   (0.1ms) SAVEPOINT active_record_1
192
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 02:44:46.592092"], ["updated_at", "2017-08-16 02:44:46.592092"]]
193
-  (0.1ms) RELEASE SAVEPOINT active_record_1
194
-  (0.1ms) SAVEPOINT active_record_1
195
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 02:44:46.630043"], ["updated_at", "2017-08-16 02:44:46.630043"]]
196
-  (0.0ms) RELEASE SAVEPOINT active_record_1
197
-  (0.1ms) SAVEPOINT active_record_1
198
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.633231"], ["created_at", "2017-08-16 02:44:46.633117"], ["updated_at", "2017-08-16 02:44:46.633117"]]
199
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 02:44:46.634557"], ["updated_at", "2017-08-16 02:44:46.634557"]]
200
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:46.635763"], ["updated_at", "2017-08-16 02:44:46.635763"]]
183
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 10:29:13.064518"], ["updated_at", "2017-08-16 10:29:13.064518"]]
201
184
   (0.1ms) RELEASE SAVEPOINT active_record_1
202
-  (0.3ms) SELECT COUNT(*) FROM "books"
203
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
204
-  (0.1ms) SAVEPOINT active_record_1
205
- SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
206
-  (0.0ms) RELEASE SAVEPOINT active_record_1
207
-  (0.1ms) SELECT COUNT(*) FROM "books"
208
-  (0.4ms) rollback transaction
185
+  (0.3ms) rollback transaction
209
186
   (0.1ms) begin transaction
210
187
   (0.1ms) SAVEPOINT active_record_1
211
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 02:44:46.651864"], ["updated_at", "2017-08-16 02:44:46.651864"]]
212
-  (0.0ms) RELEASE SAVEPOINT active_record_1
213
-  (0.1ms) SAVEPOINT active_record_1
214
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.657186"], ["created_at", "2017-08-16 02:44:46.657120"], ["updated_at", "2017-08-16 02:44:46.657120"]]
215
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content2"], ["created_at", "2017-08-16 02:44:46.658430"], ["updated_at", "2017-08-16 02:44:46.658430"]]
216
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.659730"], ["updated_at", "2017-08-16 02:44:46.659730"]]
188
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 10:29:13.068217"], ["updated_at", "2017-08-16 10:29:13.068217"]]
217
189
   (0.1ms) RELEASE SAVEPOINT active_record_1
218
-  (0.2ms) SELECT COUNT(*) FROM "books"
219
-  (0.1ms) SAVEPOINT active_record_1
220
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-08-16 02:44:46.663890"], ["updated_at", "2017-08-16 02:44:46.663890"]]
190
+  (0.9ms) rollback transaction
191
+  (0.5ms) begin transaction
192
+  (0.2ms) rollback transaction
193
+  (0.6ms) begin transaction
194
+  (0.2ms) SAVEPOINT active_record_1
195
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 10:29:13.131542"], ["updated_at", "2017-08-16 10:29:13.131542"]]
196
+  (0.1ms) RELEASE SAVEPOINT active_record_1
197
+  (0.3ms) SAVEPOINT active_record_1
198
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.218079"], ["created_at", "2017-08-16 10:29:13.217908"], ["updated_at", "2017-08-16 10:29:13.217908"]]
199
+ SQL (2.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-08-16 10:29:13.221334"], ["updated_at", "2017-08-16 10:29:13.221334"]]
200
+ SQL (12.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-08-16 10:29:13.228357"], ["updated_at", "2017-08-16 10:29:13.228357"]]
221
201
   (0.1ms) RELEASE SAVEPOINT active_record_1
202
+  (0.4ms) SELECT COUNT(*) FROM "books"
222
203
   (0.2ms) SAVEPOINT active_record_1
223
- SQL (0.6ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-08-16 02:44:46.667801"], ["id", 1]]
204
+ SQL (1.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-08-16 10:29:13.251467"], ["updated_at", "2017-08-16 10:29:13.251467"]]
224
205
   (0.3ms) RELEASE SAVEPOINT active_record_1
225
-  (0.5ms) SELECT COUNT(*) FROM "books"
226
-  (1.2ms) rollback transaction
227
-  (0.1ms) begin transaction
228
-  (0.1ms) SAVEPOINT active_record_1
229
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 02:44:46.683841"], ["updated_at", "2017-08-16 02:44:46.683841"]]
230
-  (0.0ms) RELEASE SAVEPOINT active_record_1
231
-  (0.1ms) SAVEPOINT active_record_1
232
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 02:44:46.687685"], ["updated_at", "2017-08-16 02:44:46.687685"]]
233
-  (0.0ms) RELEASE SAVEPOINT active_record_1
234
-  (0.0ms) SAVEPOINT active_record_1
235
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.690870"], ["created_at", "2017-08-16 02:44:46.690808"], ["updated_at", "2017-08-16 02:44:46.690808"]]
236
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content3"], ["created_at", "2017-08-16 02:44:46.692368"], ["updated_at", "2017-08-16 02:44:46.692368"]]
237
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 02:44:46.693944"], ["updated_at", "2017-08-16 02:44:46.693944"]]
206
+  (0.2ms) SAVEPOINT active_record_1
207
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
208
+ SQL (0.2ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-08-16 10:29:13.258767"], ["id", 1]]
238
209
   (0.1ms) RELEASE SAVEPOINT active_record_1
239
- Book Load (0.3ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
240
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
241
-  (0.1ms) SAVEPOINT active_record_1
242
- SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-08-16 02:44:46.700776"], ["id", 1]]
243
-  (0.3ms) RELEASE SAVEPOINT active_record_1
244
- Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
245
-  (0.6ms) rollback transaction
246
-  (0.1ms) begin transaction
247
-  (0.1ms) rollback transaction
248
-  (0.1ms) begin transaction
249
-  (0.1ms) rollback transaction
210
+  (0.1ms) SELECT COUNT(*) FROM "books"
211
+  (0.5ms) rollback transaction
250
212
   (0.1ms) begin transaction
251
213
   (0.1ms) SAVEPOINT active_record_1
252
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 02:44:46.712593"], ["updated_at", "2017-08-16 02:44:46.712593"]]
253
-  (0.1ms) RELEASE SAVEPOINT active_record_1
254
-  (0.4ms) rollback transaction
255
-  (0.1ms) begin transaction
214
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 10:29:13.267927"], ["updated_at", "2017-08-16 10:29:13.267927"]]
215
+  (0.2ms) RELEASE SAVEPOINT active_record_1
256
216
   (0.2ms) SAVEPOINT active_record_1
257
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 02:44:46.725279"], ["updated_at", "2017-08-16 02:44:46.725279"]]
217
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 10:29:13.274514"], ["updated_at", "2017-08-16 10:29:13.274514"]]
258
218
   (0.1ms) RELEASE SAVEPOINT active_record_1
259
-  (0.4ms) rollback transaction
260
-  (0.1ms) begin transaction
261
219
   (0.1ms) SAVEPOINT active_record_1
262
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 02:44:46.730732"], ["updated_at", "2017-08-16 02:44:46.730732"]]
220
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
221
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
222
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.281475"], ["created_at", "2017-08-16 10:29:13.281375"], ["updated_at", "2017-08-16 10:29:13.281375"]]
223
+ SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content2"], ["created_at", "2017-08-16 10:29:13.283945"], ["updated_at", "2017-08-16 10:29:13.283945"]]
224
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
225
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 10:29:13.287386"], ["updated_at", "2017-08-16 10:29:13.287386"]]
226
+  (0.2ms) RELEASE SAVEPOINT active_record_1
227
+ Book Load (0.4ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
228
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
229
+  (0.2ms) SAVEPOINT active_record_1
230
+ SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-08-16 10:29:13.301735"], ["id", 1]]
263
231
   (0.1ms) RELEASE SAVEPOINT active_record_1
264
-  (0.3ms) rollback transaction
265
-  (0.1ms) begin transaction
266
-  (0.0ms) rollback transaction
267
-  (0.1ms) begin transaction
268
-  (0.0ms) rollback transaction
269
-  (0.1ms) begin transaction
270
-  (0.0ms) rollback transaction
271
-  (0.1ms) begin transaction
272
-  (0.0ms) rollback transaction
273
-  (0.1ms) begin transaction
274
-  (0.1ms) rollback transaction
275
-  (0.1ms) begin transaction
276
-  (0.1ms) rollback transaction
277
-  (0.1ms) begin transaction
278
-  (0.1ms) rollback transaction
279
-  (0.1ms) begin transaction
280
-  (0.1ms) rollback transaction
232
+ Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
233
+  (0.7ms) rollback transaction
281
234
   (0.1ms) begin transaction
282
235
   (0.1ms) SAVEPOINT active_record_1
283
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 02:44:46.751871"], ["updated_at", "2017-08-16 02:44:46.751871"]]
236
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 10:29:13.314093"], ["updated_at", "2017-08-16 10:29:13.314093"]]
284
237
   (0.1ms) RELEASE SAVEPOINT active_record_1
285
238
   (0.1ms) SAVEPOINT active_record_1
286
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:46.759424"], ["created_at", "2017-08-16 02:44:46.759358"], ["updated_at", "2017-08-16 02:44:46.759358"]]
287
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content4"], ["created_at", "2017-08-16 02:44:46.760997"], ["updated_at", "2017-08-16 02:44:46.760997"]]
288
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.766586"], ["updated_at", "2017-08-16 02:44:46.766586"]]
239
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 10:29:13.319423"], ["updated_at", "2017-08-16 10:29:13.319423"]]
289
240
   (0.1ms) RELEASE SAVEPOINT active_record_1
290
-  (0.4ms) rollback transaction
291
-  (0.1ms) begin transaction
292
-  (0.1ms) rollback transaction
293
-  (0.1ms) begin transaction
294
-  (0.1ms) rollback transaction
295
-  (0.1ms) begin transaction
296
-  (0.1ms) rollback transaction
297
-  (0.1ms) begin transaction
241
+  (0.3ms) SAVEPOINT active_record_1
242
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.328434"], ["created_at", "2017-08-16 10:29:13.328306"], ["updated_at", "2017-08-16 10:29:13.328306"]]
243
+ SQL (0.4ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content3"], ["created_at", "2017-08-16 10:29:13.333989"], ["updated_at", "2017-08-16 10:29:13.333989"]]
244
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:13.337231"], ["updated_at", "2017-08-16 10:29:13.337231"]]
245
+  (1.1ms) RELEASE SAVEPOINT active_record_1
246
+  (0.4ms) SELECT COUNT(*) FROM "books"
247
+ Book Load (0.7ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
248
+  (0.9ms) SAVEPOINT active_record_1
249
+ SQL (0.3ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
250
+  (0.2ms) RELEASE SAVEPOINT active_record_1
251
+  (0.3ms) SELECT COUNT(*) FROM "books"
252
+  (4.5ms) rollback transaction
253
+  (0.2ms) begin transaction
254
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
298
255
   (0.1ms) SAVEPOINT active_record_1
299
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 02:44:46.787700"], ["updated_at", "2017-08-16 02:44:46.787700"]]
256
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 10:29:13.388872"], ["updated_at", "2017-08-16 10:29:13.388872"]]
300
257
   (0.1ms) RELEASE SAVEPOINT active_record_1
301
-  (0.4ms) rollback transaction
302
-  (0.1ms) begin transaction
303
258
   (0.1ms) SAVEPOINT active_record_1
304
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 02:44:46.796419"], ["updated_at", "2017-08-16 02:44:46.796419"]]
259
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-08-16 10:29:13.392155"], ["updated_at", "2017-08-16 10:29:13.392155"]]
305
260
   (0.1ms) RELEASE SAVEPOINT active_record_1
306
261
   (0.1ms) SAVEPOINT active_record_1
307
- SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 02:44:46.800912"], ["updated_at", "2017-08-16 02:44:46.800912"]]
262
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
263
+ Book Load (0.6ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
264
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
265
+ SQL (1.7ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.431048"], ["created_at", "2017-08-16 10:29:13.430793"], ["updated_at", "2017-08-16 10:29:13.430793"]]
266
+ 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-08-16 10:29:13.445731"], ["updated_at", "2017-08-16 10:29:13.445731"]]
267
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
268
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 10:29:13.451530"], ["updated_at", "2017-08-16 10:29:13.451530"]]
269
+  (0.2ms) RELEASE SAVEPOINT active_record_1
270
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
271
+  (3.0ms) rollback transaction
272
+  (0.1ms) begin transaction
273
+  (0.4ms) SAVEPOINT active_record_1
274
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 10:29:13.589497"], ["updated_at", "2017-08-16 10:29:13.589497"]]
275
+  (0.2ms) RELEASE SAVEPOINT active_record_1
276
+  (0.5ms) SAVEPOINT active_record_1
277
+ SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-08-16 10:29:13.598261"], ["updated_at", "2017-08-16 10:29:13.598261"]]
308
278
   (0.1ms) RELEASE SAVEPOINT active_record_1
309
279
   (0.1ms) SAVEPOINT active_record_1
310
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.814974"], ["created_at", "2017-08-16 02:44:46.814902"], ["updated_at", "2017-08-16 02:44:46.814902"]]
311
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 02:44:46.820022"], ["updated_at", "2017-08-16 02:44:46.820022"]]
312
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.821486"], ["updated_at", "2017-08-16 02:44:46.821486"]]
280
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
281
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
282
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
283
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.617332"], ["created_at", "2017-08-16 10:29:13.617258"], ["updated_at", "2017-08-16 10:29:13.617258"]]
284
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.618645"], ["updated_at", "2017-08-16 10:29:13.618645"]]
285
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
286
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 10:29:13.623364"], ["updated_at", "2017-08-16 10:29:13.623364"]]
313
287
   (0.3ms) RELEASE SAVEPOINT active_record_1
314
-  (0.4ms) rollback transaction
288
+  (2.8ms) rollback transaction
315
289
   (0.1ms) begin transaction
290
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
316
291
   (0.1ms) SAVEPOINT active_record_1
317
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 02:44:46.828576"], ["updated_at", "2017-08-16 02:44:46.828576"]]
318
-  (0.1ms) RELEASE SAVEPOINT active_record_1
292
+ SQL (1.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 10:29:13.638158"], ["updated_at", "2017-08-16 10:29:13.638158"]]
293
+  (0.2ms) RELEASE SAVEPOINT active_record_1
294
+  (1.1ms) SAVEPOINT active_record_1
295
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-08-16 10:29:13.649925"], ["updated_at", "2017-08-16 10:29:13.649925"]]
296
+  (0.2ms) RELEASE SAVEPOINT active_record_1
319
297
   (0.1ms) SAVEPOINT active_record_1
320
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-08-16 02:44:46.831317"], ["updated_at", "2017-08-16 02:44:46.831317"]]
321
-  (0.0ms) RELEASE SAVEPOINT active_record_1
298
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 10:29:13.657319"], ["updated_at", "2017-08-16 10:29:13.657319"]]
299
+  (0.4ms) RELEASE SAVEPOINT active_record_1
322
300
   (0.1ms) SAVEPOINT active_record_1
323
- SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.839015"], ["created_at", "2017-08-16 02:44:46.838787"], ["updated_at", "2017-08-16 02:44:46.838787"]]
324
- SQL (1.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 02:44:46.842677"], ["updated_at", "2017-08-16 02:44:46.842677"]]
325
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.847009"], ["updated_at", "2017-08-16 02:44:46.847009"]]
326
-  (0.1ms) RELEASE SAVEPOINT active_record_1
327
-  (0.6ms) rollback transaction
328
-  (0.2ms) begin transaction
329
-  (0.2ms) SAVEPOINT active_record_1
330
- SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-08-16 02:44:46.858819"], ["updated_at", "2017-08-16 02:44:46.858819"]]
301
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 10:29:13.659627"], ["updated_at", "2017-08-16 10:29:13.659627"]]
331
302
   (0.1ms) RELEASE SAVEPOINT active_record_1
332
303
   (0.1ms) SAVEPOINT active_record_1
333
- SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-08-16 02:44:46.863567"], ["updated_at", "2017-08-16 02:44:46.863567"]]
334
-  (0.1ms) RELEASE SAVEPOINT active_record_1
335
-  (0.2ms) SAVEPOINT active_record_1
336
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.877831"], ["created_at", "2017-08-16 02:44:46.877755"], ["updated_at", "2017-08-16 02:44:46.877755"]]
337
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 02:44:46.879343"], ["updated_at", "2017-08-16 02:44:46.879343"]]
338
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.880913"], ["updated_at", "2017-08-16 02:44:46.880913"]]
304
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
305
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
306
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
307
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
308
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
309
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
311
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.682479"], ["created_at", "2017-08-16 10:29:13.682382"], ["updated_at", "2017-08-16 10:29:13.682382"]]
312
+ 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-08-16 10:29:13.684853"], ["updated_at", "2017-08-16 10:29:13.684853"]]
313
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
314
+ SQL (0.8ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 10:29:13.688261"], ["updated_at", "2017-08-16 10:29:13.688261"]]
315
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
316
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 10:29:13.693663"], ["updated_at", "2017-08-16 10:29:13.693663"]]
317
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
318
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 10:29:13.697463"], ["updated_at", "2017-08-16 10:29:13.697463"]]
339
319
   (0.1ms) RELEASE SAVEPOINT active_record_1
340
-  (0.4ms) rollback transaction
320
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
321
+  (4.0ms) rollback transaction
341
322
   (0.1ms) begin transaction
342
323
   (0.1ms) SAVEPOINT active_record_1
343
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-08-16 02:44:46.886003"], ["updated_at", "2017-08-16 02:44:46.886003"]]
324
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 10:29:13.709461"], ["updated_at", "2017-08-16 10:29:13.709461"]]
325
+  (0.3ms) RELEASE SAVEPOINT active_record_1
326
+  (0.0ms) SAVEPOINT active_record_1
327
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 10:29:13.711739"], ["updated_at", "2017-08-16 10:29:13.711739"]]
328
+  (0.3ms) RELEASE SAVEPOINT active_record_1
329
+  (0.1ms) SAVEPOINT active_record_1
330
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 10:29:13.713542"], ["updated_at", "2017-08-16 10:29:13.713542"]]
344
331
   (0.1ms) RELEASE SAVEPOINT active_record_1
345
332
   (0.1ms) SAVEPOINT active_record_1
346
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-08-16 02:44:46.888754"], ["updated_at", "2017-08-16 02:44:46.888754"]]
333
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 10:29:13.715705"], ["updated_at", "2017-08-16 10:29:13.715705"]]
347
334
   (0.0ms) RELEASE SAVEPOINT active_record_1
348
335
   (0.1ms) SAVEPOINT active_record_1
349
- SQL (0.7ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.894039"], ["created_at", "2017-08-16 02:44:46.893969"], ["updated_at", "2017-08-16 02:44:46.893969"]]
350
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 02:44:46.896484"], ["updated_at", "2017-08-16 02:44:46.896484"]]
351
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.899046"], ["updated_at", "2017-08-16 02:44:46.899046"]]
336
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
337
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
338
+ Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
339
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
340
+ Book Load (0.4ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
341
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
342
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
343
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.758420"], ["created_at", "2017-08-16 10:29:13.758143"], ["updated_at", "2017-08-16 10:29:13.758143"]]
344
+ SQL (0.7ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.763633"], ["updated_at", "2017-08-16 10:29:13.763633"]]
345
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
346
+ SQL (0.8ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 10:29:13.769135"], ["updated_at", "2017-08-16 10:29:13.769135"]]
347
+ Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
348
+ 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", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 10:29:13.783363"], ["updated_at", "2017-08-16 10:29:13.783363"]]
349
+ Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
350
+ SQL (0.9ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 10:29:13.791517"], ["updated_at", "2017-08-16 10:29:13.791517"]]
352
351
   (0.1ms) RELEASE SAVEPOINT active_record_1
353
-  (0.7ms) rollback transaction
352
+  (1.5ms) rollback transaction
354
353
   (0.1ms) begin transaction
354
+  (0.4ms) rollback transaction
355
+  (0.3ms) begin transaction
355
356
   (0.1ms) SAVEPOINT active_record_1
356
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-08-16 02:44:46.910245"], ["updated_at", "2017-08-16 02:44:46.910245"]]
357
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 10:29:13.824603"], ["updated_at", "2017-08-16 10:29:13.824603"]]
357
358
   (0.1ms) RELEASE SAVEPOINT active_record_1
359
+  (0.5ms) rollback transaction
360
+  (0.1ms) begin transaction
358
361
   (0.1ms) SAVEPOINT active_record_1
359
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-08-16 02:44:46.917075"], ["updated_at", "2017-08-16 02:44:46.917075"]]
360
-  (0.2ms) RELEASE SAVEPOINT active_record_1
361
-  (0.1ms) SAVEPOINT active_record_1
362
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.925569"], ["created_at", "2017-08-16 02:44:46.925256"], ["updated_at", "2017-08-16 02:44:46.925256"]]
363
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 02:44:46.927426"], ["updated_at", "2017-08-16 02:44:46.927426"]]
364
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.928887"], ["updated_at", "2017-08-16 02:44:46.928887"]]
365
-  (0.0ms) RELEASE SAVEPOINT active_record_1
366
-  (0.4ms) rollback transaction
362
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 10:29:13.832270"], ["updated_at", "2017-08-16 10:29:13.832270"]]
363
+  (0.3ms) RELEASE SAVEPOINT active_record_1
364
+  (3.9ms) rollback transaction
365
+  (1.3ms) begin transaction
366
+  (0.2ms) SAVEPOINT active_record_1
367
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-08-16 10:29:13.865461"], ["updated_at", "2017-08-16 10:29:13.865461"]]
368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
369
+  (0.5ms) rollback transaction
367
370
   (0.1ms) begin transaction
368
371
   (0.1ms) SAVEPOINT active_record_1
369
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 02:44:46.933541"], ["updated_at", "2017-08-16 02:44:46.933541"]]
370
-  (0.0ms) RELEASE SAVEPOINT active_record_1
371
-  (0.3ms) SAVEPOINT active_record_1
372
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 02:44:46.936166"], ["updated_at", "2017-08-16 02:44:46.936166"]]
373
-  (0.0ms) RELEASE SAVEPOINT active_record_1
372
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-08-16 10:29:13.873440"], ["updated_at", "2017-08-16 10:29:13.873440"]]
373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
374
+  (0.3ms) rollback transaction
375
+  (0.1ms) begin transaction
374
376
   (0.1ms) SAVEPOINT active_record_1
375
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.941395"], ["created_at", "2017-08-16 02:44:46.941330"], ["updated_at", "2017-08-16 02:44:46.941330"]]
376
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content10"], ["created_at", "2017-08-16 02:44:46.943156"], ["updated_at", "2017-08-16 02:44:46.943156"]]
377
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.944869"], ["updated_at", "2017-08-16 02:44:46.944869"]]
377
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-08-16 10:29:13.882784"], ["updated_at", "2017-08-16 10:29:13.882784"]]
378
378
   (0.1ms) RELEASE SAVEPOINT active_record_1
379
+  (0.5ms) rollback transaction
380
+  (0.1ms) begin transaction
381
+  (0.3ms) SAVEPOINT active_record_1
382
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 10:29:13.897855"], ["updated_at", "2017-08-16 10:29:13.897855"]]
383
+  (0.2ms) RELEASE SAVEPOINT active_record_1
379
384
   (0.7ms) rollback transaction
380
385
   (0.1ms) begin transaction
386
+  (1.7ms) rollback transaction
387
+  (0.7ms) begin transaction
388
+  (0.8ms) SELECT COUNT(*) FROM "approval_items"
381
389
   (0.1ms) SAVEPOINT active_record_1
382
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 02:44:46.953513"], ["updated_at", "2017-08-16 02:44:46.953513"]]
390
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 10:29:13.936597"], ["updated_at", "2017-08-16 10:29:13.936597"]]
383
391
   (0.1ms) RELEASE SAVEPOINT active_record_1
384
392
   (0.1ms) SAVEPOINT active_record_1
385
- SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 02:44:46.957539"], ["updated_at", "2017-08-16 02:44:46.957539"]]
393
+ SQL (1.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-08-16 10:29:13.942357"], ["updated_at", "2017-08-16 10:29:13.942357"]]
386
394
   (0.1ms) RELEASE SAVEPOINT active_record_1
387
395
   (0.1ms) SAVEPOINT active_record_1
388
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.967707"], ["created_at", "2017-08-16 02:44:46.967640"], ["updated_at", "2017-08-16 02:44:46.967640"]]
389
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content11"], ["created_at", "2017-08-16 02:44:46.969075"], ["updated_at", "2017-08-16 02:44:46.969075"]]
390
- SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.970923"], ["updated_at", "2017-08-16 02:44:46.970923"]]
396
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
397
+ SQL (0.6ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:13.955357"], ["created_at", "2017-08-16 10:29:13.955212"], ["updated_at", "2017-08-16 10:29:13.955212"]]
398
+ SQL (2.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:13.967243"], ["updated_at", "2017-08-16 10:29:13.967243"]]
399
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:13.973919"], ["updated_at", "2017-08-16 10:29:13.973919"]]
391
400
   (0.1ms) RELEASE SAVEPOINT active_record_1
392
-  (0.8ms) rollback transaction
393
-  (0.1ms) begin transaction
401
+  (0.4ms) SELECT COUNT(*) FROM "approval_items"
402
+  (2.3ms) rollback transaction
403
+  (0.7ms) begin transaction
404
+  (0.6ms) SAVEPOINT active_record_1
405
+ SQL (1.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 10:29:14.032836"], ["updated_at", "2017-08-16 10:29:14.032836"]]
406
+  (0.4ms) RELEASE SAVEPOINT active_record_1
407
+  (0.2ms) SAVEPOINT active_record_1
408
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 10:29:14.042281"], ["updated_at", "2017-08-16 10:29:14.042281"]]
409
+  (0.2ms) RELEASE SAVEPOINT active_record_1
410
+  (0.4ms) SAVEPOINT active_record_1
411
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
412
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.078718"], ["created_at", "2017-08-16 10:29:14.078190"], ["updated_at", "2017-08-16 10:29:14.078190"]]
413
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.083360"], ["updated_at", "2017-08-16 10:29:14.083360"]]
414
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.085003"], ["updated_at", "2017-08-16 10:29:14.085003"]]
415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
416
+  (4.0ms) rollback transaction
417
+  (0.5ms) begin transaction
418
+  (0.4ms) SAVEPOINT active_record_1
419
+ SQL (2.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 10:29:14.103652"], ["updated_at", "2017-08-16 10:29:14.103652"]]
420
+  (0.4ms) RELEASE SAVEPOINT active_record_1
421
+  (1.0ms) SAVEPOINT active_record_1
422
+ SQL (0.6ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 10:29:14.123480"], ["updated_at", "2017-08-16 10:29:14.123480"]]
423
+  (0.3ms) RELEASE SAVEPOINT active_record_1
394
424
   (0.1ms) SAVEPOINT active_record_1
395
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 02:44:46.979435"], ["updated_at", "2017-08-16 02:44:46.979435"]]
425
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 10:29:14.130138"], ["updated_at", "2017-08-16 10:29:14.130138"]]
396
426
   (0.1ms) RELEASE SAVEPOINT active_record_1
427
+  (0.2ms) SAVEPOINT active_record_1
428
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 10:29:14.132773"], ["updated_at", "2017-08-16 10:29:14.132773"]]
429
+  (0.2ms) RELEASE SAVEPOINT active_record_1
430
+  (9.2ms) SAVEPOINT active_record_1
431
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
432
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.152683"], ["created_at", "2017-08-16 10:29:14.152615"], ["updated_at", "2017-08-16 10:29:14.152615"]]
433
+ SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.158934"], ["updated_at", "2017-08-16 10:29:14.158934"]]
434
+ SQL (0.7ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.162984"], ["updated_at", "2017-08-16 10:29:14.162984"]]
435
+ SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.169018"], ["updated_at", "2017-08-16 10:29:14.169018"]]
436
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.172585"], ["updated_at", "2017-08-16 10:29:14.172585"]]
437
+  (0.2ms) RELEASE SAVEPOINT active_record_1
438
+  (4.7ms) rollback transaction
439
+  (0.4ms) begin transaction
440
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
397
441
   (0.1ms) SAVEPOINT active_record_1
398
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 02:44:46.981999"], ["updated_at", "2017-08-16 02:44:46.981999"]]
442
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 10:29:14.197808"], ["updated_at", "2017-08-16 10:29:14.197808"]]
399
443
   (0.1ms) RELEASE SAVEPOINT active_record_1
400
444
   (0.1ms) SAVEPOINT active_record_1
401
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 02:44:46.987716"], ["created_at", "2017-08-16 02:44:46.987643"], ["updated_at", "2017-08-16 02:44:46.987643"]]
402
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content12"], ["created_at", "2017-08-16 02:44:46.989320"], ["updated_at", "2017-08-16 02:44:46.989320"]]
403
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 02:44:46.990660"], ["updated_at", "2017-08-16 02:44:46.990660"]]
445
+ SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 10:29:14.209287"], ["updated_at", "2017-08-16 10:29:14.209287"]]
404
446
   (0.1ms) RELEASE SAVEPOINT active_record_1
405
-  (0.4ms) rollback transaction
406
-  (0.1ms) begin transaction
407
-  (0.1ms) rollback transaction
408
-  (0.1ms) begin transaction
409
447
   (0.1ms) SAVEPOINT active_record_1
410
- SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 02:44:47.001607"], ["updated_at", "2017-08-16 02:44:47.001607"]]
448
+ SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 10:29:14.213463"], ["updated_at", "2017-08-16 10:29:14.213463"]]
449
+  (0.2ms) RELEASE SAVEPOINT active_record_1
450
+  (0.0ms) SAVEPOINT active_record_1
451
+ SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 10:29:14.215825"], ["updated_at", "2017-08-16 10:29:14.215825"]]
411
452
   (0.1ms) RELEASE SAVEPOINT active_record_1
412
-  (0.9ms) rollback transaction
413
-  (0.1ms) begin transaction
414
453
   (0.1ms) SAVEPOINT active_record_1
415
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 02:44:47.009397"], ["updated_at", "2017-08-16 02:44:47.009397"]]
416
-  (0.1ms) RELEASE SAVEPOINT active_record_1
417
-  (0.4ms) rollback transaction
454
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
455
+ SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.241882"], ["created_at", "2017-08-16 10:29:14.241698"], ["updated_at", "2017-08-16 10:29:14.241698"]]
456
+ SQL (1.0ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.249726"], ["updated_at", "2017-08-16 10:29:14.249726"]]
457
+ 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-08-16 10:29:14.257620"], ["updated_at", "2017-08-16 10:29:14.257620"]]
458
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 10:29:14.263962"], ["updated_at", "2017-08-16 10:29:14.263962"]]
459
+ SQL (7.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-08-16 10:29:14.266172"], ["updated_at", "2017-08-16 10:29:14.266172"]]
460
+  (0.3ms) RELEASE SAVEPOINT active_record_1
461
+  (0.3ms) SELECT COUNT(*) FROM "approval_items"
462
+  (1.6ms) rollback transaction
418
463
   (0.1ms) begin transaction
419
464
   (0.1ms) rollback transaction
420
465
   (0.1ms) begin transaction
466
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
421
467
   (0.1ms) SAVEPOINT active_record_1
422
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 02:44:47.033199"], ["updated_at", "2017-08-16 02:44:47.033199"]]
423
-  (0.1ms) RELEASE SAVEPOINT active_record_1
424
-  (0.4ms) rollback transaction
425
-  (0.1ms) begin transaction
468
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-08-16 10:29:14.286706"], ["updated_at", "2017-08-16 10:29:14.286706"]]
469
+  (0.6ms) RELEASE SAVEPOINT active_record_1
426
470
   (0.1ms) SAVEPOINT active_record_1
427
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 02:44:47.038813"], ["updated_at", "2017-08-16 02:44:47.038813"]]
428
-  (0.1ms) RELEASE SAVEPOINT active_record_1
429
-  (0.5ms) rollback transaction
430
-  (0.1ms) begin transaction
431
-  (0.2ms) SAVEPOINT active_record_1
432
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-08-16 02:44:47.045986"], ["updated_at", "2017-08-16 02:44:47.045986"]]
433
-  (0.1ms) RELEASE SAVEPOINT active_record_1
434
-  (0.6ms) rollback transaction
435
-  (0.1ms) begin transaction
436
-  (0.2ms) SAVEPOINT active_record_1
437
- SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 02:44:47.056075"], ["updated_at", "2017-08-16 02:44:47.056075"]]
471
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
472
+ SQL (0.6ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.338950"], ["created_at", "2017-08-16 10:29:14.338831"], ["updated_at", "2017-08-16 10:29:14.338831"]]
473
+ SQL (1.0ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.344724"], ["updated_at", "2017-08-16 10:29:14.344724"]]
474
+ 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: name32\n"], ["created_at", "2017-08-16 10:29:14.347963"], ["updated_at", "2017-08-16 10:29:14.347963"]]
475
+ 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: name33\n"], ["created_at", "2017-08-16 10:29:14.349708"], ["updated_at", "2017-08-16 10:29:14.349708"]]
476
+ 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: name34\n"], ["created_at", "2017-08-16 10:29:14.351140"], ["updated_at", "2017-08-16 10:29:14.351140"]]
438
477
   (0.1ms) RELEASE SAVEPOINT active_record_1
439
-  (0.5ms) rollback transaction
478
+  (0.1ms) SELECT COUNT(*) FROM "approval_items"
479
+  (1.9ms) rollback transaction
480
+  (0.3ms) begin transaction
481
+  (0.3ms) SAVEPOINT active_record_1
482
+ SQL (2.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-08-16 10:29:14.381566"], ["updated_at", "2017-08-16 10:29:14.381566"]]
483
+  (0.7ms) RELEASE SAVEPOINT active_record_1
484
+  (0.1ms) SAVEPOINT active_record_1
485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
486
+ SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.418989"], ["created_at", "2017-08-16 10:29:14.418893"], ["updated_at", "2017-08-16 10:29:14.418893"]]
487
+ 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-08-16 10:29:14.420503"], ["updated_at", "2017-08-16 10:29:14.420503"]]
488
+ SQL (1.0ms) 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: name35\n"], ["created_at", "2017-08-16 10:29:14.428739"], ["updated_at", "2017-08-16 10:29:14.428739"]]
489
+ 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: name36\n"], ["created_at", "2017-08-16 10:29:14.438139"], ["updated_at", "2017-08-16 10:29:14.438139"]]
490
+ 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: name37\n"], ["created_at", "2017-08-16 10:29:14.443429"], ["updated_at", "2017-08-16 10:29:14.443429"]]
491
+  (0.6ms) RELEASE SAVEPOINT active_record_1
492
+  (4.8ms) rollback transaction
440
493
   (0.1ms) begin transaction
441
-  (3.3ms) SELECT COUNT(*) FROM "approval_items"
494
+  (0.2ms) SELECT COUNT(*) FROM "approval_items"
442
495
   (0.1ms) SAVEPOINT active_record_1
443
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 02:44:47.069481"], ["updated_at", "2017-08-16 02:44:47.069481"]]
444
-  (0.1ms) RELEASE SAVEPOINT active_record_1
445
-  (0.1ms) SAVEPOINT active_record_1
446
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 02:44:47.071493"], ["updated_at", "2017-08-16 02:44:47.071493"]]
447
-  (0.2ms) RELEASE SAVEPOINT active_record_1
448
-  (0.3ms) SAVEPOINT active_record_1
449
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
450
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.084989"], ["created_at", "2017-08-16 02:44:47.084923"], ["updated_at", "2017-08-16 02:44:47.084923"]]
451
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.086397"], ["updated_at", "2017-08-16 02:44:47.086397"]]
452
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.087885"], ["updated_at", "2017-08-16 02:44:47.087885"]]
453
-  (0.1ms) RELEASE SAVEPOINT active_record_1
454
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
455
-  (0.8ms) rollback transaction
456
-  (0.1ms) begin transaction
457
-  (0.2ms) SAVEPOINT active_record_1
458
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 02:44:47.127547"], ["updated_at", "2017-08-16 02:44:47.127547"]]
459
-  (0.1ms) RELEASE SAVEPOINT active_record_1
460
-  (0.0ms) SAVEPOINT active_record_1
461
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 02:44:47.129427"], ["updated_at", "2017-08-16 02:44:47.129427"]]
462
-  (0.1ms) RELEASE SAVEPOINT active_record_1
463
-  (0.0ms) SAVEPOINT active_record_1
464
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
465
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.135099"], ["created_at", "2017-08-16 02:44:47.135032"], ["updated_at", "2017-08-16 02:44:47.135032"]]
466
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.136261"], ["updated_at", "2017-08-16 02:44:47.136261"]]
467
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.137261"], ["updated_at", "2017-08-16 02:44:47.137261"]]
468
-  (0.1ms) RELEASE SAVEPOINT active_record_1
469
-  (0.6ms) rollback transaction
470
-  (0.1ms) begin transaction
471
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
472
-  (0.0ms) SAVEPOINT active_record_1
473
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 02:44:47.141495"], ["updated_at", "2017-08-16 02:44:47.141495"]]
474
-  (0.0ms) RELEASE SAVEPOINT active_record_1
475
-  (0.0ms) SAVEPOINT active_record_1
476
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 02:44:47.143075"], ["updated_at", "2017-08-16 02:44:47.143075"]]
477
-  (0.1ms) RELEASE SAVEPOINT active_record_1
478
-  (0.1ms) SAVEPOINT active_record_1
479
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 02:44:47.145256"], ["updated_at", "2017-08-16 02:44:47.145256"]]
480
-  (0.1ms) RELEASE SAVEPOINT active_record_1
481
-  (0.1ms) SAVEPOINT active_record_1
482
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 02:44:47.147774"], ["updated_at", "2017-08-16 02:44:47.147774"]]
483
-  (0.1ms) RELEASE SAVEPOINT active_record_1
484
-  (0.1ms) SAVEPOINT active_record_1
485
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
486
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.159128"], ["created_at", "2017-08-16 02:44:47.159061"], ["updated_at", "2017-08-16 02:44:47.159061"]]
487
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.160447"], ["updated_at", "2017-08-16 02:44:47.160447"]]
488
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.161871"], ["updated_at", "2017-08-16 02:44:47.161871"]]
489
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.166687"], ["updated_at", "2017-08-16 02:44:47.166687"]]
490
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.167954"], ["updated_at", "2017-08-16 02:44:47.167954"]]
491
-  (0.0ms) RELEASE SAVEPOINT active_record_1
492
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
493
-  (0.5ms) rollback transaction
494
-  (0.4ms) begin transaction
495
-  (0.1ms) SAVEPOINT active_record_1
496
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 02:44:47.174386"], ["updated_at", "2017-08-16 02:44:47.174386"]]
497
-  (0.1ms) RELEASE SAVEPOINT active_record_1
498
-  (0.1ms) SAVEPOINT active_record_1
499
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 02:44:47.177530"], ["updated_at", "2017-08-16 02:44:47.177530"]]
500
-  (0.0ms) RELEASE SAVEPOINT active_record_1
501
-  (0.1ms) SAVEPOINT active_record_1
502
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 02:44:47.179094"], ["updated_at", "2017-08-16 02:44:47.179094"]]
503
-  (0.0ms) RELEASE SAVEPOINT active_record_1
504
-  (0.0ms) SAVEPOINT active_record_1
505
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 02:44:47.180398"], ["updated_at", "2017-08-16 02:44:47.180398"]]
506
-  (0.0ms) RELEASE SAVEPOINT active_record_1
507
-  (0.0ms) SAVEPOINT active_record_1
508
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
509
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.187197"], ["created_at", "2017-08-16 02:44:47.187136"], ["updated_at", "2017-08-16 02:44:47.187136"]]
510
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.188314"], ["updated_at", "2017-08-16 02:44:47.188314"]]
511
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.189477"], ["updated_at", "2017-08-16 02:44:47.189477"]]
512
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.190744"], ["updated_at", "2017-08-16 02:44:47.190744"]]
513
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 02:44:47.191900"], ["updated_at", "2017-08-16 02:44:47.191900"]]
514
-  (0.0ms) RELEASE SAVEPOINT active_record_1
515
-  (0.5ms) rollback transaction
516
-  (0.2ms) begin transaction
517
-  (0.3ms) SAVEPOINT active_record_1
518
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-08-16 02:44:47.202114"], ["updated_at", "2017-08-16 02:44:47.202114"]]
519
-  (0.1ms) RELEASE SAVEPOINT active_record_1
520
-  (0.1ms) SAVEPOINT active_record_1
521
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 02:44:47.206681"], ["updated_at", "2017-08-16 02:44:47.206681"]]
522
-  (0.1ms) RELEASE SAVEPOINT active_record_1
523
-  (0.1ms) SAVEPOINT active_record_1
524
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
525
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.219348"], ["created_at", "2017-08-16 02:44:47.219227"], ["updated_at", "2017-08-16 02:44:47.219227"]]
526
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.220895"], ["updated_at", "2017-08-16 02:44:47.220895"]]
527
- SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.223442"], ["updated_at", "2017-08-16 02:44:47.223442"]]
528
-  (0.1ms) RELEASE SAVEPOINT active_record_1
529
-  (0.6ms) rollback transaction
530
-  (0.1ms) begin transaction
531
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
532
-  (0.0ms) SAVEPOINT active_record_1
533
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-08-16 02:44:47.229982"], ["updated_at", "2017-08-16 02:44:47.229982"]]
534
-  (0.1ms) RELEASE SAVEPOINT active_record_1
535
-  (0.0ms) SAVEPOINT active_record_1
536
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 02:44:47.232148"], ["updated_at", "2017-08-16 02:44:47.232148"]]
537
-  (0.1ms) RELEASE SAVEPOINT active_record_1
538
-  (0.0ms) SAVEPOINT active_record_1
539
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
540
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.239958"], ["created_at", "2017-08-16 02:44:47.239889"], ["updated_at", "2017-08-16 02:44:47.239889"]]
541
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.241146"], ["updated_at", "2017-08-16 02:44:47.241146"]]
542
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 02:44:47.242331"], ["updated_at", "2017-08-16 02:44:47.242331"]]
543
-  (0.1ms) RELEASE SAVEPOINT active_record_1
544
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
545
-  (0.5ms) rollback transaction
546
-  (0.1ms) begin transaction
547
-  (0.3ms) SELECT COUNT(*) FROM "approval_items"
548
-  (0.1ms) SAVEPOINT active_record_1
549
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 02:44:47.256982"], ["updated_at", "2017-08-16 02:44:47.256982"]]
550
-  (0.1ms) RELEASE SAVEPOINT active_record_1
551
-  (0.1ms) SAVEPOINT active_record_1
552
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-08-16 02:44:47.259139"], ["updated_at", "2017-08-16 02:44:47.259139"]]
553
-  (0.1ms) RELEASE SAVEPOINT active_record_1
554
-  (0.1ms) SAVEPOINT active_record_1
555
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 02:44:47.260816"], ["updated_at", "2017-08-16 02:44:47.260816"]]
556
-  (3.7ms) RELEASE SAVEPOINT active_record_1
557
-  (0.1ms) SAVEPOINT active_record_1
558
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 02:44:47.266510"], ["updated_at", "2017-08-16 02:44:47.266510"]]
559
-  (0.0ms) RELEASE SAVEPOINT active_record_1
560
-  (0.0ms) SAVEPOINT active_record_1
561
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
562
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.279071"], ["created_at", "2017-08-16 02:44:47.279002"], ["updated_at", "2017-08-16 02:44:47.279002"]]
563
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.280314"], ["updated_at", "2017-08-16 02:44:47.280314"]]
564
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.281501"], ["updated_at", "2017-08-16 02:44:47.281501"]]
565
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.282946"], ["updated_at", "2017-08-16 02:44:47.282946"]]
566
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.284601"], ["updated_at", "2017-08-16 02:44:47.284601"]]
567
-  (0.2ms) RELEASE SAVEPOINT active_record_1
568
-  (0.4ms) SELECT COUNT(*) FROM "approval_items"
569
-  (0.6ms) rollback transaction
570
-  (0.1ms) begin transaction
571
-  (0.1ms) SAVEPOINT active_record_1
572
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 02:44:47.292129"], ["updated_at", "2017-08-16 02:44:47.292129"]]
573
-  (0.1ms) RELEASE SAVEPOINT active_record_1
574
-  (0.1ms) SAVEPOINT active_record_1
575
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 02:44:47.295640"], ["updated_at", "2017-08-16 02:44:47.295640"]]
576
-  (0.1ms) RELEASE SAVEPOINT active_record_1
577
-  (0.1ms) SAVEPOINT active_record_1
578
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 02:44:47.298338"], ["updated_at", "2017-08-16 02:44:47.298338"]]
579
-  (0.1ms) RELEASE SAVEPOINT active_record_1
580
-  (0.1ms) SAVEPOINT active_record_1
581
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 02:44:47.301538"], ["updated_at", "2017-08-16 02:44:47.301538"]]
582
-  (7.4ms) RELEASE SAVEPOINT active_record_1
583
-  (1.0ms) SAVEPOINT active_record_1
584
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
585
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.329312"], ["created_at", "2017-08-16 02:44:47.329237"], ["updated_at", "2017-08-16 02:44:47.329237"]]
586
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.330983"], ["updated_at", "2017-08-16 02:44:47.330983"]]
587
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 02:44:47.332708"], ["updated_at", "2017-08-16 02:44:47.332708"]]
588
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 02:44:47.334418"], ["updated_at", "2017-08-16 02:44:47.334418"]]
589
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 02:44:47.336082"], ["updated_at", "2017-08-16 02:44:47.336082"]]
590
-  (0.1ms) RELEASE SAVEPOINT active_record_1
591
-  (1.5ms) rollback transaction
592
-  (0.2ms) begin transaction
593
-  (0.1ms) rollback transaction
594
-  (0.1ms) begin transaction
595
-  (0.3ms) SELECT COUNT(*) FROM "approval_items"
596
-  (0.1ms) SAVEPOINT active_record_1
597
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 02:44:47.348095"], ["updated_at", "2017-08-16 02:44:47.348095"]]
598
-  (0.1ms) RELEASE SAVEPOINT active_record_1
599
-  (0.1ms) SAVEPOINT active_record_1
600
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
601
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.368975"], ["created_at", "2017-08-16 02:44:47.368914"], ["updated_at", "2017-08-16 02:44:47.368914"]]
602
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.370344"], ["updated_at", "2017-08-16 02:44:47.370344"]]
603
- SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name41\n"], ["created_at", "2017-08-16 02:44:47.373232"], ["updated_at", "2017-08-16 02:44:47.373232"]]
604
-  (0.1ms) RELEASE SAVEPOINT active_record_1
605
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
606
-  (1.3ms) rollback transaction
607
-  (0.1ms) begin transaction
608
-  (0.1ms) SAVEPOINT active_record_1
609
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 02:44:47.384267"], ["updated_at", "2017-08-16 02:44:47.384267"]]
610
-  (0.0ms) RELEASE SAVEPOINT active_record_1
611
-  (0.0ms) SAVEPOINT active_record_1
612
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
613
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.391260"], ["created_at", "2017-08-16 02:44:47.391195"], ["updated_at", "2017-08-16 02:44:47.391195"]]
614
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.392420"], ["updated_at", "2017-08-16 02:44:47.392420"]]
615
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name42\n"], ["created_at", "2017-08-16 02:44:47.394438"], ["updated_at", "2017-08-16 02:44:47.394438"]]
616
-  (0.1ms) RELEASE SAVEPOINT active_record_1
617
-  (0.7ms) rollback transaction
618
-  (0.1ms) begin transaction
619
-  (0.1ms) SAVEPOINT active_record_1
620
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 02:44:47.400930"], ["updated_at", "2017-08-16 02:44:47.400930"]]
621
-  (0.1ms) RELEASE SAVEPOINT active_record_1
622
-  (0.1ms) SAVEPOINT active_record_1
623
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
624
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.417450"], ["created_at", "2017-08-16 02:44:47.417385"], ["updated_at", "2017-08-16 02:44:47.417385"]]
625
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.418620"], ["updated_at", "2017-08-16 02:44:47.418620"]]
626
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name43\n"], ["created_at", "2017-08-16 02:44:47.419824"], ["updated_at", "2017-08-16 02:44:47.419824"]]
627
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name44\n"], ["created_at", "2017-08-16 02:44:47.422267"], ["updated_at", "2017-08-16 02:44:47.422267"]]
628
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name45\n"], ["created_at", "2017-08-16 02:44:47.426287"], ["updated_at", "2017-08-16 02:44:47.426287"]]
629
-  (0.1ms) RELEASE SAVEPOINT active_record_1
630
-  (0.4ms) rollback transaction
631
-  (0.1ms) begin transaction
632
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
633
-  (0.1ms) SAVEPOINT active_record_1
634
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 02:44:47.431303"], ["updated_at", "2017-08-16 02:44:47.431303"]]
635
-  (0.0ms) RELEASE SAVEPOINT active_record_1
636
-  (0.0ms) SAVEPOINT active_record_1
637
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
638
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 02:44:47.440487"], ["created_at", "2017-08-16 02:44:47.440411"], ["updated_at", "2017-08-16 02:44:47.440411"]]
639
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 02:44:47.441712"], ["updated_at", "2017-08-16 02:44:47.441712"]]
640
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name46\n"], ["created_at", "2017-08-16 02:44:47.442918"], ["updated_at", "2017-08-16 02:44:47.442918"]]
641
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name47\n"], ["created_at", "2017-08-16 02:44:47.445747"], ["updated_at", "2017-08-16 02:44:47.445747"]]
642
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name48\n"], ["created_at", "2017-08-16 02:44:47.448509"], ["updated_at", "2017-08-16 02:44:47.448509"]]
643
-  (0.1ms) RELEASE SAVEPOINT active_record_1
644
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
645
-  (0.6ms) rollback transaction
646
-  (0.1ms) begin transaction
647
-  (0.1ms) rollback transaction
648
-  (0.1ms) begin transaction
649
-  (0.1ms) SAVEPOINT active_record_1
650
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-08-16 02:44:47.458829"], ["updated_at", "2017-08-16 02:44:47.458829"]]
651
-  (0.1ms) RELEASE SAVEPOINT active_record_1
652
-  (0.4ms) rollback transaction
653
-  (0.1ms) begin transaction
654
-  (0.1ms) rollback transaction
655
-  (0.1ms) begin transaction
656
-  (0.0ms) rollback transaction
657
-  (0.1ms) begin transaction
658
-  (0.1ms) rollback transaction
659
-  (0.1ms) begin transaction
660
-  (0.1ms) rollback transaction
661
-  (0.1ms) begin transaction
662
-  (0.1ms) rollback transaction
663
-  (0.1ms) begin transaction
664
-  (0.0ms) rollback transaction
665
-  (0.1ms) begin transaction
666
-  (0.0ms) rollback transaction
667
-  (0.0ms) begin transaction
668
-  (0.1ms) rollback transaction
669
-  (0.1ms) begin transaction
670
-  (0.1ms) rollback transaction
671
-  (0.1ms) begin transaction
672
-  (0.1ms) rollback transaction
673
-  (0.1ms) begin transaction
674
-  (0.1ms) rollback transaction
675
-  (0.1ms) begin transaction
676
-  (0.1ms) SAVEPOINT active_record_1
677
- SQL (1.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 03:34:53.473271"], ["updated_at", "2017-08-16 03:34:53.473271"]]
678
-  (0.1ms) RELEASE SAVEPOINT active_record_1
679
-  (0.5ms) rollback transaction
680
-  (0.2ms) begin transaction
681
-  (0.0ms) rollback transaction
682
-  (0.1ms) begin transaction
683
-  (0.1ms) rollback transaction
684
-  (0.1ms) begin transaction
685
-  (0.1ms) rollback transaction
686
-  (0.1ms) begin transaction
687
-  (0.1ms) rollback transaction
688
-  (0.1ms) begin transaction
689
-  (0.1ms) SAVEPOINT active_record_1
690
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 03:34:53.492196"], ["updated_at", "2017-08-16 03:34:53.492196"]]
691
-  (0.0ms) RELEASE SAVEPOINT active_record_1
692
-  (0.2ms) SAVEPOINT active_record_1
693
- SQL (0.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.553334"], ["created_at", "2017-08-16 03:34:53.552944"], ["updated_at", "2017-08-16 03:34:53.552944"]]
694
- SQL (0.7ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content1"], ["created_at", "2017-08-16 03:34:53.556356"], ["updated_at", "2017-08-16 03:34:53.556356"]]
695
- SQL (0.8ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.558454"], ["updated_at", "2017-08-16 03:34:53.558454"]]
696
-  (0.1ms) RELEASE SAVEPOINT active_record_1
697
-  (0.6ms) rollback transaction
698
-  (0.1ms) begin transaction
699
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
700
-  (0.1ms) SAVEPOINT active_record_1
701
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 03:34:53.573343"], ["updated_at", "2017-08-16 03:34:53.573343"]]
702
-  (0.0ms) RELEASE SAVEPOINT active_record_1
703
-  (0.0ms) SAVEPOINT active_record_1
704
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name1"], ["created_at", "2017-08-16 03:34:53.575527"], ["updated_at", "2017-08-16 03:34:53.575527"]]
705
-  (0.2ms) RELEASE SAVEPOINT active_record_1
706
-  (0.1ms) SAVEPOINT active_record_1
707
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
708
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
709
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
710
- SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.594033"], ["created_at", "2017-08-16 03:34:53.593899"], ["updated_at", "2017-08-16 03:34:53.593899"]]
711
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.596216"], ["updated_at", "2017-08-16 03:34:53.596216"]]
712
- Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
713
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.597730"], ["updated_at", "2017-08-16 03:34:53.597730"]]
714
-  (0.1ms) RELEASE SAVEPOINT active_record_1
715
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
716
-  (0.6ms) rollback transaction
717
-  (0.1ms) begin transaction
718
-  (0.1ms) SAVEPOINT active_record_1
719
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 03:34:53.632821"], ["updated_at", "2017-08-16 03:34:53.632821"]]
720
-  (0.1ms) RELEASE SAVEPOINT active_record_1
721
-  (0.0ms) SAVEPOINT active_record_1
722
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name2"], ["created_at", "2017-08-16 03:34:53.634991"], ["updated_at", "2017-08-16 03:34:53.634991"]]
723
-  (0.1ms) RELEASE SAVEPOINT active_record_1
724
-  (0.1ms) SAVEPOINT active_record_1
725
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
726
- Book Load (0.0ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
727
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
728
- SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.644889"], ["created_at", "2017-08-16 03:34:53.644803"], ["updated_at", "2017-08-16 03:34:53.644803"]]
729
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.646652"], ["updated_at", "2017-08-16 03:34:53.646652"]]
730
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
731
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name\n"], ["created_at", "2017-08-16 03:34:53.648658"], ["updated_at", "2017-08-16 03:34:53.648658"]]
732
-  (0.0ms) RELEASE SAVEPOINT active_record_1
733
-  (0.6ms) rollback transaction
734
-  (0.1ms) begin transaction
735
-  (0.1ms) SAVEPOINT active_record_1
736
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 03:34:53.653647"], ["updated_at", "2017-08-16 03:34:53.653647"]]
737
-  (0.1ms) RELEASE SAVEPOINT active_record_1
738
-  (0.0ms) SAVEPOINT active_record_1
739
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name3"], ["created_at", "2017-08-16 03:34:53.656085"], ["updated_at", "2017-08-16 03:34:53.656085"]]
740
-  (0.0ms) RELEASE SAVEPOINT active_record_1
741
-  (0.0ms) SAVEPOINT active_record_1
742
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name4"], ["created_at", "2017-08-16 03:34:53.657655"], ["updated_at", "2017-08-16 03:34:53.657655"]]
743
-  (0.0ms) RELEASE SAVEPOINT active_record_1
744
-  (0.1ms) SAVEPOINT active_record_1
745
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name5"], ["created_at", "2017-08-16 03:34:53.659786"], ["updated_at", "2017-08-16 03:34:53.659786"]]
746
-  (0.1ms) RELEASE SAVEPOINT active_record_1
747
-  (0.1ms) SAVEPOINT active_record_1
748
- Book Load (0.6ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
749
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
750
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
751
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
752
- Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
753
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
754
- User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
755
- SQL (0.8ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.690357"], ["created_at", "2017-08-16 03:34:53.689870"], ["updated_at", "2017-08-16 03:34:53.689870"]]
756
- SQL (0.5ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.697852"], ["updated_at", "2017-08-16 03:34:53.697852"]]
757
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
758
- SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.702359"], ["updated_at", "2017-08-16 03:34:53.702359"]]
759
- Book Load (0.5ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
760
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.707921"], ["updated_at", "2017-08-16 03:34:53.707921"]]
761
- Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
762
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.714662"], ["updated_at", "2017-08-16 03:34:53.714662"]]
763
-  (0.0ms) RELEASE SAVEPOINT active_record_1
764
-  (1.2ms) rollback transaction
765
-  (0.1ms) begin transaction
766
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
767
-  (0.1ms) SAVEPOINT active_record_1
768
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 03:34:53.720701"], ["updated_at", "2017-08-16 03:34:53.720701"]]
769
-  (0.1ms) RELEASE SAVEPOINT active_record_1
770
-  (0.1ms) SAVEPOINT active_record_1
771
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name6"], ["created_at", "2017-08-16 03:34:53.722829"], ["updated_at", "2017-08-16 03:34:53.722829"]]
772
-  (0.0ms) RELEASE SAVEPOINT active_record_1
773
-  (0.0ms) SAVEPOINT active_record_1
774
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 03:34:53.724433"], ["updated_at", "2017-08-16 03:34:53.724433"]]
775
-  (0.0ms) RELEASE SAVEPOINT active_record_1
776
-  (0.0ms) SAVEPOINT active_record_1
777
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 03:34:53.726079"], ["updated_at", "2017-08-16 03:34:53.726079"]]
778
-  (0.0ms) RELEASE SAVEPOINT active_record_1
779
-  (0.0ms) SAVEPOINT active_record_1
780
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
781
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
782
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
783
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
784
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
785
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
786
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
787
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.740210"], ["created_at", "2017-08-16 03:34:53.740125"], ["updated_at", "2017-08-16 03:34:53.740125"]]
788
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.741761"], ["updated_at", "2017-08-16 03:34:53.741761"]]
789
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
790
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 0\n"], ["created_at", "2017-08-16 03:34:53.743444"], ["updated_at", "2017-08-16 03:34:53.743444"]]
791
- Book Load (0.5ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]]
792
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 1\n"], ["created_at", "2017-08-16 03:34:53.746692"], ["updated_at", "2017-08-16 03:34:53.746692"]]
793
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 3], ["LIMIT", 1]]
794
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "update"], ["params", "---\nname: changed name 2\n"], ["created_at", "2017-08-16 03:34:53.748887"], ["updated_at", "2017-08-16 03:34:53.748887"]]
795
-  (0.1ms) RELEASE SAVEPOINT active_record_1
796
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
797
-  (1.0ms) rollback transaction
798
-  (0.1ms) begin transaction
799
-  (0.1ms) SAVEPOINT active_record_1
800
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name7"], ["created_at", "2017-08-16 03:34:53.756451"], ["updated_at", "2017-08-16 03:34:53.756451"]]
801
-  (0.4ms) RELEASE SAVEPOINT active_record_1
802
-  (0.0ms) SAVEPOINT active_record_1
803
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
804
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.768545"], ["created_at", "2017-08-16 03:34:53.768475"], ["updated_at", "2017-08-16 03:34:53.768475"]]
805
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.770947"], ["updated_at", "2017-08-16 03:34:53.770947"]]
806
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name9\n"], ["created_at", "2017-08-16 03:34:53.772674"], ["updated_at", "2017-08-16 03:34:53.772674"]]
807
-  (0.1ms) RELEASE SAVEPOINT active_record_1
808
-  (0.6ms) rollback transaction
809
-  (0.1ms) begin transaction
810
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
811
-  (0.1ms) SAVEPOINT active_record_1
812
- SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name8"], ["created_at", "2017-08-16 03:34:53.778794"], ["updated_at", "2017-08-16 03:34:53.778794"]]
813
-  (0.1ms) RELEASE SAVEPOINT active_record_1
814
-  (0.0ms) SAVEPOINT active_record_1
815
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
816
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.790154"], ["created_at", "2017-08-16 03:34:53.790083"], ["updated_at", "2017-08-16 03:34:53.790083"]]
817
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.791567"], ["updated_at", "2017-08-16 03:34:53.791567"]]
818
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name10\n"], ["created_at", "2017-08-16 03:34:53.793323"], ["updated_at", "2017-08-16 03:34:53.793323"]]
819
-  (0.1ms) RELEASE SAVEPOINT active_record_1
820
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
821
-  (0.5ms) rollback transaction
822
-  (0.1ms) begin transaction
823
-  (0.1ms) SAVEPOINT active_record_1
824
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name9"], ["created_at", "2017-08-16 03:34:53.805517"], ["updated_at", "2017-08-16 03:34:53.805517"]]
825
-  (0.0ms) RELEASE SAVEPOINT active_record_1
826
-  (0.1ms) SAVEPOINT active_record_1
827
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
828
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.822006"], ["created_at", "2017-08-16 03:34:53.821917"], ["updated_at", "2017-08-16 03:34:53.821917"]]
829
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.823634"], ["updated_at", "2017-08-16 03:34:53.823634"]]
830
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name11\n"], ["created_at", "2017-08-16 03:34:53.824988"], ["updated_at", "2017-08-16 03:34:53.824988"]]
831
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name12\n"], ["created_at", "2017-08-16 03:34:53.839324"], ["updated_at", "2017-08-16 03:34:53.839324"]]
832
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name13\n"], ["created_at", "2017-08-16 03:34:53.841038"], ["updated_at", "2017-08-16 03:34:53.841038"]]
833
-  (0.1ms) RELEASE SAVEPOINT active_record_1
834
-  (1.3ms) rollback transaction
835
-  (0.1ms) begin transaction
836
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
837
-  (0.0ms) SAVEPOINT active_record_1
838
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name10"], ["created_at", "2017-08-16 03:34:53.846946"], ["updated_at", "2017-08-16 03:34:53.846946"]]
839
-  (0.0ms) RELEASE SAVEPOINT active_record_1
840
-  (0.0ms) SAVEPOINT active_record_1
841
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
842
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:53.857236"], ["created_at", "2017-08-16 03:34:53.857164"], ["updated_at", "2017-08-16 03:34:53.857164"]]
843
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:53.859898"], ["updated_at", "2017-08-16 03:34:53.859898"]]
844
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name14\n"], ["created_at", "2017-08-16 03:34:53.862581"], ["updated_at", "2017-08-16 03:34:53.862581"]]
845
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name15\n"], ["created_at", "2017-08-16 03:34:53.864423"], ["updated_at", "2017-08-16 03:34:53.864423"]]
846
- SQL (0.1ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name16\n"], ["created_at", "2017-08-16 03:34:53.866716"], ["updated_at", "2017-08-16 03:34:53.866716"]]
847
-  (0.1ms) RELEASE SAVEPOINT active_record_1
848
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
849
-  (0.5ms) rollback transaction
850
-  (0.1ms) begin transaction
851
-  (0.1ms) SAVEPOINT active_record_1
852
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name11"], ["created_at", "2017-08-16 03:34:53.872259"], ["updated_at", "2017-08-16 03:34:53.872259"]]
853
-  (0.1ms) RELEASE SAVEPOINT active_record_1
854
-  (0.1ms) SAVEPOINT active_record_1
855
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name12"], ["created_at", "2017-08-16 03:34:53.875405"], ["updated_at", "2017-08-16 03:34:53.875405"]]
856
-  (0.1ms) RELEASE SAVEPOINT active_record_1
857
-  (0.1ms) SAVEPOINT active_record_1
858
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.881784"], ["created_at", "2017-08-16 03:34:53.881645"], ["updated_at", "2017-08-16 03:34:53.881645"]]
859
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content2"], ["created_at", "2017-08-16 03:34:53.883678"], ["updated_at", "2017-08-16 03:34:53.883678"]]
860
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.885500"], ["updated_at", "2017-08-16 03:34:53.885500"]]
861
-  (0.1ms) RELEASE SAVEPOINT active_record_1
862
-  (0.6ms) rollback transaction
863
-  (0.1ms) begin transaction
864
-  (0.1ms) SAVEPOINT active_record_1
865
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name13"], ["created_at", "2017-08-16 03:34:53.892186"], ["updated_at", "2017-08-16 03:34:53.892186"]]
866
-  (0.1ms) RELEASE SAVEPOINT active_record_1
867
-  (0.1ms) SAVEPOINT active_record_1
868
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name14"], ["created_at", "2017-08-16 03:34:53.894506"], ["updated_at", "2017-08-16 03:34:53.894506"]]
869
-  (0.1ms) RELEASE SAVEPOINT active_record_1
870
-  (0.7ms) SAVEPOINT active_record_1
871
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.904961"], ["created_at", "2017-08-16 03:34:53.904864"], ["updated_at", "2017-08-16 03:34:53.904864"]]
872
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content3"], ["created_at", "2017-08-16 03:34:53.907079"], ["updated_at", "2017-08-16 03:34:53.907079"]]
873
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.908694"], ["updated_at", "2017-08-16 03:34:53.908694"]]
874
-  (0.1ms) RELEASE SAVEPOINT active_record_1
875
-  (1.0ms) rollback transaction
876
-  (0.1ms) begin transaction
877
-  (0.1ms) SAVEPOINT active_record_1
878
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name15"], ["created_at", "2017-08-16 03:34:53.916451"], ["updated_at", "2017-08-16 03:34:53.916451"]]
879
-  (0.1ms) RELEASE SAVEPOINT active_record_1
880
-  (0.1ms) SAVEPOINT active_record_1
881
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name16"], ["created_at", "2017-08-16 03:34:53.918943"], ["updated_at", "2017-08-16 03:34:53.918943"]]
882
-  (0.1ms) RELEASE SAVEPOINT active_record_1
883
-  (0.1ms) SAVEPOINT active_record_1
884
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.926631"], ["created_at", "2017-08-16 03:34:53.926552"], ["updated_at", "2017-08-16 03:34:53.926552"]]
885
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content4"], ["created_at", "2017-08-16 03:34:53.928050"], ["updated_at", "2017-08-16 03:34:53.928050"]]
886
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.930092"], ["updated_at", "2017-08-16 03:34:53.930092"]]
887
-  (0.1ms) RELEASE SAVEPOINT active_record_1
888
-  (0.5ms) rollback transaction
889
-  (0.1ms) begin transaction
890
-  (0.1ms) SAVEPOINT active_record_1
891
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name17"], ["created_at", "2017-08-16 03:34:53.936149"], ["updated_at", "2017-08-16 03:34:53.936149"]]
892
-  (0.1ms) RELEASE SAVEPOINT active_record_1
893
-  (0.1ms) SAVEPOINT active_record_1
894
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name18"], ["created_at", "2017-08-16 03:34:53.939559"], ["updated_at", "2017-08-16 03:34:53.939559"]]
895
-  (0.0ms) RELEASE SAVEPOINT active_record_1
896
-  (0.1ms) SAVEPOINT active_record_1
897
- SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.945019"], ["created_at", "2017-08-16 03:34:53.944853"], ["updated_at", "2017-08-16 03:34:53.944853"]]
898
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 03:34:53.947491"], ["updated_at", "2017-08-16 03:34:53.947491"]]
899
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.948927"], ["updated_at", "2017-08-16 03:34:53.948927"]]
900
-  (0.1ms) RELEASE SAVEPOINT active_record_1
901
-  (0.4ms) rollback transaction
902
-  (0.1ms) begin transaction
903
-  (0.1ms) SAVEPOINT active_record_1
904
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name19"], ["created_at", "2017-08-16 03:34:53.955247"], ["updated_at", "2017-08-16 03:34:53.955247"]]
905
-  (0.1ms) RELEASE SAVEPOINT active_record_1
496
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-08-16 10:29:14.468178"], ["updated_at", "2017-08-16 10:29:14.468178"]]
497
+  (0.3ms) RELEASE SAVEPOINT active_record_1
906
498
   (0.1ms) SAVEPOINT active_record_1
907
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name20"], ["created_at", "2017-08-16 03:34:53.957690"], ["updated_at", "2017-08-16 03:34:53.957690"]]
908
-  (0.0ms) RELEASE SAVEPOINT active_record_1
499
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
500
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.498817"], ["created_at", "2017-08-16 10:29:14.498186"], ["updated_at", "2017-08-16 10:29:14.498186"]]
501
+ SQL (0.7ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.504274"], ["updated_at", "2017-08-16 10:29:14.504274"]]
502
+ SQL (1.8ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\nname: name38\n"], ["created_at", "2017-08-16 10:29:14.509145"], ["updated_at", "2017-08-16 10:29:14.509145"]]
503
+  (0.5ms) RELEASE SAVEPOINT active_record_1
504
+  (1.2ms) SELECT COUNT(*) FROM "approval_items"
505
+  (1.7ms) rollback transaction
506
+  (0.2ms) begin transaction
507
+  (0.3ms) SAVEPOINT active_record_1
508
+ SQL (0.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-08-16 10:29:14.547755"], ["updated_at", "2017-08-16 10:29:14.547755"]]
509
+  (0.4ms) RELEASE SAVEPOINT active_record_1
909
510
   (0.2ms) SAVEPOINT active_record_1
910
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.965611"], ["created_at", "2017-08-16 03:34:53.965523"], ["updated_at", "2017-08-16 03:34:53.965523"]]
911
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 03:34:53.967376"], ["updated_at", "2017-08-16 03:34:53.967376"]]
912
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.968686"], ["updated_at", "2017-08-16 03:34:53.968686"]]
913
-  (0.1ms) RELEASE SAVEPOINT active_record_1
914
-  (0.6ms) rollback transaction
915
-  (0.1ms) begin transaction
916
-  (0.1ms) SAVEPOINT active_record_1
917
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name21"], ["created_at", "2017-08-16 03:34:53.974392"], ["updated_at", "2017-08-16 03:34:53.974392"]]
918
-  (0.1ms) RELEASE SAVEPOINT active_record_1
919
-  (0.0ms) SAVEPOINT active_record_1
920
- SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name22"], ["created_at", "2017-08-16 03:34:53.976736"], ["updated_at", "2017-08-16 03:34:53.976736"]]
921
-  (0.1ms) RELEASE SAVEPOINT active_record_1
922
-  (0.1ms) SAVEPOINT active_record_1
923
- SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:53.984516"], ["created_at", "2017-08-16 03:34:53.984444"], ["updated_at", "2017-08-16 03:34:53.984444"]]
924
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content7"], ["created_at", "2017-08-16 03:34:53.986896"], ["updated_at", "2017-08-16 03:34:53.986896"]]
925
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:53.988536"], ["updated_at", "2017-08-16 03:34:53.988536"]]
926
-  (0.1ms) RELEASE SAVEPOINT active_record_1
927
-  (0.5ms) rollback transaction
928
-  (0.1ms) begin transaction
929
-  (0.1ms) SAVEPOINT active_record_1
930
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-08-16 03:34:53.994568"], ["updated_at", "2017-08-16 03:34:53.994568"]]
931
-  (0.1ms) RELEASE SAVEPOINT active_record_1
932
-  (0.1ms) SAVEPOINT active_record_1
933
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name24"], ["created_at", "2017-08-16 03:34:53.997572"], ["updated_at", "2017-08-16 03:34:53.997572"]]
934
-  (0.1ms) RELEASE SAVEPOINT active_record_1
935
-  (0.1ms) SAVEPOINT active_record_1
936
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.004295"], ["created_at", "2017-08-16 03:34:54.004214"], ["updated_at", "2017-08-16 03:34:54.004214"]]
937
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 03:34:54.005772"], ["updated_at", "2017-08-16 03:34:54.005772"]]
938
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.007309"], ["updated_at", "2017-08-16 03:34:54.007309"]]
939
-  (0.1ms) RELEASE SAVEPOINT active_record_1
940
-  (0.7ms) rollback transaction
941
-  (0.1ms) begin transaction
942
-  (0.1ms) SAVEPOINT active_record_1
943
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 03:34:54.016013"], ["updated_at", "2017-08-16 03:34:54.016013"]]
944
-  (0.0ms) RELEASE SAVEPOINT active_record_1
945
-  (0.1ms) SAVEPOINT active_record_1
946
- SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 03:34:54.019156"], ["updated_at", "2017-08-16 03:34:54.019156"]]
947
-  (0.1ms) RELEASE SAVEPOINT active_record_1
948
-  (0.1ms) SAVEPOINT active_record_1
949
- SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 03:34:54.024450"], ["created_at", "2017-08-16 03:34:54.024311"], ["updated_at", "2017-08-16 03:34:54.024311"]]
950
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 03:34:54.026743"], ["updated_at", "2017-08-16 03:34:54.026743"]]
951
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.029040"], ["updated_at", "2017-08-16 03:34:54.029040"]]
952
-  (0.1ms) RELEASE SAVEPOINT active_record_1
953
-  (0.6ms) rollback transaction
954
-  (0.1ms) begin transaction
511
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
512
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:14.602375"], ["created_at", "2017-08-16 10:29:14.601468"], ["updated_at", "2017-08-16 10:29:14.601468"]]
513
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 10:29:14.610056"], ["updated_at", "2017-08-16 10:29:14.610056"]]
514
+ SQL (0.9ms) 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: name39\n"], ["created_at", "2017-08-16 10:29:14.619509"], ["updated_at", "2017-08-16 10:29:14.619509"]]
515
+  (0.2ms) RELEASE SAVEPOINT active_record_1
516
+  (1.9ms) rollback transaction
517
+  (0.5ms) begin transaction
518
+  (0.1ms) rollback transaction
519
+  (0.2ms) begin transaction
955
520
   (0.1ms) rollback transaction
956
-  (0.1ms) begin transaction
957
-  (0.0ms) rollback transaction
958
-  (0.1ms) begin transaction
959
-  (0.1ms) SAVEPOINT active_record_1
960
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 03:34:54.040141"], ["updated_at", "2017-08-16 03:34:54.040141"]]
961
-  (0.0ms) RELEASE SAVEPOINT active_record_1
962
-  (0.4ms) rollback transaction
963
-  (0.1ms) begin transaction
964
-  (0.1ms) SAVEPOINT active_record_1
965
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 03:34:54.046876"], ["updated_at", "2017-08-16 03:34:54.046876"]]
966
-  (0.0ms) RELEASE SAVEPOINT active_record_1
967
-  (0.3ms) rollback transaction
968
521
   (0.2ms) begin transaction
969
522
   (0.1ms) SAVEPOINT active_record_1
970
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 03:34:54.051897"], ["updated_at", "2017-08-16 03:34:54.051897"]]
523
+ SQL (3.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name23"], ["created_at", "2017-08-16 10:29:14.646729"], ["updated_at", "2017-08-16 10:29:14.646729"]]
524
+  (0.5ms) RELEASE SAVEPOINT active_record_1
525
+  (1.4ms) rollback transaction
526
+  (0.2ms) begin transaction
527
+  (0.2ms) SAVEPOINT active_record_1
528
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name25"], ["created_at", "2017-08-16 10:29:14.670694"], ["updated_at", "2017-08-16 10:29:14.670694"]]
971
529
   (0.1ms) RELEASE SAVEPOINT active_record_1
530
+  (0.7ms) rollback transaction
531
+  (0.2ms) begin transaction
532
+  (0.2ms) SAVEPOINT active_record_1
533
+ SQL (1.8ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 10:29:14.689275"], ["updated_at", "2017-08-16 10:29:14.689275"]]
534
+  (0.3ms) RELEASE SAVEPOINT active_record_1
535
+  (1.5ms) rollback transaction
536
+  (0.2ms) begin transaction
537
+  (0.3ms) rollback transaction
538
+  (0.3ms) begin transaction
972
539
   (0.5ms) rollback transaction
973
-  (0.1ms) begin transaction
974
-  (0.0ms) rollback transaction
975
540
   (0.2ms) begin transaction
976
541
   (0.1ms) rollback transaction
977
542
   (0.1ms) begin transaction
978
-  (0.2ms) rollback transaction
979
-  (0.1ms) begin transaction
980
-  (0.1ms) rollback transaction
981
-  (0.1ms) begin transaction
982
543
   (0.1ms) rollback transaction
983
544
   (0.1ms) begin transaction
984
-  (0.1ms) rollback transaction
985
-  (0.1ms) begin transaction
986
-  (0.1ms) rollback transaction
545
+  (0.0ms) rollback transaction
987
546
   (0.1ms) begin transaction
988
547
   (0.1ms) rollback transaction
989
548
   (0.1ms) begin transaction
990
-  (0.1ms) SAVEPOINT active_record_1
991
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name26"], ["created_at", "2017-08-16 03:34:54.093634"], ["updated_at", "2017-08-16 03:34:54.093634"]]
992
-  (0.0ms) RELEASE SAVEPOINT active_record_1
993
-  (1.2ms) rollback transaction
994
-  (0.3ms) begin transaction
995
-  (0.1ms) SAVEPOINT active_record_1
996
- SQL (0.8ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name27"], ["created_at", "2017-08-16 03:34:54.100621"], ["updated_at", "2017-08-16 03:34:54.100621"]]
997
-  (0.2ms) RELEASE SAVEPOINT active_record_1
998
-  (2.1ms) rollback transaction
999
-  (0.1ms) begin transaction
1000
549
   (0.2ms) rollback transaction
1001
-  (0.3ms) begin transaction
1002
-  (0.1ms) rollback transaction
1003
550
   (0.2ms) begin transaction
1004
551
   (0.1ms) SAVEPOINT active_record_1
1005
- SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name28"], ["created_at", "2017-08-16 03:34:54.124951"], ["updated_at", "2017-08-16 03:34:54.124951"]]
552
+ SQL (2.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 10:29:14.774887"], ["updated_at", "2017-08-16 10:29:14.774887"]]
553
+  (0.4ms) RELEASE SAVEPOINT active_record_1
554
+  (0.4ms) SAVEPOINT active_record_1
555
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 10:29:14.785971"], ["updated_at", "2017-08-16 10:29:14.785971"]]
556
+  (0.4ms) RELEASE SAVEPOINT active_record_1
557
+  (0.2ms) SAVEPOINT active_record_1
558
+ SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.811881"], ["created_at", "2017-08-16 10:29:14.811687"], ["updated_at", "2017-08-16 10:29:14.811687"]]
559
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content4"], ["created_at", "2017-08-16 10:29:14.814678"], ["updated_at", "2017-08-16 10:29:14.814678"]]
560
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.816222"], ["updated_at", "2017-08-16 10:29:14.816222"]]
1006
561
   (0.1ms) RELEASE SAVEPOINT active_record_1
1007
-  (0.5ms) rollback transaction
1008
-  (0.1ms) begin transaction
562
+  (1.5ms) rollback transaction
563
+  (0.5ms) begin transaction
564
+  (0.3ms) SAVEPOINT active_record_1
565
+ SQL (2.0ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 10:29:14.830656"], ["updated_at", "2017-08-16 10:29:14.830656"]]
566
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1009
567
   (0.2ms) SAVEPOINT active_record_1
1010
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name29"], ["created_at", "2017-08-16 03:34:54.131795"], ["updated_at", "2017-08-16 03:34:54.131795"]]
568
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 10:29:14.841034"], ["updated_at", "2017-08-16 10:29:14.841034"]]
569
+  (0.8ms) RELEASE SAVEPOINT active_record_1
570
+  (0.4ms) SAVEPOINT active_record_1
571
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.865376"], ["created_at", "2017-08-16 10:29:14.865235"], ["updated_at", "2017-08-16 10:29:14.865235"]]
572
+ SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content5"], ["created_at", "2017-08-16 10:29:14.875583"], ["updated_at", "2017-08-16 10:29:14.875583"]]
573
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.881197"], ["updated_at", "2017-08-16 10:29:14.881197"]]
1011
574
   (0.1ms) RELEASE SAVEPOINT active_record_1
1012
-  (0.4ms) rollback transaction
1013
-  (0.1ms) begin transaction
1014
-  (4.1ms) rollback transaction
575
+  (1.3ms) rollback transaction
1015
576
   (0.1ms) begin transaction
1016
577
   (0.1ms) SAVEPOINT active_record_1
1017
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name30"], ["created_at", "2017-08-16 03:34:54.143622"], ["updated_at", "2017-08-16 03:34:54.143622"]]
578
+ SQL (4.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name35"], ["created_at", "2017-08-16 10:29:14.886839"], ["updated_at", "2017-08-16 10:29:14.886839"]]
579
+  (0.2ms) RELEASE SAVEPOINT active_record_1
580
+  (0.3ms) SAVEPOINT active_record_1
581
+ SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 10:29:14.901757"], ["updated_at", "2017-08-16 10:29:14.901757"]]
582
+  (0.2ms) RELEASE SAVEPOINT active_record_1
583
+  (0.4ms) SAVEPOINT active_record_1
584
+ SQL (1.1ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:14.924809"], ["created_at", "2017-08-16 10:29:14.924198"], ["updated_at", "2017-08-16 10:29:14.924198"]]
585
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content6"], ["created_at", "2017-08-16 10:29:14.931176"], ["updated_at", "2017-08-16 10:29:14.931176"]]
586
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:14.950169"], ["updated_at", "2017-08-16 10:29:14.950169"]]
1018
587
   (0.1ms) RELEASE SAVEPOINT active_record_1
1019
-  (0.8ms) rollback transaction
588
+  (1.4ms) rollback transaction
1020
589
   (0.3ms) begin transaction
1021
-  (0.1ms) rollback transaction
1022
-  (0.2ms) begin transaction
1023
-  (0.3ms) SAVEPOINT active_record_1
1024
- SQL (0.7ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name31"], ["created_at", "2017-08-16 03:34:54.160916"], ["updated_at", "2017-08-16 03:34:54.160916"]]
590
+  (0.5ms) SAVEPOINT active_record_1
591
+ SQL (1.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 10:29:14.962067"], ["updated_at", "2017-08-16 10:29:14.962067"]]
1025
592
   (0.2ms) RELEASE SAVEPOINT active_record_1
1026
-  (0.9ms) rollback transaction
1027
-  (0.2ms) begin transaction
1028
-  (0.1ms) rollback transaction
1029
-  (0.2ms) begin transaction
1030
-  (0.1ms) rollback transaction
1031
-  (0.1ms) begin transaction
1032
-  (0.1ms) rollback transaction
1033
-  (0.1ms) begin transaction
593
+  (0.3ms) SAVEPOINT active_record_1
594
+ SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 10:29:14.973549"], ["updated_at", "2017-08-16 10:29:14.973549"]]
595
+  (0.4ms) RELEASE SAVEPOINT active_record_1
596
+  (0.5ms) SAVEPOINT active_record_1
597
+ SQL (9.7ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.000627"], ["created_at", "2017-08-16 10:29:15.000494"], ["updated_at", "2017-08-16 10:29:15.000494"]]
598
+ 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-08-16 10:29:15.014436"], ["updated_at", "2017-08-16 10:29:15.014436"]]
599
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.016973"], ["updated_at", "2017-08-16 10:29:15.016973"]]
600
+  (0.1ms) RELEASE SAVEPOINT active_record_1
601
+  (1.5ms) rollback transaction
602
+  (0.5ms) begin transaction
1034
603
   (0.2ms) SAVEPOINT active_record_1
1035
- SQL (1.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name32"], ["created_at", "2017-08-16 03:34:54.216038"], ["updated_at", "2017-08-16 03:34:54.216038"]]
604
+ SQL (1.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 10:29:15.031929"], ["updated_at", "2017-08-16 10:29:15.031929"]]
1036
605
   (0.2ms) RELEASE SAVEPOINT active_record_1
1037
- Approval::Request Load (0.2ms) SELECT "approval_requests".* FROM "approval_requests" WHERE "approval_requests"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1038
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1039
-  (1.5ms) rollback transaction
1040
-  (0.1ms) begin transaction
1041
-  (0.1ms) SAVEPOINT active_record_1
1042
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 03:34:54.238920"], ["updated_at", "2017-08-16 03:34:54.238920"]]
1043
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1044
606
   (0.1ms) SAVEPOINT active_record_1
1045
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name33"], ["created_at", "2017-08-16 03:34:54.243399"], ["updated_at", "2017-08-16 03:34:54.243399"]]
1046
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1047
-  (0.1ms) SAVEPOINT active_record_1
1048
- Book Load (0.3ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1049
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1050
- SQL (0.6ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.250851"], ["created_at", "2017-08-16 03:34:54.250597"], ["updated_at", "2017-08-16 03:34:54.250597"]]
1051
- SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content10"], ["created_at", "2017-08-16 03:34:54.255560"], ["updated_at", "2017-08-16 03:34:54.255560"]]
1052
- Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1053
- SQL (0.4ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "update"], ["params", "---\n:name: updated_name\n"], ["created_at", "2017-08-16 03:34:54.262904"], ["updated_at", "2017-08-16 03:34:54.262904"]]
1054
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1055
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1056
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1057
-  (0.1ms) SAVEPOINT active_record_1
1058
- SQL (0.2ms) UPDATE "books" SET "name" = ?, "updated_at" = ? WHERE "books"."id" = ? [["name", "updated_name"], ["updated_at", "2017-08-16 03:34:54.276807"], ["id", 1]]
607
+ SQL (0.2ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 10:29:15.040313"], ["updated_at", "2017-08-16 10:29:15.040313"]]
608
+  (0.2ms) RELEASE SAVEPOINT active_record_1
609
+  (0.5ms) SAVEPOINT active_record_1
610
+ SQL (0.5ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.065728"], ["created_at", "2017-08-16 10:29:15.065575"], ["updated_at", "2017-08-16 10:29:15.065575"]]
611
+ SQL (0.5ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content8"], ["created_at", "2017-08-16 10:29:15.076676"], ["updated_at", "2017-08-16 10:29:15.076676"]]
612
+ SQL (0.5ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.081516"], ["updated_at", "2017-08-16 10:29:15.081516"]]
1059
613
   (0.1ms) RELEASE SAVEPOINT active_record_1
1060
- Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT ? [["LIMIT", 1]]
1061
-  (0.8ms) rollback transaction
614
+  (0.6ms) rollback transaction
1062
615
   (0.1ms) begin transaction
1063
-  (0.1ms) SAVEPOINT active_record_1
1064
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name37"], ["created_at", "2017-08-16 03:34:54.288094"], ["updated_at", "2017-08-16 03:34:54.288094"]]
1065
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1066
-  (0.1ms) SAVEPOINT active_record_1
1067
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.293463"], ["created_at", "2017-08-16 03:34:54.293397"], ["updated_at", "2017-08-16 03:34:54.293397"]]
1068
- SQL (0.1ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content11"], ["created_at", "2017-08-16 03:34:54.294727"], ["updated_at", "2017-08-16 03:34:54.294727"]]
1069
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 03:34:54.295921"], ["updated_at", "2017-08-16 03:34:54.295921"]]
1070
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1071
-  (0.1ms) SELECT COUNT(*) FROM "books"
1072
-  (0.1ms) SAVEPOINT active_record_1
1073
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "created_name"], ["created_at", "2017-08-16 03:34:54.300530"], ["updated_at", "2017-08-16 03:34:54.300530"]]
616
+  (0.2ms) SAVEPOINT active_record_1
617
+ SQL (1.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-08-16 10:29:15.092369"], ["updated_at", "2017-08-16 10:29:15.092369"]]
618
+  (0.4ms) RELEASE SAVEPOINT active_record_1
619
+  (0.2ms) SAVEPOINT active_record_1
620
+ SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-08-16 10:29:15.106149"], ["updated_at", "2017-08-16 10:29:15.106149"]]
1074
621
   (0.2ms) RELEASE SAVEPOINT active_record_1
1075
-  (0.1ms) SAVEPOINT active_record_1
1076
- Book Load (0.2ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1077
- SQL (0.2ms) UPDATE "approval_items" SET "resource_id" = ?, "updated_at" = ? WHERE "approval_items"."id" = ? [["resource_id", 1], ["updated_at", "2017-08-16 03:34:54.304943"], ["id", 1]]
1078
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1079
-  (0.3ms) SELECT COUNT(*) FROM "books"
1080
-  (0.9ms) rollback transaction
1081
-  (0.2ms) begin transaction
1082
-  (0.1ms) SAVEPOINT active_record_1
1083
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name38"], ["created_at", "2017-08-16 03:34:54.315377"], ["updated_at", "2017-08-16 03:34:54.315377"]]
622
+  (0.8ms) SAVEPOINT active_record_1
623
+ SQL (0.3ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.139282"], ["created_at", "2017-08-16 10:29:15.139169"], ["updated_at", "2017-08-16 10:29:15.139169"]]
624
+ SQL (0.6ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content9"], ["created_at", "2017-08-16 10:29:15.141563"], ["updated_at", "2017-08-16 10:29:15.141563"]]
625
+ SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.147304"], ["updated_at", "2017-08-16 10:29:15.147304"]]
1084
626
   (0.1ms) RELEASE SAVEPOINT active_record_1
1085
-  (0.1ms) SAVEPOINT active_record_1
1086
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name34"], ["created_at", "2017-08-16 03:34:54.321893"], ["updated_at", "2017-08-16 03:34:54.321893"]]
627
+  (1.3ms) rollback transaction
628
+  (0.1ms) begin transaction
629
+  (0.2ms) SAVEPOINT active_record_1
630
+ SQL (1.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 10:29:15.154406"], ["updated_at", "2017-08-16 10:29:15.154406"]]
631
+  (0.7ms) RELEASE SAVEPOINT active_record_1
632
+  (0.4ms) SAVEPOINT active_record_1
633
+ SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 10:29:15.166224"], ["updated_at", "2017-08-16 10:29:15.166224"]]
634
+  (0.2ms) RELEASE SAVEPOINT active_record_1
635
+  (0.2ms) SAVEPOINT active_record_1
636
+ SQL (0.6ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.192110"], ["created_at", "2017-08-16 10:29:15.190864"], ["updated_at", "2017-08-16 10:29:15.190864"]]
637
+ SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content10"], ["created_at", "2017-08-16 10:29:15.204733"], ["updated_at", "2017-08-16 10:29:15.204733"]]
638
+ SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.206660"], ["updated_at", "2017-08-16 10:29:15.206660"]]
1087
639
   (0.2ms) RELEASE SAVEPOINT active_record_1
640
+  (1.7ms) rollback transaction
641
+  (0.1ms) begin transaction
1088
642
   (0.1ms) SAVEPOINT active_record_1
1089
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.326694"], ["created_at", "2017-08-16 03:34:54.326612"], ["updated_at", "2017-08-16 03:34:54.326612"]]
1090
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content12"], ["created_at", "2017-08-16 03:34:54.327979"], ["updated_at", "2017-08-16 03:34:54.327979"]]
1091
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.329052"], ["updated_at", "2017-08-16 03:34:54.329052"]]
643
+ SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 10:29:15.216087"], ["updated_at", "2017-08-16 10:29:15.216087"]]
1092
644
   (0.1ms) RELEASE SAVEPOINT active_record_1
1093
-  (3.2ms) SELECT COUNT(*) FROM "books"
1094
- Book Load (0.1ms) SELECT "books".* FROM "books" WHERE "books"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1095
645
   (0.0ms) SAVEPOINT active_record_1
1096
- SQL (0.1ms) DELETE FROM "books" WHERE "books"."id" = ? [["id", 1]]
646
+ SQL (0.1ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 10:29:15.218359"], ["updated_at", "2017-08-16 10:29:15.218359"]]
1097
647
   (0.0ms) RELEASE SAVEPOINT active_record_1
1098
-  (0.1ms) SELECT COUNT(*) FROM "books"
1099
-  (0.4ms) rollback transaction
1100
-  (0.1ms) begin transaction
1101
-  (0.0ms) rollback transaction
1102
-  (0.1ms) begin transaction
1103
-  (0.0ms) rollback transaction
1104
-  (0.1ms) begin transaction
1105
648
   (0.1ms) SAVEPOINT active_record_1
1106
- SQL (0.4ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name36"], ["created_at", "2017-08-16 03:34:54.343276"], ["updated_at", "2017-08-16 03:34:54.343276"]]
1107
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1108
-  (0.5ms) rollback transaction
1109
-  (0.1ms) begin transaction
1110
-  (0.1ms) rollback transaction
649
+ SQL (0.8ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 2], ["requested_at", "2017-08-16 10:29:15.234810"], ["created_at", "2017-08-16 10:29:15.234491"], ["updated_at", "2017-08-16 10:29:15.234491"]]
650
+ SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 2], ["content", "content11"], ["created_at", "2017-08-16 10:29:15.239653"], ["updated_at", "2017-08-16 10:29:15.239653"]]
651
+ SQL (1.3ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.247279"], ["updated_at", "2017-08-16 10:29:15.247279"]]
652
+  (0.4ms) RELEASE SAVEPOINT active_record_1
653
+  (1.4ms) rollback transaction
1111
654
   (0.1ms) begin transaction
1112
655
   (0.2ms) rollback transaction
1113
-  (0.1ms) begin transaction
1114
-  (0.1ms) SAVEPOINT active_record_1
1115
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name39"], ["created_at", "2017-08-16 03:34:54.360690"], ["updated_at", "2017-08-16 03:34:54.360690"]]
1116
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1117
-  (0.6ms) rollback transaction
1118
-  (0.1ms) begin transaction
656
+  (0.2ms) begin transaction
1119
657
   (0.1ms) rollback transaction
1120
658
   (0.1ms) begin transaction
1121
-  (0.1ms) SAVEPOINT active_record_1
1122
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name40"], ["created_at", "2017-08-16 03:34:54.376459"], ["updated_at", "2017-08-16 03:34:54.376459"]]
1123
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1124
-  (0.4ms) rollback transaction
659
+  (0.3ms) rollback transaction
1125
660
   (0.1ms) begin transaction
1126
-  (0.1ms) SAVEPOINT active_record_1
1127
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name41"], ["created_at", "2017-08-16 03:34:54.386043"], ["updated_at", "2017-08-16 03:34:54.386043"]]
1128
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1129
-  (0.5ms) rollback transaction
661
+  (0.2ms) rollback transaction
1130
662
   (0.1ms) begin transaction
1131
-  (0.1ms) SAVEPOINT active_record_1
1132
- SQL (0.4ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name42"], ["created_at", "2017-08-16 03:34:54.391754"], ["updated_at", "2017-08-16 03:34:54.391754"]]
1133
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1134
-  (0.5ms) rollback transaction
663
+  (0.2ms) SAVEPOINT active_record_1
664
+ SQL (1.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 10:29:15.311055"], ["updated_at", "2017-08-16 10:29:15.311055"]]
665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
666
+  (1.6ms) rollback transaction
1135
667
   (0.1ms) begin transaction
668
+  (0.2ms) SAVEPOINT active_record_1
669
+ SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 10:29:15.345429"], ["updated_at", "2017-08-16 10:29:15.345429"]]
670
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1136
671
   (0.1ms) SAVEPOINT active_record_1
1137
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 03:34:54.398299"], ["updated_at", "2017-08-16 03:34:54.398299"]]
1138
-  (0.3ms) RELEASE SAVEPOINT active_record_1
1139
-  (1.1ms) rollback transaction
1140
-  (0.1ms) begin transaction
672
+ SQL (2.9ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 10:29:15.354234"], ["created_at", "2017-08-16 10:29:15.354077"], ["updated_at", "2017-08-16 10:29:15.354077"]]
673
+ SQL (1.8ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "content12"], ["created_at", "2017-08-16 10:29:15.363076"], ["updated_at", "2017-08-16 10:29:15.363076"]]
674
+ SQL (1.4ms) INSERT INTO "approval_items" ("request_id", "resource_type", "event", "params", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_type", "Book"], ["event", "create"], ["params", "---\n:name: created_name\n"], ["created_at", "2017-08-16 10:29:15.374784"], ["updated_at", "2017-08-16 10:29:15.374784"]]
675
+  (0.2ms) RELEASE SAVEPOINT active_record_1
676
+  (2.2ms) rollback transaction
677
+  (0.4ms) begin transaction
678
+  (0.2ms) rollback transaction
679
+  (0.3ms) begin transaction
680
+  (0.2ms) rollback transaction
681
+  (0.2ms) begin transaction
1141
682
   (0.1ms) rollback transaction
1142
683
   (0.1ms) begin transaction
1143
-  (0.1ms) SAVEPOINT active_record_1
1144
- SQL (0.6ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 03:34:54.418259"], ["updated_at", "2017-08-16 03:34:54.418259"]]
1145
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1146
-  (0.6ms) rollback transaction
684
+  (0.0ms) rollback transaction
1147
685
   (0.1ms) begin transaction
1148
-  (0.1ms) rollback transaction
686
+  (0.0ms) rollback transaction
1149
687
   (0.1ms) begin transaction
1150
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1151
688
   (0.1ms) SAVEPOINT active_record_1
1152
- SQL (0.3ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 03:34:54.428469"], ["updated_at", "2017-08-16 03:34:54.428469"]]
689
+ SQL (0.5ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-08-16 10:29:15.419066"], ["updated_at", "2017-08-16 10:29:15.419066"]]
1153
690
   (0.1ms) RELEASE SAVEPOINT active_record_1
1154
-  (3.2ms) SAVEPOINT active_record_1
1155
- SQL (0.2ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name43"], ["created_at", "2017-08-16 03:34:54.434275"], ["updated_at", "2017-08-16 03:34:54.434275"]]
1156
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1157
-  (0.0ms) SAVEPOINT active_record_1
1158
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1159
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.440867"], ["created_at", "2017-08-16 03:34:54.440804"], ["updated_at", "2017-08-16 03:34:54.440804"]]
1160
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.441999"], ["updated_at", "2017-08-16 03:34:54.441999"]]
1161
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.443164"], ["updated_at", "2017-08-16 03:34:54.443164"]]
1162
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1163
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1164
691
   (0.9ms) rollback transaction
692
+  (0.3ms) begin transaction
693
+  (0.4ms) rollback transaction
1165
694
   (0.2ms) begin transaction
1166
-  (0.1ms) SAVEPOINT active_record_1
1167
- SQL (0.9ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 03:34:54.456267"], ["updated_at", "2017-08-16 03:34:54.456267"]]
1168
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1169
-  (0.1ms) SAVEPOINT active_record_1
1170
- SQL (0.3ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name44"], ["created_at", "2017-08-16 03:34:54.461362"], ["updated_at", "2017-08-16 03:34:54.461362"]]
1171
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1172
-  (0.1ms) SAVEPOINT active_record_1
1173
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1174
- SQL (0.2ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.474616"], ["created_at", "2017-08-16 03:34:54.474422"], ["updated_at", "2017-08-16 03:34:54.474422"]]
1175
- SQL (0.2ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.476453"], ["updated_at", "2017-08-16 03:34:54.476453"]]
1176
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.478157"], ["updated_at", "2017-08-16 03:34:54.478157"]]
1177
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1178
-  (0.6ms) rollback transaction
1179
-  (0.1ms) begin transaction
1180
-  (0.2ms) SELECT COUNT(*) FROM "approval_items"
1181
-  (0.1ms) SAVEPOINT active_record_1
1182
- SQL (0.5ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 03:34:54.488097"], ["updated_at", "2017-08-16 03:34:54.488097"]]
1183
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1184
-  (0.1ms) SAVEPOINT active_record_1
1185
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name45"], ["created_at", "2017-08-16 03:34:54.490846"], ["updated_at", "2017-08-16 03:34:54.490846"]]
1186
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1187
-  (0.1ms) SAVEPOINT active_record_1
1188
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name46"], ["created_at", "2017-08-16 03:34:54.492648"], ["updated_at", "2017-08-16 03:34:54.492648"]]
1189
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1190
-  (0.0ms) SAVEPOINT active_record_1
1191
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name47"], ["created_at", "2017-08-16 03:34:54.493982"], ["updated_at", "2017-08-16 03:34:54.493982"]]
1192
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1193
-  (0.1ms) SAVEPOINT active_record_1
1194
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1195
- SQL (0.4ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.512274"], ["created_at", "2017-08-16 03:34:54.512109"], ["updated_at", "2017-08-16 03:34:54.512109"]]
1196
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.515405"], ["updated_at", "2017-08-16 03:34:54.515405"]]
1197
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.518170"], ["updated_at", "2017-08-16 03:34:54.518170"]]
1198
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.520509"], ["updated_at", "2017-08-16 03:34:54.520509"]]
1199
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.522705"], ["updated_at", "2017-08-16 03:34:54.522705"]]
1200
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1201
-  (0.1ms) SELECT COUNT(*) FROM "approval_items"
1202
-  (1.4ms) rollback transaction
1203
-  (0.1ms) begin transaction
1204
-  (0.3ms) SAVEPOINT active_record_1
1205
- SQL (0.7ms) INSERT INTO "users" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 03:34:54.535293"], ["updated_at", "2017-08-16 03:34:54.535293"]]
1206
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1207
-  (0.1ms) SAVEPOINT active_record_1
1208
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name48"], ["created_at", "2017-08-16 03:34:54.539103"], ["updated_at", "2017-08-16 03:34:54.539103"]]
1209
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1210
-  (0.0ms) SAVEPOINT active_record_1
1211
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name49"], ["created_at", "2017-08-16 03:34:54.540446"], ["updated_at", "2017-08-16 03:34:54.540446"]]
1212
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1213
-  (0.0ms) SAVEPOINT active_record_1
1214
- SQL (0.1ms) INSERT INTO "books" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "name50"], ["created_at", "2017-08-16 03:34:54.541930"], ["updated_at", "2017-08-16 03:34:54.541930"]]
1215
-  (0.0ms) RELEASE SAVEPOINT active_record_1
1216
-  (0.0ms) SAVEPOINT active_record_1
1217
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
1218
- SQL (0.8ms) INSERT INTO "approval_requests" ("request_user_id", "requested_at", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["request_user_id", 1], ["requested_at", "2017-08-16 03:34:54.554956"], ["created_at", "2017-08-16 03:34:54.554570"], ["updated_at", "2017-08-16 03:34:54.554570"]]
1219
- SQL (0.3ms) INSERT INTO "approval_comments" ("request_id", "user_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["request_id", 1], ["user_id", 1], ["content", "reason"], ["created_at", "2017-08-16 03:34:54.559899"], ["updated_at", "2017-08-16 03:34:54.559899"]]
1220
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 1], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.561618"], ["updated_at", "2017-08-16 03:34:54.561618"]]
1221
- SQL (0.2ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 2], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.563514"], ["updated_at", "2017-08-16 03:34:54.563514"]]
1222
- SQL (0.3ms) INSERT INTO "approval_items" ("request_id", "resource_id", "resource_type", "event", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["request_id", 1], ["resource_id", 3], ["resource_type", "Book"], ["event", "destroy"], ["created_at", "2017-08-16 03:34:54.566174"], ["updated_at", "2017-08-16 03:34:54.566174"]]
1223
-  (0.1ms) RELEASE SAVEPOINT active_record_1
1224
-  (1.5ms) rollback transaction
695
+  (0.1ms) rollback transaction