paper_trail-audit 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cabf11d7e6e5854662b52dad364e6de0c67b9425
4
- data.tar.gz: 00057db7df3f033d4ae5f262da9cd6c0092e7c3d
3
+ metadata.gz: 67c0975883d30b8e5dbe4089cad22f56cd84b1a9
4
+ data.tar.gz: 6b1597f81b525e93ffab32ce612f237ffaba025f
5
5
  SHA512:
6
- metadata.gz: d7ae6f3aefe446d5229bae0062dc2fdbc67ffaed96f87013069ae250f389cd3e255f008484cde05b614fd1e3437684bcb32c5883045e775cb4351aae42435232
7
- data.tar.gz: 5381b66554acc6c24a82883fa673bb30ba85f165805717ad36746edbe1f194accfa0596dac0a43ae6a03b3f1ec8a8b1fefdce849e0d552b3d82d37913f50cf91
6
+ metadata.gz: 2c61ddca862990892d09a2d7dd5d1e52de9250f672687343dcea9568428bc6e4ba79e847687763c44e71a455ae25a6466403869ed876dfc311ef0dcde1c676f8
7
+ data.tar.gz: 030372b9bd7cb166a5e43862f3e98b5d7cb3700d2d69deda794ecb294293d8a26f1e919c6802f896a65656a7c52bcb5c1afd08c25fcabcbf6b9e4cce191263a1
@@ -1,3 +1,3 @@
1
1
  module PaperTrailAudit
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
@@ -7,6 +7,10 @@ module PaperTrailAudit
7
7
  base.send :extend, ClassMethods
8
8
  end
9
9
 
10
+ # Returns the audit list for the specified column
11
+ #
12
+ # @param [symbol] param: symbol to query
13
+ # @return [array of Change objects]
10
14
  def calculate_audit_for(param)
11
15
  #Gets all flattened attribute lists
12
16
  #objects are a hash of
@@ -37,13 +41,32 @@ module PaperTrailAudit
37
41
  end
38
42
 
39
43
  module ClassMethods
44
+ # Defines the functions which perform the audit generation
45
+ #
46
+ # Note: instead of looking at the type and performing a transformation
47
+ # we could simply reify the versions and make the function calls, however
48
+ # this causes a pretty significant performance hit, on an object with 100 versions
49
+ # the reify version was about 4x slower, although with low version counts the
50
+ # slowdown was much smaller, something like 1.06
51
+ #
52
+ # @param [array of params to audit] *params describe *params
40
53
  def paper_trail_audit_for(*params)
41
54
  params = params.flatten
42
55
  params.each do |param|
43
- if(self.column_names.include?(param.to_s))
44
- #Define a method which returns a list of audit change events
45
- define_method param.to_s+"_changes" do
46
- self.calculate_audit_for(param)
56
+ if self.column_names.include?(param.to_s)
57
+ if self.defined_enums&.include?(param.to_s)
58
+ #if it's an enum, wrap the values to the enum keys
59
+ define_method param.to_s+"_changes" do
60
+ self.calculate_audit_for(param).each do |o|
61
+ o.old_value = self.defined_enums[param.to_s].key(o.old_value)
62
+ o.new_value = self.defined_enums[param.to_s].key(o.new_value)
63
+ end
64
+ end
65
+ else
66
+ #Define a method which returns a list of audit change events
67
+ define_method param.to_s+"_changes" do
68
+ self.calculate_audit_for(param)
69
+ end
47
70
  end
48
71
  else
49
72
  reflection = self.reflect_on_all_associations(:belongs_to).select{|e| e.name == param}.first
@@ -55,7 +78,7 @@ module PaperTrailAudit
55
78
  end
56
79
  end
57
80
  else
58
- raise "Property \"#{param}\" does not exist on object #{self}"
81
+ warn "PaperTrailAudit WARNING: Property \"#{param}\" does not exist on object #{self} - Audit cannot be made"
59
82
  end
60
83
  end
61
84
  end
@@ -1,2 +1,10 @@
1
1
  class User < ActiveRecord::Base
2
+ enum state: {
3
+ happy: 0,
4
+ sad: 1,
5
+ neutral: 2
6
+ }
7
+
8
+ has_paper_trail
9
+ paper_trail_audit_for :state
2
10
  end
Binary file
@@ -2,6 +2,7 @@ class CreateBanks < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :banks do |t|
4
4
  t.integer :value
5
+ t.integer :user_id
5
6
  t.timestamps null: false
6
7
  end
7
8
  end
@@ -2,7 +2,7 @@ class CreateUsers < ActiveRecord::Migration
2
2
  def change
3
3
  create_table :users do |t|
4
4
  t.string :name
5
-
5
+ t.integer :state
6
6
  t.timestamps null: false
7
7
  end
8
8
  end
@@ -11,17 +11,18 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160802235657) do
14
+ ActiveRecord::Schema.define(version: 20160802235555) do
15
15
 
16
16
  create_table "banks", force: :cascade do |t|
17
17
  t.integer "value"
18
+ t.integer "user_id"
18
19
  t.datetime "created_at", null: false
19
20
  t.datetime "updated_at", null: false
20
- t.integer "user_id"
21
21
  end
22
22
 
23
23
  create_table "users", force: :cascade do |t|
24
24
  t.string "name"
25
+ t.integer "state"
25
26
  t.datetime "created_at", null: false
26
27
  t.datetime "updated_at", null: false
27
28
  end
Binary file
@@ -113,4 +113,53 @@ Migrating to AddUserIdToBanks (20160802235657)
113
113
  SELECT sql
114
114
  FROM sqlite_temp_master
115
115
  WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
116
+ 
117
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
118
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
119
+  (0.1ms)  SELECT sql
120
+ FROM sqlite_master
121
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
122
+ UNION ALL
123
+ SELECT sql
124
+ FROM sqlite_temp_master
125
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
126
+ 
127
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
128
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
+  (0.1ms)  SELECT sql
130
+ FROM sqlite_master
131
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
132
+ UNION ALL
133
+ SELECT sql
134
+ FROM sqlite_temp_master
135
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
136
+ 
137
+  (2.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
138
+  (0.1ms) select sqlite_version(*)
139
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
140
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
141
+ Migrating to CreateBanks (20160802221911)
142
+  (0.1ms) begin transaction
143
+  (0.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
144
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160802221911"]]
145
+  (0.5ms) commit transaction
146
+ Migrating to CreateVersions (20160802222941)
147
+  (0.0ms) begin transaction
148
+  (0.2ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime)
149
+  (0.1ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
150
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160802222941"]]
151
+  (0.5ms) commit transaction
152
+ Migrating to CreateUsers (20160802235555)
153
+  (0.0ms) begin transaction
154
+  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
155
+ SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20160802235555"]]
156
+  (0.6ms) commit transaction
157
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
158
+  (0.1ms)  SELECT sql
159
+ FROM sqlite_master
160
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
161
+ UNION ALL
162
+ SELECT sql
163
+ FROM sqlite_temp_master
164
+ WHERE name='index_versions_on_item_type_and_item_id' AND type='index'
116
165
  
@@ -4488,3 +4488,2344 @@
4488
4488
  PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4489
4489
  PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4490
4490
  PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4491
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4492
+  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) 
4493
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4494
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
4495
+  (0.1ms) select sqlite_version(*)
4496
+  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4497
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4498
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4499
+  (0.1ms) SELECT version FROM "schema_migrations"
4500
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4501
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4502
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4503
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4504
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4505
+  (0.1ms) begin transaction
4506
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:10:50.181705"], ["updated_at", "2016-08-03 19:10:50.181705"]]
4507
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.181705"], ["item_id", 1], ["item_type", "Bank"]]
4508
+  (2.5ms) commit transaction
4509
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4510
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
4511
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
4512
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4513
+  (0.1ms) begin transaction
4514
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.211002"], ["updated_at", "2016-08-03 19:10:50.211002"]]
4515
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.211002"], ["item_id", 2], ["item_type", "Bank"]]
4516
+  (0.5ms) commit transaction
4517
+  (0.0ms) begin transaction
4518
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.214173"], ["id", 2]]
4519
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:10:50.211002000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.214173"], ["item_id", 2], ["item_type", "Bank"]]
4520
+  (0.5ms) commit transaction
4521
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
4522
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
4523
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]]
4524
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
4525
+  (0.0ms) begin transaction
4526
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.227640"], ["updated_at", "2016-08-03 19:10:50.227640"]]
4527
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.227640"], ["item_id", 3], ["item_type", "Bank"]]
4528
+  (0.6ms) commit transaction
4529
+  (0.0ms) begin transaction
4530
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.231362"], ["id", 3]]
4531
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.227640000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.231362"], ["item_id", 3], ["item_type", "Bank"]]
4532
+  (0.5ms) commit transaction
4533
+  (0.1ms) begin transaction
4534
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.234983"], ["id", 3]]
4535
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.227640000 Z\nupdated_at: 2016-08-03 19:10:50.231362000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.234983"], ["item_id", 3], ["item_type", "Bank"]]
4536
+  (0.5ms) commit transaction
4537
+  (0.0ms) begin transaction
4538
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:10:50.238178"], ["id", 3]]
4539
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:10:50.227640000 Z\nupdated_at: 2016-08-03 19:10:50.234983000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.238178"], ["item_id", 3], ["item_type", "Bank"]]
4540
+  (0.5ms) commit transaction
4541
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
4542
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
4543
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4544
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4545
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4546
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4547
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4548
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4549
+  (0.0ms) begin transaction
4550
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.248670"], ["updated_at", "2016-08-03 19:10:50.248670"]]
4551
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.248670"], ["item_id", 4], ["item_type", "Bank"]]
4552
+  (0.5ms) commit transaction
4553
+  (0.0ms) begin transaction
4554
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.255314"], ["updated_at", "2016-08-03 19:10:50.255314"]]
4555
+  (0.4ms) commit transaction
4556
+  (0.0ms) begin transaction
4557
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:10:50.257561"], ["id", 4]]
4558
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.248670000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.257561"], ["item_id", 4], ["item_type", "Bank"]]
4559
+  (0.6ms) commit transaction
4560
+  (0.0ms) begin transaction
4561
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.261563"], ["id", 4]]
4562
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.248670000 Z\nupdated_at: 2016-08-03 19:10:50.257561000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:10:50.261563"], ["item_id", 4], ["item_type", "Bank"]]
4563
+  (0.6ms) commit transaction
4564
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
4565
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
4566
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]
4567
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4568
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]
4569
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4570
+  (0.0ms) begin transaction
4571
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.271201"], ["updated_at", "2016-08-03 19:10:50.271201"]]
4572
+  (0.6ms) commit transaction
4573
+  (0.1ms) begin transaction
4574
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.273198"], ["updated_at", "2016-08-03 19:10:50.273198"]]
4575
+  (0.5ms) commit transaction
4576
+  (0.0ms) begin transaction
4577
+ SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.274716"], ["updated_at", "2016-08-03 19:10:50.274716"]]
4578
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:10:50.274716"], ["item_id", 5], ["item_type", "Bank"]]
4579
+  (0.5ms) commit transaction
4580
+  (0.0ms) begin transaction
4581
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:10:50.278077"], ["id", 5]]
4582
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.274716000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:10:50.278077"], ["item_id", 5], ["item_type", "Bank"]]
4583
+  (0.4ms) commit transaction
4584
+  (0.0ms) begin transaction
4585
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:10:50.282072"], ["id", 5]]
4586
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.274716000 Z\nupdated_at: 2016-08-03 19:10:50.278077000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:10:50.282072"], ["item_id", 5], ["item_type", "Bank"]]
4587
+  (0.6ms) commit transaction
4588
+  (0.0ms) begin transaction
4589
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:10:50.285429"], ["id", 5]]
4590
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:10:50.274716000 Z\nupdated_at: 2016-08-03 19:10:50.282072000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:10:50.285429"], ["item_id", 5], ["item_type", "Bank"]]
4591
+  (0.5ms) commit transaction
4592
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
4593
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
4594
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4595
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4596
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4597
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4598
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4599
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4600
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4601
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4602
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4603
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4604
+  (0.0ms) begin transaction
4605
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:10:50.296486"], ["updated_at", "2016-08-03 19:10:50.296486"]]
4606
+ SQL (0.2ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:10:50.296486"], ["item_id", 6], ["item_type", "Bank"]]
4607
+  (0.7ms) commit transaction
4608
+  (0.0ms) begin transaction
4609
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:10:50.300425"], ["id", 6]]
4610
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:10:50.296486000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:10:50.300425"], ["item_id", 6], ["item_type", "Bank"]]
4611
+  (0.6ms) commit transaction
4612
+  (0.0ms) begin transaction
4613
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.304247"], ["updated_at", "2016-08-03 19:10:50.304247"]]
4614
+  (0.4ms) commit transaction
4615
+  (0.0ms) begin transaction
4616
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:10:50.305850"], ["id", 6]]
4617
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.300425000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.305850"], ["item_id", 6], ["item_type", "Bank"]]
4618
+  (0.6ms) commit transaction
4619
+  (0.0ms) begin transaction
4620
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.309434"], ["updated_at", "2016-08-03 19:10:50.309434"]]
4621
+  (0.5ms) commit transaction
4622
+  (0.0ms) begin transaction
4623
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:10:50.311103"], ["id", 6]]
4624
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.305850000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.311103"], ["item_id", 6], ["item_type", "Bank"]]
4625
+  (0.6ms) commit transaction
4626
+  (0.0ms) begin transaction
4627
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:10:50.315150"], ["id", 6]]
4628
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.311103000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.315150"], ["item_id", 6], ["item_type", "Bank"]]
4629
+  (0.6ms) commit transaction
4630
+  (0.0ms) begin transaction
4631
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:10:50.319446"], ["updated_at", "2016-08-03 19:10:50.319446"]]
4632
+  (0.5ms) commit transaction
4633
+  (0.0ms) begin transaction
4634
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:10:50.321330"], ["id", 6]]
4635
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.315150000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:10:50.321330"], ["item_id", 6], ["item_type", "Bank"]]
4636
+  (0.6ms) commit transaction
4637
+  (0.0ms) begin transaction
4638
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:10:50.324766"], ["id", 6]]
4639
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:10:50.296486000 Z\nupdated_at: 2016-08-03 19:10:50.321330000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:10:50.324766"], ["item_id", 6], ["item_type", "Bank"]]
4640
+  (0.5ms) commit transaction
4641
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
4642
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
4643
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4644
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4645
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4646
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4647
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4648
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4649
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4650
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4651
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4652
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4653
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4654
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4655
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4656
+  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) 
4657
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4658
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
4659
+  (0.1ms) select sqlite_version(*)
4660
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4661
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4662
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4663
+  (0.1ms) SELECT version FROM "schema_migrations"
4664
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4665
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4666
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4667
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4668
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4669
+  (0.1ms) begin transaction
4670
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:11:19.375170"], ["updated_at", "2016-08-03 19:11:19.375170"]]
4671
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.375170"], ["item_id", 1], ["item_type", "Bank"]]
4672
+  (2.4ms) commit transaction
4673
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4674
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
4675
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
4676
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4677
+  (0.0ms) begin transaction
4678
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.400362"], ["updated_at", "2016-08-03 19:11:19.400362"]]
4679
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.400362"], ["item_id", 2], ["item_type", "Bank"]]
4680
+  (0.6ms) commit transaction
4681
+  (0.1ms) begin transaction
4682
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.404133"], ["id", 2]]
4683
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:11:19.400362000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.404133"], ["item_id", 2], ["item_type", "Bank"]]
4684
+  (0.5ms) commit transaction
4685
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
4686
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
4687
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 2]]
4688
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
4689
+  (0.0ms) begin transaction
4690
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.418744"], ["updated_at", "2016-08-03 19:11:19.418744"]]
4691
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.418744"], ["item_id", 3], ["item_type", "Bank"]]
4692
+  (0.6ms) commit transaction
4693
+  (0.0ms) begin transaction
4694
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.422384"], ["id", 3]]
4695
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.418744000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.422384"], ["item_id", 3], ["item_type", "Bank"]]
4696
+  (0.5ms) commit transaction
4697
+  (0.0ms) begin transaction
4698
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.426764"], ["id", 3]]
4699
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.418744000 Z\nupdated_at: 2016-08-03 19:11:19.422384000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.426764"], ["item_id", 3], ["item_type", "Bank"]]
4700
+  (0.5ms) commit transaction
4701
+  (0.1ms) begin transaction
4702
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:11:19.430069"], ["id", 3]]
4703
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:11:19.418744000 Z\nupdated_at: 2016-08-03 19:11:19.426764000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.430069"], ["item_id", 3], ["item_type", "Bank"]]
4704
+  (0.5ms) commit transaction
4705
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
4706
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
4707
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4708
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4709
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4710
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4711
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 3]]
4712
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4713
+  (0.0ms) begin transaction
4714
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.446097"], ["updated_at", "2016-08-03 19:11:19.446097"]]
4715
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.446097"], ["item_id", 4], ["item_type", "Bank"]]
4716
+  (0.6ms) commit transaction
4717
+  (0.0ms) begin transaction
4718
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.453231"], ["updated_at", "2016-08-03 19:11:19.453231"]]
4719
+  (0.6ms) commit transaction
4720
+  (0.0ms) begin transaction
4721
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:11:19.455799"], ["id", 4]]
4722
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.446097000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.455799"], ["item_id", 4], ["item_type", "Bank"]]
4723
+  (0.6ms) commit transaction
4724
+  (0.1ms) begin transaction
4725
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.459619"], ["id", 4]]
4726
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.446097000 Z\nupdated_at: 2016-08-03 19:11:19.455799000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:11:19.459619"], ["item_id", 4], ["item_type", "Bank"]]
4727
+  (0.5ms) commit transaction
4728
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
4729
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
4730
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]
4731
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4732
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 4]]
4733
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4734
+  (0.0ms) begin transaction
4735
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.468306"], ["updated_at", "2016-08-03 19:11:19.468306"]]
4736
+  (0.5ms) commit transaction
4737
+  (0.0ms) begin transaction
4738
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.469809"], ["updated_at", "2016-08-03 19:11:19.469809"]]
4739
+  (0.3ms) commit transaction
4740
+  (0.0ms) begin transaction
4741
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.471310"], ["updated_at", "2016-08-03 19:11:19.471310"]]
4742
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:11:19.471310"], ["item_id", 5], ["item_type", "Bank"]]
4743
+  (0.5ms) commit transaction
4744
+  (0.0ms) begin transaction
4745
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:11:19.474546"], ["id", 5]]
4746
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.471310000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:11:19.474546"], ["item_id", 5], ["item_type", "Bank"]]
4747
+  (0.4ms) commit transaction
4748
+  (0.0ms) begin transaction
4749
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:11:19.478001"], ["id", 5]]
4750
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.471310000 Z\nupdated_at: 2016-08-03 19:11:19.474546000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:11:19.478001"], ["item_id", 5], ["item_type", "Bank"]]
4751
+  (0.5ms) commit transaction
4752
+  (0.0ms) begin transaction
4753
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:11:19.481431"], ["id", 5]]
4754
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:11:19.471310000 Z\nupdated_at: 2016-08-03 19:11:19.478001000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:11:19.481431"], ["item_id", 5], ["item_type", "Bank"]]
4755
+  (0.5ms) commit transaction
4756
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
4757
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
4758
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4759
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4760
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4761
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4762
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 5]]
4763
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4764
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4765
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4766
+  (0.0ms) begin transaction
4767
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:11:19.493304"], ["updated_at", "2016-08-03 19:11:19.493304"]]
4768
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:11:19.493304"], ["item_id", 6], ["item_type", "Bank"]]
4769
+  (0.6ms) commit transaction
4770
+  (0.0ms) begin transaction
4771
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:11:19.496440"], ["id", 6]]
4772
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:11:19.493304000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:11:19.496440"], ["item_id", 6], ["item_type", "Bank"]]
4773
+  (0.6ms) commit transaction
4774
+  (0.0ms) begin transaction
4775
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.499701"], ["updated_at", "2016-08-03 19:11:19.499701"]]
4776
+  (0.5ms) commit transaction
4777
+  (0.0ms) begin transaction
4778
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:11:19.501534"], ["id", 6]]
4779
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.496440000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.501534"], ["item_id", 6], ["item_type", "Bank"]]
4780
+  (0.5ms) commit transaction
4781
+  (0.1ms) begin transaction
4782
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.504975"], ["updated_at", "2016-08-03 19:11:19.504975"]]
4783
+  (0.4ms) commit transaction
4784
+  (0.0ms) begin transaction
4785
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:11:19.506459"], ["id", 6]]
4786
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.501534000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.506459"], ["item_id", 6], ["item_type", "Bank"]]
4787
+  (0.5ms) commit transaction
4788
+  (0.0ms) begin transaction
4789
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:11:19.509880"], ["id", 6]]
4790
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.506459000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.509880"], ["item_id", 6], ["item_type", "Bank"]]
4791
+  (0.6ms) commit transaction
4792
+  (0.1ms) begin transaction
4793
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:11:19.513524"], ["updated_at", "2016-08-03 19:11:19.513524"]]
4794
+  (0.5ms) commit transaction
4795
+  (0.0ms) begin transaction
4796
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:11:19.515225"], ["id", 6]]
4797
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.509880000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:11:19.515225"], ["item_id", 6], ["item_type", "Bank"]]
4798
+  (0.5ms) commit transaction
4799
+  (0.0ms) begin transaction
4800
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:11:19.518995"], ["id", 6]]
4801
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:11:19.493304000 Z\nupdated_at: 2016-08-03 19:11:19.515225000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:11:19.518995"], ["item_id", 6], ["item_type", "Bank"]]
4802
+  (0.6ms) commit transaction
4803
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
4804
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
4805
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4806
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4807
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4808
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4809
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4810
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4811
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4812
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4813
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4814
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4815
+ Bank Load (0.0ms) SELECT "banks".* FROM "banks" WHERE "banks"."id" = ? LIMIT 1 [["id", 6]]
4816
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4817
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4818
+  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) 
4819
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4820
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
4821
+  (0.1ms) select sqlite_version(*)
4822
+  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4823
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4824
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4825
+  (0.1ms) SELECT version FROM "schema_migrations"
4826
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4827
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4828
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4829
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4830
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4831
+  (0.0ms) begin transaction
4832
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:32:51.971284"], ["updated_at", "2016-08-03 19:32:51.971284"]]
4833
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:51.971284"], ["item_id", 1], ["item_type", "Bank"]]
4834
+  (2.3ms) commit transaction
4835
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4836
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
4837
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
4838
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4839
+  (0.0ms) begin transaction
4840
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.003428"], ["updated_at", "2016-08-03 19:32:52.003428"]]
4841
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.003428"], ["item_id", 2], ["item_type", "Bank"]]
4842
+  (0.5ms) commit transaction
4843
+  (0.0ms) begin transaction
4844
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.006493"], ["id", 2]]
4845
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:32:52.003428000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.006493"], ["item_id", 2], ["item_type", "Bank"]]
4846
+  (0.5ms) commit transaction
4847
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
4848
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
4849
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
4850
+  (0.0ms) begin transaction
4851
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.015713"], ["updated_at", "2016-08-03 19:32:52.015713"]]
4852
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.015713"], ["item_id", 3], ["item_type", "Bank"]]
4853
+  (0.5ms) commit transaction
4854
+  (0.0ms) begin transaction
4855
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.019279"], ["id", 3]]
4856
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.015713000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.019279"], ["item_id", 3], ["item_type", "Bank"]]
4857
+  (0.5ms) commit transaction
4858
+  (0.0ms) begin transaction
4859
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.022726"], ["id", 3]]
4860
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.015713000 Z\nupdated_at: 2016-08-03 19:32:52.019279000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.022726"], ["item_id", 3], ["item_type", "Bank"]]
4861
+  (0.5ms) commit transaction
4862
+  (0.1ms) begin transaction
4863
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:32:52.027320"], ["id", 3]]
4864
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:32:52.015713000 Z\nupdated_at: 2016-08-03 19:32:52.022726000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.027320"], ["item_id", 3], ["item_type", "Bank"]]
4865
+  (0.5ms) commit transaction
4866
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
4867
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
4868
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4869
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4870
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
4871
+  (0.0ms) begin transaction
4872
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.035600"], ["updated_at", "2016-08-03 19:32:52.035600"]]
4873
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.035600"], ["item_id", 4], ["item_type", "Bank"]]
4874
+  (0.5ms) commit transaction
4875
+  (0.0ms) begin transaction
4876
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.042610"], ["updated_at", "2016-08-03 19:32:52.042610"]]
4877
+  (0.5ms) commit transaction
4878
+  (0.0ms) begin transaction
4879
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:32:52.046710"], ["id", 4]]
4880
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.035600000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.046710"], ["item_id", 4], ["item_type", "Bank"]]
4881
+  (0.5ms) commit transaction
4882
+  (0.0ms) begin transaction
4883
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.051304"], ["id", 4]]
4884
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.035600000 Z\nupdated_at: 2016-08-03 19:32:52.046710000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:32:52.051304"], ["item_id", 4], ["item_type", "Bank"]]
4885
+  (0.6ms) commit transaction
4886
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
4887
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
4888
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 9) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4889
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
4890
+  (0.1ms) begin transaction
4891
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.058776"], ["updated_at", "2016-08-03 19:32:52.058776"]]
4892
+  (0.5ms) commit transaction
4893
+  (0.0ms) begin transaction
4894
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.060590"], ["updated_at", "2016-08-03 19:32:52.060590"]]
4895
+  (0.4ms) commit transaction
4896
+  (0.0ms) begin transaction
4897
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.062033"], ["updated_at", "2016-08-03 19:32:52.062033"]]
4898
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:32:52.062033"], ["item_id", 5], ["item_type", "Bank"]]
4899
+  (0.5ms) commit transaction
4900
+  (0.1ms) begin transaction
4901
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:32:52.065559"], ["id", 5]]
4902
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.062033000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:32:52.065559"], ["item_id", 5], ["item_type", "Bank"]]
4903
+  (0.5ms) commit transaction
4904
+  (0.0ms) begin transaction
4905
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:32:52.069103"], ["id", 5]]
4906
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.062033000 Z\nupdated_at: 2016-08-03 19:32:52.065559000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:32:52.069103"], ["item_id", 5], ["item_type", "Bank"]]
4907
+  (0.5ms) commit transaction
4908
+  (0.0ms) begin transaction
4909
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:32:52.072651"], ["id", 5]]
4910
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:32:52.062033000 Z\nupdated_at: 2016-08-03 19:32:52.069103000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 19:32:52.072651"], ["item_id", 5], ["item_type", "Bank"]]
4911
+  (0.6ms) commit transaction
4912
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
4913
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
4914
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4915
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4916
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
4917
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4918
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4919
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4920
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4921
+  (0.1ms) begin transaction
4922
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:32:52.082884"], ["updated_at", "2016-08-03 19:32:52.082884"]]
4923
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:32:52.082884"], ["item_id", 6], ["item_type", "Bank"]]
4924
+  (0.6ms) commit transaction
4925
+  (0.1ms) begin transaction
4926
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:32:52.086336"], ["id", 6]]
4927
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:32:52.082884000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:32:52.086336"], ["item_id", 6], ["item_type", "Bank"]]
4928
+  (0.6ms) commit transaction
4929
+  (0.0ms) begin transaction
4930
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.089872"], ["updated_at", "2016-08-03 19:32:52.089872"]]
4931
+  (0.5ms) commit transaction
4932
+  (0.0ms) begin transaction
4933
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:32:52.091701"], ["id", 6]]
4934
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.086336000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.091701"], ["item_id", 6], ["item_type", "Bank"]]
4935
+  (0.6ms) commit transaction
4936
+  (0.0ms) begin transaction
4937
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.095438"], ["updated_at", "2016-08-03 19:32:52.095438"]]
4938
+  (0.4ms) commit transaction
4939
+  (0.0ms) begin transaction
4940
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:32:52.096975"], ["id", 6]]
4941
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.091701000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.096975"], ["item_id", 6], ["item_type", "Bank"]]
4942
+  (0.5ms) commit transaction
4943
+  (0.0ms) begin transaction
4944
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:32:52.100324"], ["id", 6]]
4945
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.096975000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.100324"], ["item_id", 6], ["item_type", "Bank"]]
4946
+  (0.4ms) commit transaction
4947
+  (0.0ms) begin transaction
4948
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:32:52.103243"], ["updated_at", "2016-08-03 19:32:52.103243"]]
4949
+  (0.4ms) commit transaction
4950
+  (0.0ms) begin transaction
4951
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:32:52.104793"], ["id", 6]]
4952
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.100324000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:32:52.104793"], ["item_id", 6], ["item_type", "Bank"]]
4953
+  (0.6ms) commit transaction
4954
+  (0.0ms) begin transaction
4955
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:32:52.108383"], ["id", 6]]
4956
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:32:52.082884000 Z\nupdated_at: 2016-08-03 19:32:52.104793000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:32:52.108383"], ["item_id", 6], ["item_type", "Bank"]]
4957
+  (0.5ms) commit transaction
4958
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
4959
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
4960
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4961
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4962
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4963
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4964
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4965
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
4966
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4967
+  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) 
4968
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4969
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
4970
+  (0.1ms) select sqlite_version(*)
4971
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4972
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4973
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4974
+  (0.1ms) SELECT version FROM "schema_migrations"
4975
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4976
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4977
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4978
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4979
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4980
+  (0.1ms) begin transaction
4981
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:35:03.207884"], ["updated_at", "2016-08-03 19:35:03.207884"]]
4982
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.207884"], ["item_id", 1], ["item_type", "Bank"]]
4983
+  (2.5ms) commit transaction
4984
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4985
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
4986
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
4987
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4988
+  (0.0ms) begin transaction
4989
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.238990"], ["updated_at", "2016-08-03 19:35:03.238990"]]
4990
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.238990"], ["item_id", 2], ["item_type", "Bank"]]
4991
+  (0.5ms) commit transaction
4992
+  (0.0ms) begin transaction
4993
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.242431"], ["id", 2]]
4994
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 19:35:03.238990000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.242431"], ["item_id", 2], ["item_type", "Bank"]]
4995
+  (0.5ms) commit transaction
4996
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
4997
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
4998
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
4999
+  (0.0ms) begin transaction
5000
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.251178"], ["updated_at", "2016-08-03 19:35:03.251178"]]
5001
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.251178"], ["item_id", 3], ["item_type", "Bank"]]
5002
+  (0.6ms) commit transaction
5003
+  (0.1ms) begin transaction
5004
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.254704"], ["id", 3]]
5005
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.251178000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.254704"], ["item_id", 3], ["item_type", "Bank"]]
5006
+  (0.7ms) commit transaction
5007
+  (0.0ms) begin transaction
5008
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:35:03.259025"], ["id", 3]]
5009
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.251178000 Z\nupdated_at: 2016-08-03 19:35:03.254704000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.259025"], ["item_id", 3], ["item_type", "Bank"]]
5010
+  (0.6ms) commit transaction
5011
+  (0.0ms) begin transaction
5012
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:35:03.263292"], ["id", 3]]
5013
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \ncreated_at: 2016-08-03 19:35:03.251178000 Z\nupdated_at: 2016-08-03 19:35:03.259025000 Z\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.263292"], ["item_id", 3], ["item_type", "Bank"]]
5014
+  (0.6ms) commit transaction
5015
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5016
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5017
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5018
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5019
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5020
+  (0.0ms) begin transaction
5021
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.272877"], ["updated_at", "2016-08-03 19:35:03.272877"]]
5022
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.272877"], ["item_id", 4], ["item_type", "Bank"]]
5023
+  (0.5ms) commit transaction
5024
+  (0.0ms) begin transaction
5025
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.281497"], ["updated_at", "2016-08-03 19:35:03.281497"]]
5026
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.281497"], ["item_id", 1], ["item_type", "User"]]
5027
+  (0.5ms) commit transaction
5028
+  (0.0ms) begin transaction
5029
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.285313"], ["updated_at", "2016-08-03 19:35:03.285313"]]
5030
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.285313"], ["item_id", 2], ["item_type", "User"]]
5031
+  (0.5ms) commit transaction
5032
+  (0.0ms) begin transaction
5033
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.288163"], ["updated_at", "2016-08-03 19:35:03.288163"]]
5034
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:35:03.288163"], ["item_id", 5], ["item_type", "Bank"]]
5035
+  (0.6ms) commit transaction
5036
+  (0.0ms) begin transaction
5037
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:35:03.293729"], ["id", 5]]
5038
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.288163000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 19:35:03.293729"], ["item_id", 5], ["item_type", "Bank"]]
5039
+  (0.6ms) commit transaction
5040
+  (0.0ms) begin transaction
5041
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:35:03.297857"], ["id", 5]]
5042
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:35:03.288163000 Z\nupdated_at: 2016-08-03 19:35:03.293729000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 19:35:03.297857"], ["item_id", 5], ["item_type", "Bank"]]
5043
+  (0.8ms) commit transaction
5044
+  (0.0ms) begin transaction
5045
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:35:03.302014"], ["id", 5]]
5046
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\ncreated_at: 2016-08-03 19:35:03.288163000 Z\nupdated_at: 2016-08-03 19:35:03.297857000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 19:35:03.302014"], ["item_id", 5], ["item_type", "Bank"]]
5047
+  (0.6ms) commit transaction
5048
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5049
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5050
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 12) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5051
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5052
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 14) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5053
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
5054
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
5055
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5056
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5057
+  (0.0ms) begin transaction
5058
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:35:03.313451"], ["updated_at", "2016-08-03 19:35:03.313451"]]
5059
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:35:03.313451"], ["item_id", 6], ["item_type", "Bank"]]
5060
+  (0.6ms) commit transaction
5061
+  (0.0ms) begin transaction
5062
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:35:03.316743"], ["id", 6]]
5063
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\ncreated_at: &1 2016-08-03 19:35:03.313451000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:35:03.316743"], ["item_id", 6], ["item_type", "Bank"]]
5064
+  (0.5ms) commit transaction
5065
+  (0.1ms) begin transaction
5066
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.320371"], ["updated_at", "2016-08-03 19:35:03.320371"]]
5067
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.320371"], ["item_id", 3], ["item_type", "User"]]
5068
+  (0.4ms) commit transaction
5069
+  (0.0ms) begin transaction
5070
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:35:03.323347"], ["id", 6]]
5071
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.316743000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.323347"], ["item_id", 6], ["item_type", "Bank"]]
5072
+  (0.4ms) commit transaction
5073
+  (0.0ms) begin transaction
5074
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.326640"], ["updated_at", "2016-08-03 19:35:03.326640"]]
5075
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.326640"], ["item_id", 4], ["item_type", "User"]]
5076
+  (0.5ms) commit transaction
5077
+  (0.1ms) begin transaction
5078
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:35:03.329877"], ["id", 6]]
5079
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.323347000 Z\nuser_id: 3\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.329877"], ["item_id", 6], ["item_type", "Bank"]]
5080
+  (0.5ms) commit transaction
5081
+  (0.1ms) begin transaction
5082
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:35:03.333528"], ["id", 6]]
5083
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.329877000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.333528"], ["item_id", 6], ["item_type", "Bank"]]
5084
+  (0.5ms) commit transaction
5085
+  (0.0ms) begin transaction
5086
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:35:03.337078"], ["updated_at", "2016-08-03 19:35:03.337078"]]
5087
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.337078"], ["item_id", 5], ["item_type", "User"]]
5088
+  (0.5ms) commit transaction
5089
+  (0.1ms) begin transaction
5090
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:35:03.340592"], ["id", 6]]
5091
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.333528000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:35:03.340592"], ["item_id", 6], ["item_type", "Bank"]]
5092
+  (0.5ms) commit transaction
5093
+  (0.0ms) begin transaction
5094
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:35:03.344576"], ["id", 6]]
5095
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\ncreated_at: 2016-08-03 19:35:03.313451000 Z\nupdated_at: 2016-08-03 19:35:03.340592000 Z\nuser_id: 5\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:35:03.344576"], ["item_id", 6], ["item_type", "Bank"]]
5096
+  (0.5ms) commit transaction
5097
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5098
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5099
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5100
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 18) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5101
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 20) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5102
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5103
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5104
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5105
+  (2.5ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5106
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5107
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5108
+  (0.1ms) select sqlite_version(*)
5109
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5110
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5111
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5112
+  (0.1ms) SELECT version FROM "schema_migrations"
5113
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5114
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5115
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5117
+  (0.1ms) begin transaction
5118
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:37:45.066485"], ["updated_at", "2016-08-03 19:37:45.066485"]]
5119
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.066485"], ["item_id", 1], ["item_type", "Bank"]]
5120
+  (2.3ms) commit transaction
5121
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5122
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
5123
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
5124
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5125
+  (0.0ms) begin transaction
5126
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.096909"], ["updated_at", "2016-08-03 19:37:45.096909"]]
5127
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.096909"], ["item_id", 2], ["item_type", "Bank"]]
5128
+  (0.6ms) commit transaction
5129
+  (0.1ms) begin transaction
5130
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.101072"], ["id", 2]]
5131
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.096909000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.101072"], ["item_id", 2], ["item_type", "Bank"]]
5132
+  (0.6ms) commit transaction
5133
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
5134
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
5135
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
5136
+  (0.0ms) begin transaction
5137
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.110400"], ["updated_at", "2016-08-03 19:37:45.110400"]]
5138
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.110400"], ["item_id", 3], ["item_type", "Bank"]]
5139
+  (0.6ms) commit transaction
5140
+  (0.0ms) begin transaction
5141
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.114022"], ["id", 3]]
5142
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.110400000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.114022"], ["item_id", 3], ["item_type", "Bank"]]
5143
+  (0.5ms) commit transaction
5144
+  (0.0ms) begin transaction
5145
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.117623"], ["id", 3]]
5146
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:37:45.110400000 Z\nupdated_at: 2016-08-03 19:37:45.114022000 Z\n"], ["created_at", "2016-08-03 19:37:45.117623"], ["item_id", 3], ["item_type", "Bank"]]
5147
+  (0.6ms) commit transaction
5148
+  (0.0ms) begin transaction
5149
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:37:45.121195"], ["id", 3]]
5150
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:37:45.110400000 Z\nupdated_at: 2016-08-03 19:37:45.117623000 Z\n"], ["created_at", "2016-08-03 19:37:45.121195"], ["item_id", 3], ["item_type", "Bank"]]
5151
+  (0.5ms) commit transaction
5152
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5153
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5154
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5155
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5156
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5157
+  (0.0ms) begin transaction
5158
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.129509"], ["updated_at", "2016-08-03 19:37:45.129509"]]
5159
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.129509"], ["item_id", 4], ["item_type", "Bank"]]
5160
+  (0.6ms) commit transaction
5161
+  (0.0ms) begin transaction
5162
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.139582"], ["updated_at", "2016-08-03 19:37:45.139582"]]
5163
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.139582"], ["item_id", 1], ["item_type", "User"]]
5164
+  (0.7ms) commit transaction
5165
+  (0.0ms) begin transaction
5166
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:37:45.145740"], ["id", 4]]
5167
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.129509000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.145740"], ["item_id", 4], ["item_type", "Bank"]]
5168
+  (0.5ms) commit transaction
5169
+  (0.0ms) begin transaction
5170
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.149095"], ["id", 4]]
5171
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:37:45.129509000 Z\nupdated_at: 2016-08-03 19:37:45.145740000 Z\n"], ["created_at", "2016-08-03 19:37:45.149095"], ["item_id", 4], ["item_type", "Bank"]]
5172
+  (0.5ms) commit transaction
5173
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
5174
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
5175
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5176
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5177
+  (0.0ms) begin transaction
5178
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.156372"], ["updated_at", "2016-08-03 19:37:45.156372"]]
5179
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.156372"], ["item_id", 2], ["item_type", "User"]]
5180
+  (0.7ms) commit transaction
5181
+  (0.0ms) begin transaction
5182
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.159934"], ["updated_at", "2016-08-03 19:37:45.159934"]]
5183
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.159934"], ["item_id", 3], ["item_type", "User"]]
5184
+  (0.5ms) commit transaction
5185
+  (0.0ms) begin transaction
5186
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.163152"], ["updated_at", "2016-08-03 19:37:45.163152"]]
5187
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:37:45.163152"], ["item_id", 5], ["item_type", "Bank"]]
5188
+  (0.5ms) commit transaction
5189
+  (0.0ms) begin transaction
5190
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:37:45.166254"], ["id", 5]]
5191
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.163152000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:37:45.166254"], ["item_id", 5], ["item_type", "Bank"]]
5192
+  (0.6ms) commit transaction
5193
+  (0.0ms) begin transaction
5194
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:37:45.169904"], ["id", 5]]
5195
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:37:45.163152000 Z\nupdated_at: 2016-08-03 19:37:45.166254000 Z\n"], ["created_at", "2016-08-03 19:37:45.169904"], ["item_id", 5], ["item_type", "Bank"]]
5196
+  (0.6ms) commit transaction
5197
+  (0.0ms) begin transaction
5198
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:37:45.173081"], ["id", 5]]
5199
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:37:45.163152000 Z\nupdated_at: 2016-08-03 19:37:45.169904000 Z\n"], ["created_at", "2016-08-03 19:37:45.173081"], ["item_id", 5], ["item_type", "Bank"]]
5200
+  (0.6ms) commit transaction
5201
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5202
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5203
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5204
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5205
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5206
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5207
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5208
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5209
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5210
+  (0.0ms) begin transaction
5211
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:37:45.182906"], ["updated_at", "2016-08-03 19:37:45.182906"]]
5212
+ SQL (0.2ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.182906"], ["item_id", 6], ["item_type", "Bank"]]
5213
+  (0.6ms) commit transaction
5214
+  (0.0ms) begin transaction
5215
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:37:45.186804"], ["id", 6]]
5216
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:37:45.182906000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:37:45.186804"], ["item_id", 6], ["item_type", "Bank"]]
5217
+  (0.5ms) commit transaction
5218
+  (0.0ms) begin transaction
5219
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.190339"], ["updated_at", "2016-08-03 19:37:45.190339"]]
5220
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.190339"], ["item_id", 4], ["item_type", "User"]]
5221
+  (0.7ms) commit transaction
5222
+  (0.0ms) begin transaction
5223
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:37:45.193973"], ["id", 6]]
5224
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.186804000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.193973"], ["item_id", 6], ["item_type", "Bank"]]
5225
+  (0.5ms) commit transaction
5226
+  (0.1ms) begin transaction
5227
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.197801"], ["updated_at", "2016-08-03 19:37:45.197801"]]
5228
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.197801"], ["item_id", 5], ["item_type", "User"]]
5229
+  (0.5ms) commit transaction
5230
+  (0.1ms) begin transaction
5231
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:37:45.201832"], ["id", 6]]
5232
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.193973000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.201832"], ["item_id", 6], ["item_type", "Bank"]]
5233
+  (0.5ms) commit transaction
5234
+  (0.0ms) begin transaction
5235
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:37:45.205608"], ["id", 6]]
5236
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.201832000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.205608"], ["item_id", 6], ["item_type", "Bank"]]
5237
+  (0.6ms) commit transaction
5238
+  (0.0ms) begin transaction
5239
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:37:45.208841"], ["updated_at", "2016-08-03 19:37:45.208841"]]
5240
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.208841"], ["item_id", 6], ["item_type", "User"]]
5241
+  (0.4ms) commit transaction
5242
+  (0.0ms) begin transaction
5243
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:37:45.211579"], ["id", 6]]
5244
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.205608000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:37:45.211579"], ["item_id", 6], ["item_type", "Bank"]]
5245
+  (0.5ms) commit transaction
5246
+  (0.0ms) begin transaction
5247
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:37:45.214873"], ["id", 6]]
5248
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:37:45.182906000 Z\nupdated_at: 2016-08-03 19:37:45.211579000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.214873"], ["item_id", 6], ["item_type", "Bank"]]
5249
+  (0.4ms) commit transaction
5250
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5251
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5252
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5253
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5254
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5255
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5256
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5257
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5258
+  (0.0ms) begin transaction
5259
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:37:45.226476"], ["updated_at", "2016-08-03 19:37:45.226476"]]
5260
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:37:45.226476"], ["item_id", 7], ["item_type", "User"]]
5261
+  (0.7ms) commit transaction
5262
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5263
+  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5264
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5265
+  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5266
+  (0.1ms) select sqlite_version(*)
5267
+  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5268
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5269
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5270
+  (0.1ms) SELECT version FROM "schema_migrations"
5271
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5272
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5273
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5274
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5275
+  (0.0ms) begin transaction
5276
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:38:17.023809"], ["updated_at", "2016-08-03 19:38:17.023809"]]
5277
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.023809"], ["item_id", 1], ["item_type", "Bank"]]
5278
+  (2.6ms) commit transaction
5279
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5280
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
5281
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
5282
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5283
+  (0.0ms) begin transaction
5284
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.056087"], ["updated_at", "2016-08-03 19:38:17.056087"]]
5285
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.056087"], ["item_id", 2], ["item_type", "Bank"]]
5286
+  (0.6ms) commit transaction
5287
+  (0.0ms) begin transaction
5288
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.059445"], ["id", 2]]
5289
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.056087000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.059445"], ["item_id", 2], ["item_type", "Bank"]]
5290
+  (0.7ms) commit transaction
5291
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
5292
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
5293
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
5294
+  (0.0ms) begin transaction
5295
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.068959"], ["updated_at", "2016-08-03 19:38:17.068959"]]
5296
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.068959"], ["item_id", 3], ["item_type", "Bank"]]
5297
+  (0.6ms) commit transaction
5298
+  (0.0ms) begin transaction
5299
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.072360"], ["id", 3]]
5300
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.068959000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.072360"], ["item_id", 3], ["item_type", "Bank"]]
5301
+  (0.7ms) commit transaction
5302
+  (0.0ms) begin transaction
5303
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.077246"], ["id", 3]]
5304
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:17.068959000 Z\nupdated_at: 2016-08-03 19:38:17.072360000 Z\n"], ["created_at", "2016-08-03 19:38:17.077246"], ["item_id", 3], ["item_type", "Bank"]]
5305
+  (0.4ms) commit transaction
5306
+  (0.0ms) begin transaction
5307
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:38:17.080755"], ["id", 3]]
5308
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:38:17.068959000 Z\nupdated_at: 2016-08-03 19:38:17.077246000 Z\n"], ["created_at", "2016-08-03 19:38:17.080755"], ["item_id", 3], ["item_type", "Bank"]]
5309
+  (0.5ms) commit transaction
5310
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5311
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5312
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5313
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5314
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5315
+  (0.0ms) begin transaction
5316
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.089105"], ["updated_at", "2016-08-03 19:38:17.089105"]]
5317
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.089105"], ["item_id", 4], ["item_type", "Bank"]]
5318
+  (0.6ms) commit transaction
5319
+  (0.0ms) begin transaction
5320
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.098382"], ["updated_at", "2016-08-03 19:38:17.098382"]]
5321
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.098382"], ["item_id", 1], ["item_type", "User"]]
5322
+  (0.6ms) commit transaction
5323
+  (0.1ms) begin transaction
5324
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:38:17.104722"], ["id", 4]]
5325
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.089105000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.104722"], ["item_id", 4], ["item_type", "Bank"]]
5326
+  (0.6ms) commit transaction
5327
+  (0.1ms) begin transaction
5328
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.109697"], ["id", 4]]
5329
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:38:17.089105000 Z\nupdated_at: 2016-08-03 19:38:17.104722000 Z\n"], ["created_at", "2016-08-03 19:38:17.109697"], ["item_id", 4], ["item_type", "Bank"]]
5330
+  (0.5ms) commit transaction
5331
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
5332
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
5333
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5334
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5335
+  (0.0ms) begin transaction
5336
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.117042"], ["updated_at", "2016-08-03 19:38:17.117042"]]
5337
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.117042"], ["item_id", 2], ["item_type", "User"]]
5338
+  (0.6ms) commit transaction
5339
+  (0.0ms) begin transaction
5340
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.120201"], ["updated_at", "2016-08-03 19:38:17.120201"]]
5341
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.120201"], ["item_id", 3], ["item_type", "User"]]
5342
+  (0.5ms) commit transaction
5343
+  (0.1ms) begin transaction
5344
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.123294"], ["updated_at", "2016-08-03 19:38:17.123294"]]
5345
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:17.123294"], ["item_id", 5], ["item_type", "Bank"]]
5346
+  (0.6ms) commit transaction
5347
+  (0.0ms) begin transaction
5348
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:38:17.126748"], ["id", 5]]
5349
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.123294000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:17.126748"], ["item_id", 5], ["item_type", "Bank"]]
5350
+  (0.5ms) commit transaction
5351
+  (0.0ms) begin transaction
5352
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:38:17.130595"], ["id", 5]]
5353
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:38:17.123294000 Z\nupdated_at: 2016-08-03 19:38:17.126748000 Z\n"], ["created_at", "2016-08-03 19:38:17.130595"], ["item_id", 5], ["item_type", "Bank"]]
5354
+  (0.6ms) commit transaction
5355
+  (0.0ms) begin transaction
5356
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:38:17.134283"], ["id", 5]]
5357
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:38:17.123294000 Z\nupdated_at: 2016-08-03 19:38:17.130595000 Z\n"], ["created_at", "2016-08-03 19:38:17.134283"], ["item_id", 5], ["item_type", "Bank"]]
5358
+  (0.6ms) commit transaction
5359
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5360
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5361
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5362
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5363
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5364
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5365
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5367
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5368
+  (0.0ms) begin transaction
5369
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:17.145511"], ["updated_at", "2016-08-03 19:38:17.145511"]]
5370
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.145511"], ["item_id", 6], ["item_type", "Bank"]]
5371
+  (0.6ms) commit transaction
5372
+  (0.0ms) begin transaction
5373
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:17.149854"], ["id", 6]]
5374
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:17.145511000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:38:17.149854"], ["item_id", 6], ["item_type", "Bank"]]
5375
+  (0.5ms) commit transaction
5376
+  (0.1ms) begin transaction
5377
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.154568"], ["updated_at", "2016-08-03 19:38:17.154568"]]
5378
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.154568"], ["item_id", 4], ["item_type", "User"]]
5379
+  (0.7ms) commit transaction
5380
+  (0.0ms) begin transaction
5381
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:38:17.158502"], ["id", 6]]
5382
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.149854000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.158502"], ["item_id", 6], ["item_type", "Bank"]]
5383
+  (0.5ms) commit transaction
5384
+  (0.0ms) begin transaction
5385
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.161940"], ["updated_at", "2016-08-03 19:38:17.161940"]]
5386
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.161940"], ["item_id", 5], ["item_type", "User"]]
5387
+  (0.5ms) commit transaction
5388
+  (0.0ms) begin transaction
5389
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:38:17.165017"], ["id", 6]]
5390
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.158502000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.165017"], ["item_id", 6], ["item_type", "Bank"]]
5391
+  (0.5ms) commit transaction
5392
+  (0.0ms) begin transaction
5393
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:38:17.168201"], ["id", 6]]
5394
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.165017000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.168201"], ["item_id", 6], ["item_type", "Bank"]]
5395
+  (0.6ms) commit transaction
5396
+  (0.1ms) begin transaction
5397
+ SQL (0.4ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:17.172888"], ["updated_at", "2016-08-03 19:38:17.172888"]]
5398
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.172888"], ["item_id", 6], ["item_type", "User"]]
5399
+  (0.6ms) commit transaction
5400
+  (0.0ms) begin transaction
5401
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:38:17.177021"], ["id", 6]]
5402
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.168201000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:17.177021"], ["item_id", 6], ["item_type", "Bank"]]
5403
+  (0.5ms) commit transaction
5404
+  (0.0ms) begin transaction
5405
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:17.180235"], ["id", 6]]
5406
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:38:17.145511000 Z\nupdated_at: 2016-08-03 19:38:17.177021000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.180235"], ["item_id", 6], ["item_type", "Bank"]]
5407
+  (0.5ms) commit transaction
5408
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5409
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5410
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5411
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5412
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5413
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5414
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5415
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5416
+  (0.0ms) begin transaction
5417
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:38:17.191018"], ["updated_at", "2016-08-03 19:38:17.191018"]]
5418
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:17.191018"], ["item_id", 7], ["item_type", "User"]]
5419
+  (0.6ms) commit transaction
5420
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
5421
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
5422
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5423
+  (2.9ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5424
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5425
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5426
+  (0.1ms) select sqlite_version(*)
5427
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5428
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5429
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5430
+  (0.1ms) SELECT version FROM "schema_migrations"
5431
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5432
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5433
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5434
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5435
+  (0.1ms) begin transaction
5436
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:38:55.863579"], ["updated_at", "2016-08-03 19:38:55.863579"]]
5437
+ SQL (0.3ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.863579"], ["item_id", 1], ["item_type", "Bank"]]
5438
+  (2.5ms) commit transaction
5439
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5440
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
5441
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
5442
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5443
+  (0.1ms) begin transaction
5444
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.895193"], ["updated_at", "2016-08-03 19:38:55.895193"]]
5445
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.895193"], ["item_id", 2], ["item_type", "Bank"]]
5446
+  (0.5ms) commit transaction
5447
+  (0.0ms) begin transaction
5448
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.898654"], ["id", 2]]
5449
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.895193000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.898654"], ["item_id", 2], ["item_type", "Bank"]]
5450
+  (0.4ms) commit transaction
5451
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
5452
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
5453
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
5454
+  (0.1ms) begin transaction
5455
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.907541"], ["updated_at", "2016-08-03 19:38:55.907541"]]
5456
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.907541"], ["item_id", 3], ["item_type", "Bank"]]
5457
+  (0.4ms) commit transaction
5458
+  (0.0ms) begin transaction
5459
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.910429"], ["id", 3]]
5460
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.907541000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.910429"], ["item_id", 3], ["item_type", "Bank"]]
5461
+  (0.7ms) commit transaction
5462
+  (0.0ms) begin transaction
5463
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:55.914798"], ["id", 3]]
5464
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:55.907541000 Z\nupdated_at: 2016-08-03 19:38:55.910429000 Z\n"], ["created_at", "2016-08-03 19:38:55.914798"], ["item_id", 3], ["item_type", "Bank"]]
5465
+  (0.6ms) commit transaction
5466
+  (0.1ms) begin transaction
5467
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:38:55.918975"], ["id", 3]]
5468
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:38:55.907541000 Z\nupdated_at: 2016-08-03 19:38:55.914798000 Z\n"], ["created_at", "2016-08-03 19:38:55.918975"], ["item_id", 3], ["item_type", "Bank"]]
5469
+  (0.5ms) commit transaction
5470
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5471
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5472
+ PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5473
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5474
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5475
+  (0.0ms) begin transaction
5476
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.927693"], ["updated_at", "2016-08-03 19:38:55.927693"]]
5477
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.927693"], ["item_id", 4], ["item_type", "Bank"]]
5478
+  (0.5ms) commit transaction
5479
+  (0.0ms) begin transaction
5480
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.936365"], ["updated_at", "2016-08-03 19:38:55.936365"]]
5481
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.936365"], ["item_id", 1], ["item_type", "User"]]
5482
+  (0.7ms) commit transaction
5483
+  (0.0ms) begin transaction
5484
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:38:55.942977"], ["id", 4]]
5485
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.927693000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.942977"], ["item_id", 4], ["item_type", "Bank"]]
5486
+  (0.6ms) commit transaction
5487
+  (0.0ms) begin transaction
5488
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:55.947049"], ["id", 4]]
5489
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:38:55.927693000 Z\nupdated_at: 2016-08-03 19:38:55.942977000 Z\n"], ["created_at", "2016-08-03 19:38:55.947049"], ["item_id", 4], ["item_type", "Bank"]]
5490
+  (0.5ms) commit transaction
5491
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
5492
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
5493
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5494
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5495
+  (0.0ms) begin transaction
5496
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.954822"], ["updated_at", "2016-08-03 19:38:55.954822"]]
5497
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.954822"], ["item_id", 2], ["item_type", "User"]]
5498
+  (0.6ms) commit transaction
5499
+  (0.0ms) begin transaction
5500
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.958304"], ["updated_at", "2016-08-03 19:38:55.958304"]]
5501
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.958304"], ["item_id", 3], ["item_type", "User"]]
5502
+  (0.7ms) commit transaction
5503
+  (0.0ms) begin transaction
5504
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.962174"], ["updated_at", "2016-08-03 19:38:55.962174"]]
5505
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:38:55.962174"], ["item_id", 5], ["item_type", "Bank"]]
5506
+  (0.7ms) commit transaction
5507
+  (0.0ms) begin transaction
5508
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:38:55.966128"], ["id", 5]]
5509
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.962174000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:38:55.966128"], ["item_id", 5], ["item_type", "Bank"]]
5510
+  (0.5ms) commit transaction
5511
+  (0.0ms) begin transaction
5512
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:38:55.969298"], ["id", 5]]
5513
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:38:55.962174000 Z\nupdated_at: 2016-08-03 19:38:55.966128000 Z\n"], ["created_at", "2016-08-03 19:38:55.969298"], ["item_id", 5], ["item_type", "Bank"]]
5514
+  (0.4ms) commit transaction
5515
+  (0.0ms) begin transaction
5516
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:38:55.972287"], ["id", 5]]
5517
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:38:55.962174000 Z\nupdated_at: 2016-08-03 19:38:55.969298000 Z\n"], ["created_at", "2016-08-03 19:38:55.972287"], ["item_id", 5], ["item_type", "Bank"]]
5518
+  (0.5ms) commit transaction
5519
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5520
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5521
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5522
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5523
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5524
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5525
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5527
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5528
+  (0.0ms) begin transaction
5529
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:38:55.982204"], ["updated_at", "2016-08-03 19:38:55.982204"]]
5530
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:55.982204"], ["item_id", 6], ["item_type", "Bank"]]
5531
+  (0.7ms) commit transaction
5532
+  (0.0ms) begin transaction
5533
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:38:55.985847"], ["id", 6]]
5534
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:38:55.982204000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:38:55.985847"], ["item_id", 6], ["item_type", "Bank"]]
5535
+  (0.5ms) commit transaction
5536
+  (0.0ms) begin transaction
5537
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.989646"], ["updated_at", "2016-08-03 19:38:55.989646"]]
5538
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.989646"], ["item_id", 4], ["item_type", "User"]]
5539
+  (0.5ms) commit transaction
5540
+  (0.0ms) begin transaction
5541
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:38:55.993414"], ["id", 6]]
5542
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:55.985847000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.993414"], ["item_id", 6], ["item_type", "Bank"]]
5543
+  (0.5ms) commit transaction
5544
+  (0.1ms) begin transaction
5545
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:55.997690"], ["updated_at", "2016-08-03 19:38:55.997690"]]
5546
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:55.997690"], ["item_id", 5], ["item_type", "User"]]
5547
+  (0.5ms) commit transaction
5548
+  (0.0ms) begin transaction
5549
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:38:56.001388"], ["id", 6]]
5550
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:55.993414000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.001388"], ["item_id", 6], ["item_type", "Bank"]]
5551
+  (0.4ms) commit transaction
5552
+  (0.0ms) begin transaction
5553
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:38:56.004758"], ["id", 6]]
5554
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.001388000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.004758"], ["item_id", 6], ["item_type", "Bank"]]
5555
+  (0.7ms) commit transaction
5556
+  (0.0ms) begin transaction
5557
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:56.008023"], ["updated_at", "2016-08-03 19:38:56.008023"]]
5558
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.008023"], ["item_id", 6], ["item_type", "User"]]
5559
+  (0.5ms) commit transaction
5560
+  (0.0ms) begin transaction
5561
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:38:56.011038"], ["id", 6]]
5562
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.004758000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:38:56.011038"], ["item_id", 6], ["item_type", "Bank"]]
5563
+  (0.5ms) commit transaction
5564
+  (0.0ms) begin transaction
5565
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:38:56.014544"], ["id", 6]]
5566
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:38:55.982204000 Z\nupdated_at: 2016-08-03 19:38:56.011038000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.014544"], ["item_id", 6], ["item_type", "Bank"]]
5567
+  (0.6ms) commit transaction
5568
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5569
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5570
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5571
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5572
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5573
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5574
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5575
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5576
+  (0.0ms) begin transaction
5577
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:38:56.025857"], ["updated_at", "2016-08-03 19:38:56.025857"]]
5578
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.025857"], ["item_id", 7], ["item_type", "User"]]
5579
+  (0.5ms) commit transaction
5580
+  (0.0ms) begin transaction
5581
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:38:56.029199"], ["updated_at", "2016-08-03 19:38:56.029199"]]
5582
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.029199"], ["item_id", 8], ["item_type", "User"]]
5583
+  (0.5ms) commit transaction
5584
+  (0.0ms) begin transaction
5585
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:38:56.032260"], ["updated_at", "2016-08-03 19:38:56.032260"]]
5586
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:38:56.032260"], ["item_id", 9], ["item_type", "User"]]
5587
+  (0.5ms) commit transaction
5588
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 9], ["item_type", "User"]]
5589
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 9], ["item_type", "User"]]
5590
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5591
+  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5592
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5593
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5594
+  (0.1ms) select sqlite_version(*)
5595
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5596
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5597
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5598
+  (0.1ms) SELECT version FROM "schema_migrations"
5599
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5600
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5601
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5602
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5603
+  (0.1ms) begin transaction
5604
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 19:39:39.382838"], ["updated_at", "2016-08-03 19:39:39.382838"]]
5605
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.382838"], ["item_id", 1], ["item_type", "Bank"]]
5606
+  (2.6ms) commit transaction
5607
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5608
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
5609
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
5610
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5611
+  (0.0ms) begin transaction
5612
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.408160"], ["updated_at", "2016-08-03 19:39:39.408160"]]
5613
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.408160"], ["item_id", 2], ["item_type", "Bank"]]
5614
+  (0.5ms) commit transaction
5615
+  (0.0ms) begin transaction
5616
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.411511"], ["id", 2]]
5617
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.408160000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.411511"], ["item_id", 2], ["item_type", "Bank"]]
5618
+  (0.7ms) commit transaction
5619
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
5620
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
5621
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
5622
+  (0.0ms) begin transaction
5623
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.422262"], ["updated_at", "2016-08-03 19:39:39.422262"]]
5624
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.422262"], ["item_id", 3], ["item_type", "Bank"]]
5625
+  (0.6ms) commit transaction
5626
+  (0.0ms) begin transaction
5627
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.426208"], ["id", 3]]
5628
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.422262000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.426208"], ["item_id", 3], ["item_type", "Bank"]]
5629
+  (0.4ms) commit transaction
5630
+  (0.0ms) begin transaction
5631
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.429758"], ["id", 3]]
5632
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:39:39.422262000 Z\nupdated_at: 2016-08-03 19:39:39.426208000 Z\n"], ["created_at", "2016-08-03 19:39:39.429758"], ["item_id", 3], ["item_type", "Bank"]]
5633
+  (0.7ms) commit transaction
5634
+  (0.0ms) begin transaction
5635
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 19:39:39.433386"], ["id", 3]]
5636
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 19:39:39.422262000 Z\nupdated_at: 2016-08-03 19:39:39.429758000 Z\n"], ["created_at", "2016-08-03 19:39:39.433386"], ["item_id", 3], ["item_type", "Bank"]]
5637
+  (0.6ms) commit transaction
5638
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5639
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5640
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5641
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5642
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5643
+  (0.0ms) begin transaction
5644
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.442420"], ["updated_at", "2016-08-03 19:39:39.442420"]]
5645
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.442420"], ["item_id", 4], ["item_type", "Bank"]]
5646
+  (0.6ms) commit transaction
5647
+  (0.1ms) begin transaction
5648
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.457564"], ["updated_at", "2016-08-03 19:39:39.457564"]]
5649
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.457564"], ["item_id", 1], ["item_type", "User"]]
5650
+  (0.7ms) commit transaction
5651
+  (0.0ms) begin transaction
5652
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 19:39:39.464167"], ["id", 4]]
5653
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.442420000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.464167"], ["item_id", 4], ["item_type", "Bank"]]
5654
+  (0.6ms) commit transaction
5655
+  (0.0ms) begin transaction
5656
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.468212"], ["id", 4]]
5657
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 19:39:39.442420000 Z\nupdated_at: 2016-08-03 19:39:39.464167000 Z\n"], ["created_at", "2016-08-03 19:39:39.468212"], ["item_id", 4], ["item_type", "Bank"]]
5658
+  (0.7ms) commit transaction
5659
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
5660
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
5661
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5662
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5663
+  (0.0ms) begin transaction
5664
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.476267"], ["updated_at", "2016-08-03 19:39:39.476267"]]
5665
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.476267"], ["item_id", 2], ["item_type", "User"]]
5666
+  (0.6ms) commit transaction
5667
+  (0.0ms) begin transaction
5668
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.479387"], ["updated_at", "2016-08-03 19:39:39.479387"]]
5669
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.479387"], ["item_id", 3], ["item_type", "User"]]
5670
+  (0.5ms) commit transaction
5671
+  (0.1ms) begin transaction
5672
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.482806"], ["updated_at", "2016-08-03 19:39:39.482806"]]
5673
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:39:39.482806"], ["item_id", 5], ["item_type", "Bank"]]
5674
+  (0.6ms) commit transaction
5675
+  (0.0ms) begin transaction
5676
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 19:39:39.486262"], ["id", 5]]
5677
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.482806000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 19:39:39.486262"], ["item_id", 5], ["item_type", "Bank"]]
5678
+  (0.5ms) commit transaction
5679
+  (0.0ms) begin transaction
5680
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 19:39:39.489867"], ["id", 5]]
5681
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 19:39:39.482806000 Z\nupdated_at: 2016-08-03 19:39:39.486262000 Z\n"], ["created_at", "2016-08-03 19:39:39.489867"], ["item_id", 5], ["item_type", "Bank"]]
5682
+  (0.5ms) commit transaction
5683
+  (0.0ms) begin transaction
5684
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 19:39:39.493475"], ["id", 5]]
5685
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 19:39:39.482806000 Z\nupdated_at: 2016-08-03 19:39:39.489867000 Z\n"], ["created_at", "2016-08-03 19:39:39.493475"], ["item_id", 5], ["item_type", "Bank"]]
5686
+  (0.5ms) commit transaction
5687
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5688
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5689
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5690
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5691
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5692
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5693
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5694
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5695
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5696
+  (0.0ms) begin transaction
5697
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 19:39:39.503188"], ["updated_at", "2016-08-03 19:39:39.503188"]]
5698
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.503188"], ["item_id", 6], ["item_type", "Bank"]]
5699
+  (0.6ms) commit transaction
5700
+  (0.0ms) begin transaction
5701
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 19:39:39.507101"], ["id", 6]]
5702
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 19:39:39.503188000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 19:39:39.507101"], ["item_id", 6], ["item_type", "Bank"]]
5703
+  (0.4ms) commit transaction
5704
+  (0.1ms) begin transaction
5705
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.510933"], ["updated_at", "2016-08-03 19:39:39.510933"]]
5706
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.510933"], ["item_id", 4], ["item_type", "User"]]
5707
+  (0.7ms) commit transaction
5708
+  (0.0ms) begin transaction
5709
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 19:39:39.514406"], ["id", 6]]
5710
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.507101000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.514406"], ["item_id", 6], ["item_type", "Bank"]]
5711
+  (0.5ms) commit transaction
5712
+  (0.0ms) begin transaction
5713
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.518499"], ["updated_at", "2016-08-03 19:39:39.518499"]]
5714
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.518499"], ["item_id", 5], ["item_type", "User"]]
5715
+  (0.5ms) commit transaction
5716
+  (0.0ms) begin transaction
5717
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 19:39:39.521882"], ["id", 6]]
5718
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.514406000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.521882"], ["item_id", 6], ["item_type", "Bank"]]
5719
+  (0.5ms) commit transaction
5720
+  (0.0ms) begin transaction
5721
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 19:39:39.525327"], ["id", 6]]
5722
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.521882000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.525327"], ["item_id", 6], ["item_type", "Bank"]]
5723
+  (0.6ms) commit transaction
5724
+  (0.0ms) begin transaction
5725
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.528517"], ["updated_at", "2016-08-03 19:39:39.528517"]]
5726
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.528517"], ["item_id", 6], ["item_type", "User"]]
5727
+  (0.4ms) commit transaction
5728
+  (0.0ms) begin transaction
5729
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 19:39:39.531552"], ["id", 6]]
5730
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.525327000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 19:39:39.531552"], ["item_id", 6], ["item_type", "Bank"]]
5731
+  (0.5ms) commit transaction
5732
+  (0.1ms) begin transaction
5733
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 19:39:39.535320"], ["id", 6]]
5734
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 19:39:39.503188000 Z\nupdated_at: 2016-08-03 19:39:39.531552000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.535320"], ["item_id", 6], ["item_type", "Bank"]]
5735
+  (0.6ms) commit transaction
5736
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5737
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5738
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5739
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5740
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5741
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5742
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5743
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5744
+  (0.0ms) begin transaction
5745
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:39:39.546702"], ["updated_at", "2016-08-03 19:39:39.546702"]]
5746
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.546702"], ["item_id", 7], ["item_type", "User"]]
5747
+  (0.7ms) commit transaction
5748
+  (0.1ms) begin transaction
5749
+ SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:39:39.550265"], ["updated_at", "2016-08-03 19:39:39.550265"]]
5750
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.550265"], ["item_id", 8], ["item_type", "User"]]
5751
+  (0.7ms) commit transaction
5752
+  (0.0ms) begin transaction
5753
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:39:39.554083"], ["updated_at", "2016-08-03 19:39:39.554083"]]
5754
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 19:39:39.554083"], ["item_id", 9], ["item_type", "User"]]
5755
+  (0.6ms) commit transaction
5756
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 9], ["item_type", "User"]]
5757
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 9], ["item_type", "User"]]
5758
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
5759
+  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5760
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5761
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5762
+  (0.1ms) select sqlite_version(*)
5763
+  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5764
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5765
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5766
+  (0.1ms) SELECT version FROM "schema_migrations"
5767
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5768
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5769
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5770
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5771
+  (0.0ms) begin transaction
5772
+ SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:41:10.065333"], ["updated_at", "2016-08-03 19:41:10.065333"]]
5773
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.065333"], ["item_id", 1], ["item_type", "User"]]
5774
+  (0.8ms) commit transaction
5775
+  (0.0ms) begin transaction
5776
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:41:10.083508"], ["updated_at", "2016-08-03 19:41:10.083508"]]
5777
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.083508"], ["item_id", 2], ["item_type", "User"]]
5778
+  (0.6ms) commit transaction
5779
+  (0.1ms) begin transaction
5780
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:41:10.086809"], ["updated_at", "2016-08-03 19:41:10.086809"]]
5781
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:10.086809"], ["item_id", 3], ["item_type", "User"]]
5782
+  (0.6ms) commit transaction
5783
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "User"]]
5784
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "User"]]
5785
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
5786
+  (0.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5787
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5788
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5789
+  (0.1ms) select sqlite_version(*)
5790
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5791
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5792
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5793
+  (0.1ms) SELECT version FROM "schema_migrations"
5794
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5795
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5796
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5797
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5798
+  (0.1ms) begin transaction
5799
+ SQL (0.5ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 19:41:25.530591"], ["updated_at", "2016-08-03 19:41:25.530591"]]
5800
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.530591"], ["item_id", 1], ["item_type", "User"]]
5801
+  (2.4ms) commit transaction
5802
+  (0.1ms) begin transaction
5803
+ SQL (0.3ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 2], ["created_at", "2016-08-03 19:41:25.552234"], ["updated_at", "2016-08-03 19:41:25.552234"]]
5804
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.552234"], ["item_id", 2], ["item_type", "User"]]
5805
+  (0.5ms) commit transaction
5806
+  (0.0ms) begin transaction
5807
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 19:41:25.556427"], ["updated_at", "2016-08-03 19:41:25.556427"]]
5808
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 19:41:25.556427"], ["item_id", 3], ["item_type", "User"]]
5809
+  (0.7ms) commit transaction
5810
+ PaperTrail::Version Load (0.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "User"]]
5811
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "User"]]
5812
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5813
+  (2.8ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5814
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5815
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5816
+  (0.1ms) select sqlite_version(*)
5817
+  (0.6ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5818
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5819
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5820
+  (0.1ms) SELECT version FROM "schema_migrations"
5821
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5822
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5823
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5824
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5825
+  (0.0ms) begin transaction
5826
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:52:49.688138"], ["updated_at", "2016-08-03 20:52:49.688138"]]
5827
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.688138"], ["item_id", 1], ["item_type", "Bank"]]
5828
+  (2.3ms) commit transaction
5829
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5830
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
5831
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
5832
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
5833
+  (0.0ms) begin transaction
5834
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.713220"], ["updated_at", "2016-08-03 20:52:49.713220"]]
5835
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.713220"], ["item_id", 2], ["item_type", "Bank"]]
5836
+  (0.6ms) commit transaction
5837
+  (0.0ms) begin transaction
5838
+ SQL (0.4ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.717385"], ["id", 2]]
5839
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.713220000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.717385"], ["item_id", 2], ["item_type", "Bank"]]
5840
+  (0.4ms) commit transaction
5841
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
5842
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
5843
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
5844
+  (0.0ms) begin transaction
5845
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.732549"], ["updated_at", "2016-08-03 20:52:49.732549"]]
5846
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.732549"], ["item_id", 3], ["item_type", "Bank"]]
5847
+  (0.6ms) commit transaction
5848
+  (0.0ms) begin transaction
5849
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.735765"], ["id", 3]]
5850
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.732549000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.735765"], ["item_id", 3], ["item_type", "Bank"]]
5851
+  (0.5ms) commit transaction
5852
+  (0.0ms) begin transaction
5853
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.739408"], ["id", 3]]
5854
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:52:49.732549000 Z\nupdated_at: 2016-08-03 20:52:49.735765000 Z\n"], ["created_at", "2016-08-03 20:52:49.739408"], ["item_id", 3], ["item_type", "Bank"]]
5855
+  (0.5ms) commit transaction
5856
+  (0.0ms) begin transaction
5857
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:52:49.743469"], ["id", 3]]
5858
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:52:49.732549000 Z\nupdated_at: 2016-08-03 20:52:49.739408000 Z\n"], ["created_at", "2016-08-03 20:52:49.743469"], ["item_id", 3], ["item_type", "Bank"]]
5859
+  (0.6ms) commit transaction
5860
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
5861
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
5862
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5863
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5864
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
5865
+  (0.0ms) begin transaction
5866
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.752439"], ["updated_at", "2016-08-03 20:52:49.752439"]]
5867
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.752439"], ["item_id", 4], ["item_type", "Bank"]]
5868
+  (0.7ms) commit transaction
5869
+  (0.0ms) begin transaction
5870
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.762137"], ["updated_at", "2016-08-03 20:52:49.762137"]]
5871
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.762137"], ["item_id", 1], ["item_type", "User"]]
5872
+  (0.6ms) commit transaction
5873
+  (0.0ms) begin transaction
5874
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:52:49.768248"], ["id", 4]]
5875
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.752439000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.768248"], ["item_id", 4], ["item_type", "Bank"]]
5876
+  (0.7ms) commit transaction
5877
+  (0.0ms) begin transaction
5878
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.772838"], ["id", 4]]
5879
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:52:49.752439000 Z\nupdated_at: 2016-08-03 20:52:49.768248000 Z\n"], ["created_at", "2016-08-03 20:52:49.772838"], ["item_id", 4], ["item_type", "Bank"]]
5880
+  (0.6ms) commit transaction
5881
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
5882
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
5883
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5884
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
5885
+  (0.0ms) begin transaction
5886
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.780927"], ["updated_at", "2016-08-03 20:52:49.780927"]]
5887
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.780927"], ["item_id", 2], ["item_type", "User"]]
5888
+  (0.8ms) commit transaction
5889
+  (0.1ms) begin transaction
5890
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.784883"], ["updated_at", "2016-08-03 20:52:49.784883"]]
5891
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.784883"], ["item_id", 3], ["item_type", "User"]]
5892
+  (0.5ms) commit transaction
5893
+  (0.0ms) begin transaction
5894
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.788187"], ["updated_at", "2016-08-03 20:52:49.788187"]]
5895
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:52:49.788187"], ["item_id", 5], ["item_type", "Bank"]]
5896
+  (0.6ms) commit transaction
5897
+  (0.0ms) begin transaction
5898
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:52:49.791903"], ["id", 5]]
5899
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.788187000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:52:49.791903"], ["item_id", 5], ["item_type", "Bank"]]
5900
+  (0.4ms) commit transaction
5901
+  (0.0ms) begin transaction
5902
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:52:49.795141"], ["id", 5]]
5903
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:52:49.788187000 Z\nupdated_at: 2016-08-03 20:52:49.791903000 Z\n"], ["created_at", "2016-08-03 20:52:49.795141"], ["item_id", 5], ["item_type", "Bank"]]
5904
+  (0.6ms) commit transaction
5905
+  (0.0ms) begin transaction
5906
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:52:49.798494"], ["id", 5]]
5907
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:52:49.788187000 Z\nupdated_at: 2016-08-03 20:52:49.795141000 Z\n"], ["created_at", "2016-08-03 20:52:49.798494"], ["item_id", 5], ["item_type", "Bank"]]
5908
+  (0.6ms) commit transaction
5909
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
5910
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
5911
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5912
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5913
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
5914
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5915
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
5916
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5917
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
5918
+  (0.1ms) begin transaction
5919
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:52:49.808128"], ["updated_at", "2016-08-03 20:52:49.808128"]]
5920
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.808128"], ["item_id", 6], ["item_type", "Bank"]]
5921
+  (0.6ms) commit transaction
5922
+  (0.1ms) begin transaction
5923
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:52:49.812015"], ["id", 6]]
5924
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:52:49.808128000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:52:49.812015"], ["item_id", 6], ["item_type", "Bank"]]
5925
+  (0.6ms) commit transaction
5926
+  (0.0ms) begin transaction
5927
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.815824"], ["updated_at", "2016-08-03 20:52:49.815824"]]
5928
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.815824"], ["item_id", 4], ["item_type", "User"]]
5929
+  (0.6ms) commit transaction
5930
+  (0.0ms) begin transaction
5931
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:52:49.819351"], ["id", 6]]
5932
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.812015000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.819351"], ["item_id", 6], ["item_type", "Bank"]]
5933
+  (0.6ms) commit transaction
5934
+  (0.1ms) begin transaction
5935
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.823455"], ["updated_at", "2016-08-03 20:52:49.823455"]]
5936
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.823455"], ["item_id", 5], ["item_type", "User"]]
5937
+  (0.6ms) commit transaction
5938
+  (0.0ms) begin transaction
5939
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:52:49.827139"], ["id", 6]]
5940
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.819351000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.827139"], ["item_id", 6], ["item_type", "Bank"]]
5941
+  (0.5ms) commit transaction
5942
+  (0.0ms) begin transaction
5943
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:52:49.830772"], ["id", 6]]
5944
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.827139000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.830772"], ["item_id", 6], ["item_type", "Bank"]]
5945
+  (0.5ms) commit transaction
5946
+  (0.0ms) begin transaction
5947
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:52:49.834264"], ["updated_at", "2016-08-03 20:52:49.834264"]]
5948
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.834264"], ["item_id", 6], ["item_type", "User"]]
5949
+  (0.6ms) commit transaction
5950
+  (0.0ms) begin transaction
5951
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:52:49.837653"], ["id", 6]]
5952
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.830772000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:52:49.837653"], ["item_id", 6], ["item_type", "Bank"]]
5953
+  (0.5ms) commit transaction
5954
+  (0.0ms) begin transaction
5955
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:52:49.840947"], ["id", 6]]
5956
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:52:49.808128000 Z\nupdated_at: 2016-08-03 20:52:49.837653000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.840947"], ["item_id", 6], ["item_type", "Bank"]]
5957
+  (0.6ms) commit transaction
5958
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
5959
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
5960
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5961
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5962
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5963
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5964
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5965
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
5966
+  (0.1ms) begin transaction
5967
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:52:49.852446"], ["updated_at", "2016-08-03 20:52:49.852446"]]
5968
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.852446"], ["item_id", 7], ["item_type", "User"]]
5969
+  (0.7ms) commit transaction
5970
+  (0.0ms) begin transaction
5971
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:52:49.855815"], ["id", 7]]
5972
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:52:49.852446000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.855815"], ["item_id", 7], ["item_type", "User"]]
5973
+  (0.5ms) commit transaction
5974
+  (0.1ms) begin transaction
5975
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:52:49.858934"], ["id", 7]]
5976
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:52:49.852446000 Z\nupdated_at: 2016-08-03 20:52:49.855815000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:52:49.858934"], ["item_id", 7], ["item_type", "User"]]
5977
+  (0.5ms) commit transaction
5978
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
5979
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
5980
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
5981
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
5982
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5983
+  (3.0ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
5984
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
5985
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
5986
+  (0.1ms) select sqlite_version(*)
5987
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
5988
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
5989
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5990
+  (0.1ms) SELECT version FROM "schema_migrations"
5991
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
5992
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
5993
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
5994
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
5995
+  (0.0ms) begin transaction
5996
+ SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:56:20.773671"], ["updated_at", "2016-08-03 20:56:20.773671"]]
5997
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.773671"], ["item_id", 1], ["item_type", "Bank"]]
5998
+  (2.3ms) commit transaction
5999
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6000
+ PaperTrail::Version Load (5.3ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
6001
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
6002
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6003
+  (0.0ms) begin transaction
6004
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.805212"], ["updated_at", "2016-08-03 20:56:20.805212"]]
6005
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.805212"], ["item_id", 2], ["item_type", "Bank"]]
6006
+  (0.5ms) commit transaction
6007
+  (0.0ms) begin transaction
6008
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.809062"], ["id", 2]]
6009
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.805212000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.809062"], ["item_id", 2], ["item_type", "Bank"]]
6010
+  (0.6ms) commit transaction
6011
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
6012
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
6013
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
6014
+  (0.0ms) begin transaction
6015
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.818149"], ["updated_at", "2016-08-03 20:56:20.818149"]]
6016
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.818149"], ["item_id", 3], ["item_type", "Bank"]]
6017
+  (0.6ms) commit transaction
6018
+  (0.0ms) begin transaction
6019
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.821447"], ["id", 3]]
6020
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.818149000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.821447"], ["item_id", 3], ["item_type", "Bank"]]
6021
+  (0.6ms) commit transaction
6022
+  (0.0ms) begin transaction
6023
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.825523"], ["id", 3]]
6024
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:56:20.818149000 Z\nupdated_at: 2016-08-03 20:56:20.821447000 Z\n"], ["created_at", "2016-08-03 20:56:20.825523"], ["item_id", 3], ["item_type", "Bank"]]
6025
+  (0.7ms) commit transaction
6026
+  (0.0ms) begin transaction
6027
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:56:20.829582"], ["id", 3]]
6028
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:56:20.818149000 Z\nupdated_at: 2016-08-03 20:56:20.825523000 Z\n"], ["created_at", "2016-08-03 20:56:20.829582"], ["item_id", 3], ["item_type", "Bank"]]
6029
+  (0.6ms) commit transaction
6030
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
6031
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
6032
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6033
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6034
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6035
+  (0.0ms) begin transaction
6036
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.838131"], ["updated_at", "2016-08-03 20:56:20.838131"]]
6037
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.838131"], ["item_id", 4], ["item_type", "Bank"]]
6038
+  (0.6ms) commit transaction
6039
+  (0.0ms) begin transaction
6040
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.846971"], ["updated_at", "2016-08-03 20:56:20.846971"]]
6041
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.846971"], ["item_id", 1], ["item_type", "User"]]
6042
+  (0.6ms) commit transaction
6043
+  (0.1ms) begin transaction
6044
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:56:20.853165"], ["id", 4]]
6045
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.838131000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.853165"], ["item_id", 4], ["item_type", "Bank"]]
6046
+  (0.6ms) commit transaction
6047
+  (0.0ms) begin transaction
6048
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.857410"], ["id", 4]]
6049
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:56:20.838131000 Z\nupdated_at: 2016-08-03 20:56:20.853165000 Z\n"], ["created_at", "2016-08-03 20:56:20.857410"], ["item_id", 4], ["item_type", "Bank"]]
6050
+  (0.7ms) commit transaction
6051
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
6052
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
6053
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6054
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6055
+  (0.0ms) begin transaction
6056
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.865977"], ["updated_at", "2016-08-03 20:56:20.865977"]]
6057
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.865977"], ["item_id", 2], ["item_type", "User"]]
6058
+  (0.5ms) commit transaction
6059
+  (0.0ms) begin transaction
6060
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.869113"], ["updated_at", "2016-08-03 20:56:20.869113"]]
6061
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.869113"], ["item_id", 3], ["item_type", "User"]]
6062
+  (0.6ms) commit transaction
6063
+  (0.0ms) begin transaction
6064
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.872533"], ["updated_at", "2016-08-03 20:56:20.872533"]]
6065
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:56:20.872533"], ["item_id", 5], ["item_type", "Bank"]]
6066
+  (0.6ms) commit transaction
6067
+  (0.0ms) begin transaction
6068
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:56:20.876127"], ["id", 5]]
6069
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.872533000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:56:20.876127"], ["item_id", 5], ["item_type", "Bank"]]
6070
+  (0.5ms) commit transaction
6071
+  (0.1ms) begin transaction
6072
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:56:20.880131"], ["id", 5]]
6073
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:56:20.872533000 Z\nupdated_at: 2016-08-03 20:56:20.876127000 Z\n"], ["created_at", "2016-08-03 20:56:20.880131"], ["item_id", 5], ["item_type", "Bank"]]
6074
+  (0.5ms) commit transaction
6075
+  (0.0ms) begin transaction
6076
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:56:20.884030"], ["id", 5]]
6077
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:56:20.872533000 Z\nupdated_at: 2016-08-03 20:56:20.880131000 Z\n"], ["created_at", "2016-08-03 20:56:20.884030"], ["item_id", 5], ["item_type", "Bank"]]
6078
+  (0.6ms) commit transaction
6079
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
6080
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
6081
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6082
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6083
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6084
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6085
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6086
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6087
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6088
+  (0.0ms) begin transaction
6089
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:56:20.893745"], ["updated_at", "2016-08-03 20:56:20.893745"]]
6090
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.893745"], ["item_id", 6], ["item_type", "Bank"]]
6091
+  (0.6ms) commit transaction
6092
+  (0.0ms) begin transaction
6093
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:56:20.897262"], ["id", 6]]
6094
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:56:20.893745000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:56:20.897262"], ["item_id", 6], ["item_type", "Bank"]]
6095
+  (0.6ms) commit transaction
6096
+  (0.0ms) begin transaction
6097
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.901352"], ["updated_at", "2016-08-03 20:56:20.901352"]]
6098
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.901352"], ["item_id", 4], ["item_type", "User"]]
6099
+  (0.5ms) commit transaction
6100
+  (0.0ms) begin transaction
6101
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:56:20.904674"], ["id", 6]]
6102
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.897262000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.904674"], ["item_id", 6], ["item_type", "Bank"]]
6103
+  (0.6ms) commit transaction
6104
+  (0.0ms) begin transaction
6105
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.908482"], ["updated_at", "2016-08-03 20:56:20.908482"]]
6106
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.908482"], ["item_id", 5], ["item_type", "User"]]
6107
+  (0.5ms) commit transaction
6108
+  (0.0ms) begin transaction
6109
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:56:20.911714"], ["id", 6]]
6110
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.904674000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.911714"], ["item_id", 6], ["item_type", "Bank"]]
6111
+  (0.4ms) commit transaction
6112
+  (0.1ms) begin transaction
6113
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:56:20.915210"], ["id", 6]]
6114
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.911714000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.915210"], ["item_id", 6], ["item_type", "Bank"]]
6115
+  (0.5ms) commit transaction
6116
+  (0.0ms) begin transaction
6117
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:56:20.918922"], ["updated_at", "2016-08-03 20:56:20.918922"]]
6118
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.918922"], ["item_id", 6], ["item_type", "User"]]
6119
+  (0.6ms) commit transaction
6120
+  (0.0ms) begin transaction
6121
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:56:20.922345"], ["id", 6]]
6122
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.915210000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:56:20.922345"], ["item_id", 6], ["item_type", "Bank"]]
6123
+  (0.5ms) commit transaction
6124
+  (0.0ms) begin transaction
6125
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:56:20.926410"], ["id", 6]]
6126
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:56:20.893745000 Z\nupdated_at: 2016-08-03 20:56:20.922345000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.926410"], ["item_id", 6], ["item_type", "Bank"]]
6127
+  (0.4ms) commit transaction
6128
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
6129
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
6130
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6131
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6132
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6133
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6134
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6135
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6136
+  (0.0ms) begin transaction
6137
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:56:20.937583"], ["updated_at", "2016-08-03 20:56:20.937583"]]
6138
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.937583"], ["item_id", 7], ["item_type", "User"]]
6139
+  (0.5ms) commit transaction
6140
+  (0.0ms) begin transaction
6141
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:56:20.940614"], ["id", 7]]
6142
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:56:20.937583000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.940614"], ["item_id", 7], ["item_type", "User"]]
6143
+  (0.5ms) commit transaction
6144
+  (0.0ms) begin transaction
6145
+ SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:56:20.943925"], ["id", 7]]
6146
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:56:20.937583000 Z\nupdated_at: 2016-08-03 20:56:20.940614000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:56:20.943925"], ["item_id", 7], ["item_type", "User"]]
6147
+  (0.6ms) commit transaction
6148
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
6149
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
6150
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6151
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6152
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6153
+  (2.7ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
6154
+  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6155
+  (0.7ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
6156
+  (0.1ms) select sqlite_version(*)
6157
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
6158
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
6159
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6160
+  (0.1ms) SELECT version FROM "schema_migrations"
6161
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
6162
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
6163
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
6164
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6165
+  (0.1ms) begin transaction
6166
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:57:53.117389"], ["updated_at", "2016-08-03 20:57:53.117389"]]
6167
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.117389"], ["item_id", 1], ["item_type", "Bank"]]
6168
+  (2.4ms) commit transaction
6169
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6170
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
6171
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
6172
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6173
+  (0.0ms) begin transaction
6174
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.143591"], ["updated_at", "2016-08-03 20:57:53.143591"]]
6175
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.143591"], ["item_id", 2], ["item_type", "Bank"]]
6176
+  (0.6ms) commit transaction
6177
+  (0.1ms) begin transaction
6178
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.147136"], ["id", 2]]
6179
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.143591000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.147136"], ["item_id", 2], ["item_type", "Bank"]]
6180
+  (0.6ms) commit transaction
6181
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
6182
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
6183
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
6184
+  (0.0ms) begin transaction
6185
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.162224"], ["updated_at", "2016-08-03 20:57:53.162224"]]
6186
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.162224"], ["item_id", 3], ["item_type", "Bank"]]
6187
+  (0.5ms) commit transaction
6188
+  (0.0ms) begin transaction
6189
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.165187"], ["id", 3]]
6190
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.162224000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.165187"], ["item_id", 3], ["item_type", "Bank"]]
6191
+  (0.5ms) commit transaction
6192
+  (0.0ms) begin transaction
6193
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.168862"], ["id", 3]]
6194
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:57:53.162224000 Z\nupdated_at: 2016-08-03 20:57:53.165187000 Z\n"], ["created_at", "2016-08-03 20:57:53.168862"], ["item_id", 3], ["item_type", "Bank"]]
6195
+  (0.6ms) commit transaction
6196
+  (0.1ms) begin transaction
6197
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:57:53.173093"], ["id", 3]]
6198
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:57:53.162224000 Z\nupdated_at: 2016-08-03 20:57:53.168862000 Z\n"], ["created_at", "2016-08-03 20:57:53.173093"], ["item_id", 3], ["item_type", "Bank"]]
6199
+  (0.4ms) commit transaction
6200
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
6201
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
6202
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6203
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6204
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6205
+  (0.0ms) begin transaction
6206
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.181086"], ["updated_at", "2016-08-03 20:57:53.181086"]]
6207
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.181086"], ["item_id", 4], ["item_type", "Bank"]]
6208
+  (0.6ms) commit transaction
6209
+  (0.1ms) begin transaction
6210
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.189866"], ["updated_at", "2016-08-03 20:57:53.189866"]]
6211
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.189866"], ["item_id", 1], ["item_type", "User"]]
6212
+  (0.7ms) commit transaction
6213
+  (0.0ms) begin transaction
6214
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:57:53.196252"], ["id", 4]]
6215
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.181086000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.196252"], ["item_id", 4], ["item_type", "Bank"]]
6216
+  (0.6ms) commit transaction
6217
+  (0.0ms) begin transaction
6218
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.200330"], ["id", 4]]
6219
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:57:53.181086000 Z\nupdated_at: 2016-08-03 20:57:53.196252000 Z\n"], ["created_at", "2016-08-03 20:57:53.200330"], ["item_id", 4], ["item_type", "Bank"]]
6220
+  (0.6ms) commit transaction
6221
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
6222
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
6223
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6224
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6225
+  (0.0ms) begin transaction
6226
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.208864"], ["updated_at", "2016-08-03 20:57:53.208864"]]
6227
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.208864"], ["item_id", 2], ["item_type", "User"]]
6228
+  (0.6ms) commit transaction
6229
+  (0.1ms) begin transaction
6230
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.212216"], ["updated_at", "2016-08-03 20:57:53.212216"]]
6231
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.212216"], ["item_id", 3], ["item_type", "User"]]
6232
+  (0.5ms) commit transaction
6233
+  (0.0ms) begin transaction
6234
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.215258"], ["updated_at", "2016-08-03 20:57:53.215258"]]
6235
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:57:53.215258"], ["item_id", 5], ["item_type", "Bank"]]
6236
+  (0.4ms) commit transaction
6237
+  (0.0ms) begin transaction
6238
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:57:53.218382"], ["id", 5]]
6239
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.215258000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:57:53.218382"], ["item_id", 5], ["item_type", "Bank"]]
6240
+  (0.5ms) commit transaction
6241
+  (0.1ms) begin transaction
6242
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:57:53.221709"], ["id", 5]]
6243
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:57:53.215258000 Z\nupdated_at: 2016-08-03 20:57:53.218382000 Z\n"], ["created_at", "2016-08-03 20:57:53.221709"], ["item_id", 5], ["item_type", "Bank"]]
6244
+  (0.6ms) commit transaction
6245
+  (0.0ms) begin transaction
6246
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:57:53.225228"], ["id", 5]]
6247
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:57:53.215258000 Z\nupdated_at: 2016-08-03 20:57:53.221709000 Z\n"], ["created_at", "2016-08-03 20:57:53.225228"], ["item_id", 5], ["item_type", "Bank"]]
6248
+  (0.6ms) commit transaction
6249
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
6250
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
6251
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6252
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6253
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6254
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6255
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6256
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6257
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6258
+  (0.0ms) begin transaction
6259
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:57:53.235433"], ["updated_at", "2016-08-03 20:57:53.235433"]]
6260
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.235433"], ["item_id", 6], ["item_type", "Bank"]]
6261
+  (0.6ms) commit transaction
6262
+  (0.0ms) begin transaction
6263
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:57:53.239421"], ["id", 6]]
6264
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:57:53.235433000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:57:53.239421"], ["item_id", 6], ["item_type", "Bank"]]
6265
+  (0.5ms) commit transaction
6266
+  (0.0ms) begin transaction
6267
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.243646"], ["updated_at", "2016-08-03 20:57:53.243646"]]
6268
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.243646"], ["item_id", 4], ["item_type", "User"]]
6269
+  (0.5ms) commit transaction
6270
+  (0.0ms) begin transaction
6271
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:57:53.246756"], ["id", 6]]
6272
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.239421000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.246756"], ["item_id", 6], ["item_type", "Bank"]]
6273
+  (0.6ms) commit transaction
6274
+  (0.0ms) begin transaction
6275
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.250200"], ["updated_at", "2016-08-03 20:57:53.250200"]]
6276
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.250200"], ["item_id", 5], ["item_type", "User"]]
6277
+  (0.5ms) commit transaction
6278
+  (0.0ms) begin transaction
6279
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:57:53.253472"], ["id", 6]]
6280
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.246756000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.253472"], ["item_id", 6], ["item_type", "Bank"]]
6281
+  (0.4ms) commit transaction
6282
+  (0.0ms) begin transaction
6283
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:57:53.256418"], ["id", 6]]
6284
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.253472000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.256418"], ["item_id", 6], ["item_type", "Bank"]]
6285
+  (0.5ms) commit transaction
6286
+  (0.0ms) begin transaction
6287
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:57:53.259722"], ["updated_at", "2016-08-03 20:57:53.259722"]]
6288
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.259722"], ["item_id", 6], ["item_type", "User"]]
6289
+  (0.6ms) commit transaction
6290
+  (0.1ms) begin transaction
6291
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:57:53.263567"], ["id", 6]]
6292
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.256418000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:57:53.263567"], ["item_id", 6], ["item_type", "Bank"]]
6293
+  (0.6ms) commit transaction
6294
+  (0.1ms) begin transaction
6295
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:57:53.267511"], ["id", 6]]
6296
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:57:53.235433000 Z\nupdated_at: 2016-08-03 20:57:53.263567000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.267511"], ["item_id", 6], ["item_type", "Bank"]]
6297
+  (0.5ms) commit transaction
6298
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
6299
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
6300
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6301
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6302
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6303
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6304
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6305
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6306
+  (0.0ms) begin transaction
6307
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:57:53.279191"], ["updated_at", "2016-08-03 20:57:53.279191"]]
6308
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.279191"], ["item_id", 7], ["item_type", "User"]]
6309
+  (0.6ms) commit transaction
6310
+  (0.0ms) begin transaction
6311
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:57:53.282653"], ["id", 7]]
6312
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:57:53.279191000 Z\nupdated_at: *1\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.282653"], ["item_id", 7], ["item_type", "User"]]
6313
+  (0.5ms) commit transaction
6314
+  (0.0ms) begin transaction
6315
+ SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:57:53.286233"], ["id", 7]]
6316
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:57:53.279191000 Z\nupdated_at: 2016-08-03 20:57:53.282653000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:57:53.286233"], ["item_id", 7], ["item_type", "User"]]
6317
+  (0.5ms) commit transaction
6318
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
6319
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
6320
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6321
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6322
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6323
+  (2.6ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
6324
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6325
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
6326
+  (0.1ms) select sqlite_version(*)
6327
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
6328
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
6329
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6330
+  (0.1ms) SELECT version FROM "schema_migrations"
6331
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
6332
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
6333
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
6334
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6335
+  (0.1ms) begin transaction
6336
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:58:31.888969"], ["updated_at", "2016-08-03 20:58:31.888969"]]
6337
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.888969"], ["item_id", 1], ["item_type", "Bank"]]
6338
+  (2.4ms) commit transaction
6339
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6340
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
6341
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
6342
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6343
+  (0.0ms) begin transaction
6344
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.916846"], ["updated_at", "2016-08-03 20:58:31.916846"]]
6345
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.916846"], ["item_id", 2], ["item_type", "Bank"]]
6346
+  (0.7ms) commit transaction
6347
+  (0.0ms) begin transaction
6348
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:31.921022"], ["id", 2]]
6349
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.916846000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.921022"], ["item_id", 2], ["item_type", "Bank"]]
6350
+  (0.5ms) commit transaction
6351
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
6352
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
6353
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
6354
+  (0.0ms) begin transaction
6355
+ SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.935332"], ["updated_at", "2016-08-03 20:58:31.935332"]]
6356
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.935332"], ["item_id", 3], ["item_type", "Bank"]]
6357
+  (0.6ms) commit transaction
6358
+  (0.0ms) begin transaction
6359
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:31.938472"], ["id", 3]]
6360
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.935332000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.938472"], ["item_id", 3], ["item_type", "Bank"]]
6361
+  (0.7ms) commit transaction
6362
+  (0.1ms) begin transaction
6363
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:31.942646"], ["id", 3]]
6364
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:31.935332000 Z\nupdated_at: 2016-08-03 20:58:31.938472000 Z\n"], ["created_at", "2016-08-03 20:58:31.942646"], ["item_id", 3], ["item_type", "Bank"]]
6365
+  (0.6ms) commit transaction
6366
+  (0.0ms) begin transaction
6367
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:58:31.946622"], ["id", 3]]
6368
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:58:31.935332000 Z\nupdated_at: 2016-08-03 20:58:31.942646000 Z\n"], ["created_at", "2016-08-03 20:58:31.946622"], ["item_id", 3], ["item_type", "Bank"]]
6369
+  (0.5ms) commit transaction
6370
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
6371
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
6372
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6373
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6374
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6375
+  (0.0ms) begin transaction
6376
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.955447"], ["updated_at", "2016-08-03 20:58:31.955447"]]
6377
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.955447"], ["item_id", 4], ["item_type", "Bank"]]
6378
+  (0.5ms) commit transaction
6379
+  (0.1ms) begin transaction
6380
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.964175"], ["updated_at", "2016-08-03 20:58:31.964175"]]
6381
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.964175"], ["item_id", 1], ["item_type", "User"]]
6382
+  (0.7ms) commit transaction
6383
+  (0.0ms) begin transaction
6384
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:58:31.970698"], ["id", 4]]
6385
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.955447000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.970698"], ["item_id", 4], ["item_type", "Bank"]]
6386
+  (0.6ms) commit transaction
6387
+  (0.1ms) begin transaction
6388
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:31.975331"], ["id", 4]]
6389
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:58:31.955447000 Z\nupdated_at: 2016-08-03 20:58:31.970698000 Z\n"], ["created_at", "2016-08-03 20:58:31.975331"], ["item_id", 4], ["item_type", "Bank"]]
6390
+  (0.5ms) commit transaction
6391
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
6392
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
6393
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6394
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6395
+  (0.0ms) begin transaction
6396
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.983262"], ["updated_at", "2016-08-03 20:58:31.983262"]]
6397
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.983262"], ["item_id", 2], ["item_type", "User"]]
6398
+  (0.5ms) commit transaction
6399
+  (0.0ms) begin transaction
6400
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:31.986116"], ["updated_at", "2016-08-03 20:58:31.986116"]]
6401
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.986116"], ["item_id", 3], ["item_type", "User"]]
6402
+  (0.6ms) commit transaction
6403
+  (0.0ms) begin transaction
6404
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:31.989096"], ["updated_at", "2016-08-03 20:58:31.989096"]]
6405
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:31.989096"], ["item_id", 5], ["item_type", "Bank"]]
6406
+  (0.6ms) commit transaction
6407
+  (0.0ms) begin transaction
6408
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:58:31.992235"], ["id", 5]]
6409
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:31.989096000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:31.992235"], ["item_id", 5], ["item_type", "Bank"]]
6410
+  (0.6ms) commit transaction
6411
+  (0.1ms) begin transaction
6412
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:58:31.996064"], ["id", 5]]
6413
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:58:31.989096000 Z\nupdated_at: 2016-08-03 20:58:31.992235000 Z\n"], ["created_at", "2016-08-03 20:58:31.996064"], ["item_id", 5], ["item_type", "Bank"]]
6414
+  (0.6ms) commit transaction
6415
+  (0.0ms) begin transaction
6416
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:58:32.000256"], ["id", 5]]
6417
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:58:31.989096000 Z\nupdated_at: 2016-08-03 20:58:31.996064000 Z\n"], ["created_at", "2016-08-03 20:58:32.000256"], ["item_id", 5], ["item_type", "Bank"]]
6418
+  (0.5ms) commit transaction
6419
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
6420
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
6421
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6422
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6423
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6424
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6425
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6426
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6427
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6428
+  (0.1ms) begin transaction
6429
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:32.010806"], ["updated_at", "2016-08-03 20:58:32.010806"]]
6430
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:32.010806"], ["item_id", 6], ["item_type", "Bank"]]
6431
+  (0.5ms) commit transaction
6432
+  (0.0ms) begin transaction
6433
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:32.014199"], ["id", 6]]
6434
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:32.010806000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:58:32.014199"], ["item_id", 6], ["item_type", "Bank"]]
6435
+  (0.8ms) commit transaction
6436
+  (0.1ms) begin transaction
6437
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.018104"], ["updated_at", "2016-08-03 20:58:32.018104"]]
6438
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.018104"], ["item_id", 4], ["item_type", "User"]]
6439
+  (0.6ms) commit transaction
6440
+  (0.0ms) begin transaction
6441
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:58:32.021812"], ["id", 6]]
6442
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.014199000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.021812"], ["item_id", 6], ["item_type", "Bank"]]
6443
+  (0.5ms) commit transaction
6444
+  (0.0ms) begin transaction
6445
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.025333"], ["updated_at", "2016-08-03 20:58:32.025333"]]
6446
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.025333"], ["item_id", 5], ["item_type", "User"]]
6447
+  (0.4ms) commit transaction
6448
+  (0.0ms) begin transaction
6449
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:58:32.028240"], ["id", 6]]
6450
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.021812000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.028240"], ["item_id", 6], ["item_type", "Bank"]]
6451
+  (0.5ms) commit transaction
6452
+  (0.0ms) begin transaction
6453
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:58:32.031722"], ["id", 6]]
6454
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.028240000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.031722"], ["item_id", 6], ["item_type", "Bank"]]
6455
+  (0.5ms) commit transaction
6456
+  (0.0ms) begin transaction
6457
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:32.034961"], ["updated_at", "2016-08-03 20:58:32.034961"]]
6458
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.034961"], ["item_id", 6], ["item_type", "User"]]
6459
+  (0.5ms) commit transaction
6460
+  (0.0ms) begin transaction
6461
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:58:32.038162"], ["id", 6]]
6462
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.031722000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:32.038162"], ["item_id", 6], ["item_type", "Bank"]]
6463
+  (0.6ms) commit transaction
6464
+  (0.0ms) begin transaction
6465
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:32.042250"], ["id", 6]]
6466
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:58:32.010806000 Z\nupdated_at: 2016-08-03 20:58:32.038162000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:32.042250"], ["item_id", 6], ["item_type", "Bank"]]
6467
+  (0.6ms) commit transaction
6468
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
6469
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
6470
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6471
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6472
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6473
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6474
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6475
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6476
+  (0.0ms) begin transaction
6477
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:58:32.053632"], ["updated_at", "2016-08-03 20:58:32.053632"]]
6478
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.053632"], ["item_id", 7], ["item_type", "User"]]
6479
+  (0.6ms) commit transaction
6480
+  (0.0ms) begin transaction
6481
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:58:32.057003"], ["id", 7]]
6482
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:58:32.053632000 Z\nupdated_at: *1\n"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.057003"], ["item_id", 7], ["item_type", "User"]]
6483
+  (0.6ms) commit transaction
6484
+  (0.1ms) begin transaction
6485
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:58:32.060996"], ["id", 7]]
6486
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:58:32.053632000 Z\nupdated_at: 2016-08-03 20:58:32.057003000 Z\n"], ["whodunnit", ""], ["created_at", "2016-08-03 20:58:32.060996"], ["item_id", 7], ["item_type", "User"]]
6487
+  (0.6ms) commit transaction
6488
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
6489
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
6490
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6491
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6492
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6493
+  (2.4ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
6494
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6495
+  (0.5ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
6496
+  (0.1ms) select sqlite_version(*)
6497
+  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
6498
+  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
6499
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6500
+  (0.1ms) SELECT version FROM "schema_migrations"
6501
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
6502
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
6503
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
6504
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6505
+  (0.1ms) begin transaction
6506
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:58:40.902721"], ["updated_at", "2016-08-03 20:58:40.902721"]]
6507
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.902721"], ["item_id", 1], ["item_type", "Bank"]]
6508
+  (2.3ms) commit transaction
6509
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6510
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
6511
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
6512
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6513
+  (0.1ms) begin transaction
6514
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.928843"], ["updated_at", "2016-08-03 20:58:40.928843"]]
6515
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.928843"], ["item_id", 2], ["item_type", "Bank"]]
6516
+  (0.6ms) commit transaction
6517
+  (0.0ms) begin transaction
6518
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:40.932847"], ["id", 2]]
6519
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.928843000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.932847"], ["item_id", 2], ["item_type", "Bank"]]
6520
+  (0.7ms) commit transaction
6521
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
6522
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
6523
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
6524
+  (0.0ms) begin transaction
6525
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:40.948763"], ["updated_at", "2016-08-03 20:58:40.948763"]]
6526
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.948763"], ["item_id", 3], ["item_type", "Bank"]]
6527
+  (0.6ms) commit transaction
6528
+  (0.0ms) begin transaction
6529
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:40.952892"], ["id", 3]]
6530
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.948763000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.952892"], ["item_id", 3], ["item_type", "Bank"]]
6531
+  (0.6ms) commit transaction
6532
+  (0.1ms) begin transaction
6533
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:40.956987"], ["id", 3]]
6534
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:40.948763000 Z\nupdated_at: 2016-08-03 20:58:40.952892000 Z\n"], ["created_at", "2016-08-03 20:58:40.956987"], ["item_id", 3], ["item_type", "Bank"]]
6535
+  (0.5ms) commit transaction
6536
+  (0.0ms) begin transaction
6537
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:58:40.960550"], ["id", 3]]
6538
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:58:40.948763000 Z\nupdated_at: 2016-08-03 20:58:40.956987000 Z\n"], ["created_at", "2016-08-03 20:58:40.960550"], ["item_id", 3], ["item_type", "Bank"]]
6539
+  (0.6ms) commit transaction
6540
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
6541
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
6542
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6543
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6544
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6545
+  (0.0ms) begin transaction
6546
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:40.969299"], ["updated_at", "2016-08-03 20:58:40.969299"]]
6547
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.969299"], ["item_id", 4], ["item_type", "Bank"]]
6548
+  (0.6ms) commit transaction
6549
+  (0.0ms) begin transaction
6550
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.977948"], ["updated_at", "2016-08-03 20:58:40.977948"]]
6551
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.977948"], ["item_id", 1], ["item_type", "User"]]
6552
+  (0.5ms) commit transaction
6553
+  (0.0ms) begin transaction
6554
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:58:40.984486"], ["id", 4]]
6555
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:40.969299000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:40.984486"], ["item_id", 4], ["item_type", "Bank"]]
6556
+  (0.7ms) commit transaction
6557
+  (0.0ms) begin transaction
6558
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:40.989025"], ["id", 4]]
6559
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:58:40.969299000 Z\nupdated_at: 2016-08-03 20:58:40.984486000 Z\n"], ["created_at", "2016-08-03 20:58:40.989025"], ["item_id", 4], ["item_type", "Bank"]]
6560
+  (0.6ms) commit transaction
6561
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
6562
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
6563
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6564
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6565
+  (0.0ms) begin transaction
6566
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:40.997991"], ["updated_at", "2016-08-03 20:58:40.997991"]]
6567
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:40.997991"], ["item_id", 2], ["item_type", "User"]]
6568
+  (0.5ms) commit transaction
6569
+  (0.1ms) begin transaction
6570
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.001493"], ["updated_at", "2016-08-03 20:58:41.001493"]]
6571
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.001493"], ["item_id", 3], ["item_type", "User"]]
6572
+  (0.5ms) commit transaction
6573
+  (0.0ms) begin transaction
6574
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:41.004720"], ["updated_at", "2016-08-03 20:58:41.004720"]]
6575
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.004720"], ["item_id", 5], ["item_type", "Bank"]]
6576
+  (0.6ms) commit transaction
6577
+  (0.0ms) begin transaction
6578
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:58:41.007965"], ["id", 5]]
6579
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:41.004720000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:41.007965"], ["item_id", 5], ["item_type", "Bank"]]
6580
+  (0.4ms) commit transaction
6581
+  (0.0ms) begin transaction
6582
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:58:41.011381"], ["id", 5]]
6583
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:58:41.004720000 Z\nupdated_at: 2016-08-03 20:58:41.007965000 Z\n"], ["created_at", "2016-08-03 20:58:41.011381"], ["item_id", 5], ["item_type", "Bank"]]
6584
+  (0.6ms) commit transaction
6585
+  (0.0ms) begin transaction
6586
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:58:41.014735"], ["id", 5]]
6587
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:58:41.004720000 Z\nupdated_at: 2016-08-03 20:58:41.011381000 Z\n"], ["created_at", "2016-08-03 20:58:41.014735"], ["item_id", 5], ["item_type", "Bank"]]
6588
+  (0.6ms) commit transaction
6589
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
6590
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
6591
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6592
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6593
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6594
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6595
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6596
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6597
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6598
+  (0.1ms) begin transaction
6599
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:58:41.027132"], ["updated_at", "2016-08-03 20:58:41.027132"]]
6600
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:41.027132"], ["item_id", 6], ["item_type", "Bank"]]
6601
+  (0.5ms) commit transaction
6602
+  (0.1ms) begin transaction
6603
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:58:41.030844"], ["id", 6]]
6604
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:58:41.027132000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:58:41.030844"], ["item_id", 6], ["item_type", "Bank"]]
6605
+  (0.5ms) commit transaction
6606
+  (0.0ms) begin transaction
6607
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.034397"], ["updated_at", "2016-08-03 20:58:41.034397"]]
6608
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.034397"], ["item_id", 4], ["item_type", "User"]]
6609
+  (0.4ms) commit transaction
6610
+  (0.0ms) begin transaction
6611
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:58:41.037384"], ["id", 6]]
6612
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.030844000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.037384"], ["item_id", 6], ["item_type", "Bank"]]
6613
+  (0.5ms) commit transaction
6614
+  (0.0ms) begin transaction
6615
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.041388"], ["updated_at", "2016-08-03 20:58:41.041388"]]
6616
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.041388"], ["item_id", 5], ["item_type", "User"]]
6617
+  (0.5ms) commit transaction
6618
+  (0.0ms) begin transaction
6619
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:58:41.044800"], ["id", 6]]
6620
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.037384000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.044800"], ["item_id", 6], ["item_type", "Bank"]]
6621
+  (0.5ms) commit transaction
6622
+  (0.0ms) begin transaction
6623
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:58:41.048321"], ["id", 6]]
6624
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.044800000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.048321"], ["item_id", 6], ["item_type", "Bank"]]
6625
+  (0.7ms) commit transaction
6626
+  (0.0ms) begin transaction
6627
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:58:41.052739"], ["updated_at", "2016-08-03 20:58:41.052739"]]
6628
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.052739"], ["item_id", 6], ["item_type", "User"]]
6629
+  (0.5ms) commit transaction
6630
+  (0.1ms) begin transaction
6631
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:58:41.056725"], ["id", 6]]
6632
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.048321000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:58:41.056725"], ["item_id", 6], ["item_type", "Bank"]]
6633
+  (0.5ms) commit transaction
6634
+  (0.1ms) begin transaction
6635
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:58:41.060849"], ["id", 6]]
6636
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:58:41.027132000 Z\nupdated_at: 2016-08-03 20:58:41.056725000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:58:41.060849"], ["item_id", 6], ["item_type", "Bank"]]
6637
+  (0.5ms) commit transaction
6638
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
6639
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
6640
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6641
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6642
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6643
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6644
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6645
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6646
+  (0.0ms) begin transaction
6647
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:58:41.072826"], ["updated_at", "2016-08-03 20:58:41.072826"]]
6648
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:58:41.072826"], ["item_id", 7], ["item_type", "User"]]
6649
+  (0.6ms) commit transaction
6650
+  (0.0ms) begin transaction
6651
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:58:41.075996"], ["id", 7]]
6652
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:58:41.072826000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:58:41.075996"], ["item_id", 7], ["item_type", "User"]]
6653
+  (0.5ms) commit transaction
6654
+  (0.0ms) begin transaction
6655
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:58:41.079303"], ["id", 7]]
6656
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:58:41.072826000 Z\nupdated_at: 2016-08-03 20:58:41.075996000 Z\n"], ["created_at", "2016-08-03 20:58:41.079303"], ["item_id", 7], ["item_type", "User"]]
6657
+  (0.6ms) commit transaction
6658
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
6659
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
6660
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6661
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6662
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6663
+  (2.3ms) CREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
6664
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "state" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
6665
+  (0.6ms) CREATE TABLE "versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "item_type" varchar NOT NULL, "item_id" integer NOT NULL, "event" varchar NOT NULL, "whodunnit" varchar, "object" text(1073741823), "created_at" datetime) 
6666
+  (0.1ms) select sqlite_version(*)
6667
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
6668
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
6669
+  (0.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6670
+  (0.1ms) SELECT version FROM "schema_migrations"
6671
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
6672
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
6673
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
6674
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6675
+  (0.1ms) begin transaction
6676
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 20:59:07.908500"], ["updated_at", "2016-08-03 20:59:07.908500"]]
6677
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.908500"], ["item_id", 1], ["item_type", "Bank"]]
6678
+  (2.2ms) commit transaction
6679
+ Bank Load (0.2ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6680
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 1], ["item_type", "Bank"]]
6681
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 1], ["item_type", "Bank"]]
6682
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
6683
+  (0.1ms) begin transaction
6684
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.935321"], ["updated_at", "2016-08-03 20:59:07.935321"]]
6685
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.935321"], ["item_id", 2], ["item_type", "Bank"]]
6686
+  (0.5ms) commit transaction
6687
+  (0.1ms) begin transaction
6688
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:07.939308"], ["id", 2]]
6689
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.935321000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.939308"], ["item_id", 2], ["item_type", "Bank"]]
6690
+  (0.5ms) commit transaction
6691
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 2], ["item_type", "Bank"]]
6692
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 2], ["item_type", "Bank"]]
6693
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 2]]
6694
+  (0.0ms) begin transaction
6695
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:07.953981"], ["updated_at", "2016-08-03 20:59:07.953981"]]
6696
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.953981"], ["item_id", 3], ["item_type", "Bank"]]
6697
+  (0.6ms) commit transaction
6698
+  (0.0ms) begin transaction
6699
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:07.957362"], ["id", 3]]
6700
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.953981000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.957362"], ["item_id", 3], ["item_type", "Bank"]]
6701
+  (0.5ms) commit transaction
6702
+  (0.1ms) begin transaction
6703
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:07.961461"], ["id", 3]]
6704
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:59:07.953981000 Z\nupdated_at: 2016-08-03 20:59:07.957362000 Z\n"], ["created_at", "2016-08-03 20:59:07.961461"], ["item_id", 3], ["item_type", "Bank"]]
6705
+  (0.4ms) commit transaction
6706
+  (0.2ms) begin transaction
6707
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 20:59:07.965133"], ["id", 3]]
6708
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 3\nvalue: \nuser_id: \ncreated_at: 2016-08-03 20:59:07.953981000 Z\nupdated_at: 2016-08-03 20:59:07.961461000 Z\n"], ["created_at", "2016-08-03 20:59:07.965133"], ["item_id", 3], ["item_type", "Bank"]]
6709
+  (0.4ms) commit transaction
6710
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 3], ["item_type", "Bank"]]
6711
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 3], ["item_type", "Bank"]]
6712
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 5) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6713
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6714
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 7) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 3]]
6715
+  (0.0ms) begin transaction
6716
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:07.973671"], ["updated_at", "2016-08-03 20:59:07.973671"]]
6717
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.973671"], ["item_id", 4], ["item_type", "Bank"]]
6718
+  (0.5ms) commit transaction
6719
+  (0.0ms) begin transaction
6720
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.982673"], ["updated_at", "2016-08-03 20:59:07.982673"]]
6721
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.982673"], ["item_id", 1], ["item_type", "User"]]
6722
+  (0.5ms) commit transaction
6723
+  (0.0ms) begin transaction
6724
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 20:59:07.988238"], ["id", 4]]
6725
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:07.973671000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:07.988238"], ["item_id", 4], ["item_type", "Bank"]]
6726
+  (0.5ms) commit transaction
6727
+  (0.0ms) begin transaction
6728
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:07.992213"], ["id", 4]]
6729
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 4\nvalue: 100\nuser_id: 1\ncreated_at: 2016-08-03 20:59:07.973671000 Z\nupdated_at: 2016-08-03 20:59:07.988238000 Z\n"], ["created_at", "2016-08-03 20:59:07.992213"], ["item_id", 4], ["item_type", "Bank"]]
6730
+  (0.5ms) commit transaction
6731
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 4], ["item_type", "Bank"]]
6732
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 4], ["item_type", "Bank"]]
6733
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6734
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 11) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 4]]
6735
+  (0.0ms) begin transaction
6736
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:07.999483"], ["updated_at", "2016-08-03 20:59:07.999483"]]
6737
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:07.999483"], ["item_id", 2], ["item_type", "User"]]
6738
+  (0.5ms) commit transaction
6739
+  (0.1ms) begin transaction
6740
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.003312"], ["updated_at", "2016-08-03 20:59:08.003312"]]
6741
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.003312"], ["item_id", 3], ["item_type", "User"]]
6742
+  (0.5ms) commit transaction
6743
+  (0.0ms) begin transaction
6744
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:08.006688"], ["updated_at", "2016-08-03 20:59:08.006688"]]
6745
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.006688"], ["item_id", 5], ["item_type", "Bank"]]
6746
+  (0.5ms) commit transaction
6747
+  (0.0ms) begin transaction
6748
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 20:59:08.010643"], ["id", 5]]
6749
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:08.006688000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:08.010643"], ["item_id", 5], ["item_type", "Bank"]]
6750
+  (0.5ms) commit transaction
6751
+  (0.0ms) begin transaction
6752
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 20:59:08.014126"], ["id", 5]]
6753
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 2\ncreated_at: 2016-08-03 20:59:08.006688000 Z\nupdated_at: 2016-08-03 20:59:08.010643000 Z\n"], ["created_at", "2016-08-03 20:59:08.014126"], ["item_id", 5], ["item_type", "Bank"]]
6754
+  (0.4ms) commit transaction
6755
+  (0.0ms) begin transaction
6756
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 20:59:08.017373"], ["id", 5]]
6757
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 5\nvalue: 100\nuser_id: 3\ncreated_at: 2016-08-03 20:59:08.006688000 Z\nupdated_at: 2016-08-03 20:59:08.014126000 Z\n"], ["created_at", "2016-08-03 20:59:08.017373"], ["item_id", 5], ["item_type", "Bank"]]
6758
+  (0.5ms) commit transaction
6759
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 5], ["item_type", "Bank"]]
6760
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 5], ["item_type", "Bank"]]
6761
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 15) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6762
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 16) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6763
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 5]]
6764
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6765
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
6766
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6767
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
6768
+  (0.0ms) begin transaction
6769
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 20:59:08.027724"], ["updated_at", "2016-08-03 20:59:08.027724"]]
6770
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:59:08.027724"], ["item_id", 6], ["item_type", "Bank"]]
6771
+  (0.5ms) commit transaction
6772
+  (0.0ms) begin transaction
6773
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 20:59:08.031088"], ["id", 6]]
6774
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 100\nuser_id: \ncreated_at: &1 2016-08-03 20:59:08.027724000 Z\nupdated_at: *1\n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 20:59:08.031088"], ["item_id", 6], ["item_type", "Bank"]]
6775
+  (0.5ms) commit transaction
6776
+  (0.0ms) begin transaction
6777
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.034807"], ["updated_at", "2016-08-03 20:59:08.034807"]]
6778
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.034807"], ["item_id", 4], ["item_type", "User"]]
6779
+  (0.5ms) commit transaction
6780
+  (0.1ms) begin transaction
6781
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 20:59:08.039647"], ["id", 6]]
6782
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: \ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.031088000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.039647"], ["item_id", 6], ["item_type", "Bank"]]
6783
+  (0.5ms) commit transaction
6784
+  (0.0ms) begin transaction
6785
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.043718"], ["updated_at", "2016-08-03 20:59:08.043718"]]
6786
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.043718"], ["item_id", 5], ["item_type", "User"]]
6787
+  (0.5ms) commit transaction
6788
+  (0.0ms) begin transaction
6789
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 20:59:08.047485"], ["id", 6]]
6790
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 4\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.039647000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.047485"], ["item_id", 6], ["item_type", "Bank"]]
6791
+  (0.7ms) commit transaction
6792
+  (0.1ms) begin transaction
6793
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 20:59:08.052630"], ["id", 6]]
6794
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 10\nuser_id: 5\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.047485000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.052630"], ["item_id", 6], ["item_type", "Bank"]]
6795
+  (0.5ms) commit transaction
6796
+  (0.1ms) begin transaction
6797
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 20:59:08.057806"], ["updated_at", "2016-08-03 20:59:08.057806"]]
6798
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.057806"], ["item_id", 6], ["item_type", "User"]]
6799
+  (0.5ms) commit transaction
6800
+  (0.1ms) begin transaction
6801
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 20:59:08.062749"], ["id", 6]]
6802
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 5\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.052630000 Z\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 20:59:08.062749"], ["item_id", 6], ["item_type", "Bank"]]
6803
+  (0.5ms) commit transaction
6804
+  (0.0ms) begin transaction
6805
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 20:59:08.067060"], ["id", 6]]
6806
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 6\nvalue: 123\nuser_id: 6\ncreated_at: 2016-08-03 20:59:08.027724000 Z\nupdated_at: 2016-08-03 20:59:08.062749000 Z\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 20:59:08.067060"], ["item_id", 6], ["item_type", "Bank"]]
6807
+  (0.5ms) commit transaction
6808
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 6], ["item_type", "Bank"]]
6809
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 6], ["item_type", "Bank"]]
6810
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6811
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6812
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 23) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6813
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 24) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6814
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 26) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6815
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 27) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "Bank"], ["item_id", 6]]
6816
+  (0.0ms) begin transaction
6817
+ SQL (0.2ms) INSERT INTO "users" ("state", "created_at", "updated_at") VALUES (?, ?, ?) [["state", 0], ["created_at", "2016-08-03 20:59:08.079744"], ["updated_at", "2016-08-03 20:59:08.079744"]]
6818
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 20:59:08.079744"], ["item_id", 7], ["item_type", "User"]]
6819
+  (0.5ms) commit transaction
6820
+  (0.1ms) begin transaction
6821
+ SQL (0.2ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", 2], ["updated_at", "2016-08-03 20:59:08.083474"], ["id", 7]]
6822
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 0\ncreated_at: &1 2016-08-03 20:59:08.079744000 Z\nupdated_at: *1\n"], ["created_at", "2016-08-03 20:59:08.083474"], ["item_id", 7], ["item_type", "User"]]
6823
+  (0.5ms) commit transaction
6824
+  (0.0ms) begin transaction
6825
+ SQL (0.1ms) UPDATE "users" SET "state" = ?, "updated_at" = ? WHERE "users"."id" = ? [["state", nil], ["updated_at", "2016-08-03 20:59:08.087308"], ["id", 7]]
6826
+ SQL (0.1ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 7\nname: \nstate: 2\ncreated_at: 2016-08-03 20:59:08.079744000 Z\nupdated_at: 2016-08-03 20:59:08.083474000 Z\n"], ["created_at", "2016-08-03 20:59:08.087308"], ["item_id", 7], ["item_type", "User"]]
6827
+  (0.5ms) commit transaction
6828
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1 [["item_id", 7], ["item_type", "User"]]
6829
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC [["item_id", 7], ["item_type", "User"]]
6830
+ PaperTrail::Version Load (0.2ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 29) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]
6831
+ PaperTrail::Version Load (0.1ms) SELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 30) ORDER BY "versions"."id" DESC LIMIT 1 [["item_type", "User"], ["item_id", 7]]