paper_trail-audit 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa0a10b80a3e633b38b968af55fc07b5913d1c3e
4
- data.tar.gz: b4ebf69c3419186b36b4654948097f3b342fefb0
3
+ metadata.gz: cabf11d7e6e5854662b52dad364e6de0c67b9425
4
+ data.tar.gz: 00057db7df3f033d4ae5f262da9cd6c0092e7c3d
5
5
  SHA512:
6
- metadata.gz: d2c57ddb06e5e4baf2068b40318cfc71b36bc49ce4dcf1917fcf92375be267f30c8c1fc922214b11d4bcc5c8ec80d9028e6fb70527dd60c6bbcbdd96b4ed0c21
7
- data.tar.gz: b6e877d7fd02d5b949aedc22365e24f2c9ca65bae5a389ca55df218384288b5f7bca9ceba636d78dbdd28effe786e029bf550ae8704404e3c9eb899c5d7702b5
6
+ metadata.gz: d7ae6f3aefe446d5229bae0062dc2fdbc67ffaed96f87013069ae250f389cd3e255f008484cde05b614fd1e3437684bcb32c5883045e775cb4351aae42435232
7
+ data.tar.gz: 5381b66554acc6c24a82883fa673bb30ba85f165805717ad36746edbe1f194accfa0596dac0a43ae6a03b3f1ec8a8b1fefdce849e0d552b3d82d37913f50cf91
@@ -1,3 +1,3 @@
1
1
  module PaperTrailAudit
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -1,5 +1,5 @@
1
- require "paper_trail_audit/version"
2
- require "paper_trail_audit/change"
1
+ require "paper_trail-audit/version"
2
+ require "paper_trail-audit/change"
3
3
 
4
4
  module PaperTrailAudit
5
5
  module Model
@@ -12,7 +12,7 @@ module PaperTrailAudit
12
12
  #objects are a hash of
13
13
  #{attributes: object attributes, whodunnit: paper_trail whodunnit which caused the object to be in this state}
14
14
  objects = [{attributes: self.attributes, whodunnit: self.paper_trail.originator},
15
- self.versions.map {|e| {attributes: YAML.load(e.object), whodunnit: e.originator} if e.object}.compact].flatten
15
+ self.versions.map {|e| {attributes: YAML.load(e.object), whodunnit: e.paper_trail_originator} if e.object}.compact].flatten
16
16
  #rejecting objects with no update time, orders by the updated at times in ascending order
17
17
  objects = objects.select {|e| e[:attributes]["updated_at"]}.sort_by {|e| e[:attributes]["updated_at"]}
18
18
  result = []
@@ -64,6 +64,6 @@ module PaperTrailAudit
64
64
  end
65
65
  end
66
66
 
67
- ActiveSupport.on_load(:active_record) do
67
+ class ActiveRecord::Base
68
68
  include PaperTrailAudit::Model
69
69
  end
@@ -3,7 +3,7 @@ require File.expand_path('../boot', __FILE__)
3
3
  require 'rails/all'
4
4
 
5
5
  Bundler.require(*Rails.groups)
6
- require "paper_trail_audit"
6
+ require "paper_trail-audit"
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
@@ -23,4 +23,3 @@ module Dummy
23
23
  config.active_record.raise_in_transactional_callbacks = true
24
24
  end
25
25
  end
26
-
@@ -0,0 +1 @@
1
+ PaperTrail.config.track_associations = false
Binary file
@@ -3892,3 +3892,599 @@
3892
3892
  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]]
3893
3893
  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]]
3894
3894
  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]]
3895
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3896
+  (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) 
3897
+  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
3898
+  (0.8ms) 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) 
3899
+  (0.1ms) select sqlite_version(*)
3900
+  (0.8ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
3901
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
3902
+  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3903
+  (0.1ms) SELECT version FROM "schema_migrations"
3904
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
3905
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
3906
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
3907
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
3908
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
3909
+  (0.1ms) begin transaction
3910
+ SQL (0.5ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:38:30.621082"], ["updated_at", "2016-08-03 18:38:30.621082"]]
3911
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.621082"], ["item_id", 1], ["item_type", "Bank"]]
3912
+  (2.7ms) commit transaction
3913
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
3914
+ 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"]]
3915
+ 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"]]
3916
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
3917
+  (0.0ms) begin transaction
3918
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.656553"], ["updated_at", "2016-08-03 18:38:30.656553"]]
3919
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.656553"], ["item_id", 2], ["item_type", "Bank"]]
3920
+  (0.5ms) commit transaction
3921
+  (0.0ms) begin transaction
3922
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.660302"], ["id", 2]]
3923
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:38:30.656553000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.660302"], ["item_id", 2], ["item_type", "Bank"]]
3924
+  (0.5ms) commit transaction
3925
+ 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"]]
3926
+ PaperTrail::Version Load (0.3ms) 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"]]
3927
+ 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]]
3928
+  (0.0ms) begin transaction
3929
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.671197"], ["updated_at", "2016-08-03 18:38:30.671197"]]
3930
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.671197"], ["item_id", 3], ["item_type", "Bank"]]
3931
+  (0.6ms) commit transaction
3932
+  (0.0ms) begin transaction
3933
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.674702"], ["id", 3]]
3934
+ 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 18:38:30.671197000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.674702"], ["item_id", 3], ["item_type", "Bank"]]
3935
+  (0.4ms) commit transaction
3936
+  (0.0ms) begin transaction
3937
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.678028"], ["id", 3]]
3938
+ 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 18:38:30.671197000 Z\nupdated_at: 2016-08-03 18:38:30.674702000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.678028"], ["item_id", 3], ["item_type", "Bank"]]
3939
+  (0.3ms) commit transaction
3940
+  (0.0ms) begin transaction
3941
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:38:30.681198"], ["id", 3]]
3942
+ 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 18:38:30.671197000 Z\nupdated_at: 2016-08-03 18:38:30.678028000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.681198"], ["item_id", 3], ["item_type", "Bank"]]
3943
+  (0.5ms) commit transaction
3944
+ 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"]]
3945
+ 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"]]
3946
+ 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]]
3947
+ 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]]
3948
+ 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]]
3949
+  (0.0ms) begin transaction
3950
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.689664"], ["updated_at", "2016-08-03 18:38:30.689664"]]
3951
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.689664"], ["item_id", 4], ["item_type", "Bank"]]
3952
+  (0.6ms) commit transaction
3953
+  (0.1ms) begin transaction
3954
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.697087"], ["updated_at", "2016-08-03 18:38:30.697087"]]
3955
+  (0.4ms) commit transaction
3956
+  (0.0ms) begin transaction
3957
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:38:30.701276"], ["id", 4]]
3958
+ 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 18:38:30.689664000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.701276"], ["item_id", 4], ["item_type", "Bank"]]
3959
+  (0.5ms) commit transaction
3960
+  (0.1ms) begin transaction
3961
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.705352"], ["id", 4]]
3962
+ 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 18:38:30.689664000 Z\nupdated_at: 2016-08-03 18:38:30.701276000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:38:30.705352"], ["item_id", 4], ["item_type", "Bank"]]
3963
+  (0.5ms) commit transaction
3964
+ 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"]]
3965
+ 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"]]
3966
+ PaperTrail::Version Load (0.1ms) 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]]
3967
+ 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]]
3968
+  (0.0ms) begin transaction
3969
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.712447"], ["updated_at", "2016-08-03 18:38:30.712447"]]
3970
+  (0.5ms) commit transaction
3971
+  (0.0ms) begin transaction
3972
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.713943"], ["updated_at", "2016-08-03 18:38:30.713943"]]
3973
+  (0.4ms) commit transaction
3974
+  (0.0ms) begin transaction
3975
+ SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.715334"], ["updated_at", "2016-08-03 18:38:30.715334"]]
3976
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:38:30.715334"], ["item_id", 5], ["item_type", "Bank"]]
3977
+  (0.5ms) commit transaction
3978
+  (0.0ms) begin transaction
3979
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:38:30.719415"], ["id", 5]]
3980
+ 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 18:38:30.715334000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:38:30.719415"], ["item_id", 5], ["item_type", "Bank"]]
3981
+  (0.8ms) commit transaction
3982
+  (0.0ms) begin transaction
3983
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:38:30.723785"], ["id", 5]]
3984
+ 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 18:38:30.715334000 Z\nupdated_at: 2016-08-03 18:38:30.719415000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:38:30.723785"], ["item_id", 5], ["item_type", "Bank"]]
3985
+  (0.6ms) commit transaction
3986
+  (0.0ms) begin transaction
3987
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:38:30.727638"], ["id", 5]]
3988
+ 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 18:38:30.715334000 Z\nupdated_at: 2016-08-03 18:38:30.723785000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:38:30.727638"], ["item_id", 5], ["item_type", "Bank"]]
3989
+  (0.6ms) commit transaction
3990
+ 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"]]
3991
+ 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"]]
3992
+ PaperTrail::Version Load (0.2ms) 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]]
3993
+ 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]]
3994
+ 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]]
3995
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
3996
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
3997
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
3998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
3999
+  (0.0ms) begin transaction
4000
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:38:30.739219"], ["updated_at", "2016-08-03 18:38:30.739219"]]
4001
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:38:30.739219"], ["item_id", 6], ["item_type", "Bank"]]
4002
+  (0.4ms) commit transaction
4003
+  (0.0ms) begin transaction
4004
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.743021"], ["id", 6]]
4005
+ 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 18:38:30.739219000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:38:30.743021"], ["item_id", 6], ["item_type", "Bank"]]
4006
+  (0.4ms) commit transaction
4007
+  (0.0ms) begin transaction
4008
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.746179"], ["updated_at", "2016-08-03 18:38:30.746179"]]
4009
+  (0.5ms) commit transaction
4010
+  (0.0ms) begin transaction
4011
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:38:30.747707"], ["id", 6]]
4012
+ 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 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.743021000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.747707"], ["item_id", 6], ["item_type", "Bank"]]
4013
+  (0.5ms) commit transaction
4014
+  (0.0ms) begin transaction
4015
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.750837"], ["updated_at", "2016-08-03 18:38:30.750837"]]
4016
+  (0.5ms) commit transaction
4017
+  (0.0ms) begin transaction
4018
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:38:30.752389"], ["id", 6]]
4019
+ 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 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.747707000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.752389"], ["item_id", 6], ["item_type", "Bank"]]
4020
+  (0.6ms) commit transaction
4021
+  (0.0ms) begin transaction
4022
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:38:30.756110"], ["id", 6]]
4023
+ 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 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.752389000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.756110"], ["item_id", 6], ["item_type", "Bank"]]
4024
+  (0.6ms) commit transaction
4025
+  (0.0ms) begin transaction
4026
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:38:30.759722"], ["updated_at", "2016-08-03 18:38:30.759722"]]
4027
+  (0.4ms) commit transaction
4028
+  (0.0ms) begin transaction
4029
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:38:30.761366"], ["id", 6]]
4030
+ 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 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.756110000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:38:30.761366"], ["item_id", 6], ["item_type", "Bank"]]
4031
+  (0.6ms) commit transaction
4032
+  (0.0ms) begin transaction
4033
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:38:30.765873"], ["id", 6]]
4034
+ 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 18:38:30.739219000 Z\nupdated_at: 2016-08-03 18:38:30.761366000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:38:30.765873"], ["item_id", 6], ["item_type", "Bank"]]
4035
+  (0.6ms) commit transaction
4036
+ 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"]]
4037
+ 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"]]
4038
+ PaperTrail::Version Load (0.2ms) 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]]
4039
+ PaperTrail::Version Load (0.2ms) 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]]
4040
+ 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]]
4041
+ 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]]
4042
+ 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]]
4043
+ 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]]
4044
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4045
+  (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) 
4046
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4047
+  (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) 
4048
+  (0.1ms) select sqlite_version(*)
4049
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4050
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4051
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4052
+  (0.1ms) SELECT version FROM "schema_migrations"
4053
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4054
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4055
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4056
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4057
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4058
+  (0.1ms) begin transaction
4059
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:39:12.853441"], ["updated_at", "2016-08-03 18:39:12.853441"]]
4060
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.853441"], ["item_id", 1], ["item_type", "Bank"]]
4061
+  (2.3ms) commit transaction
4062
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4063
+ 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"]]
4064
+ 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"]]
4065
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4066
+  (0.0ms) begin transaction
4067
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.885582"], ["updated_at", "2016-08-03 18:39:12.885582"]]
4068
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.885582"], ["item_id", 2], ["item_type", "Bank"]]
4069
+  (0.5ms) commit transaction
4070
+  (0.0ms) begin transaction
4071
+ SQL (0.3ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.889687"], ["id", 2]]
4072
+ 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 18:39:12.885582000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.889687"], ["item_id", 2], ["item_type", "Bank"]]
4073
+  (0.6ms) commit transaction
4074
+ 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"]]
4075
+ 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"]]
4076
+ 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]]
4077
+  (0.0ms) begin transaction
4078
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.899028"], ["updated_at", "2016-08-03 18:39:12.899028"]]
4079
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.899028"], ["item_id", 3], ["item_type", "Bank"]]
4080
+  (0.6ms) commit transaction
4081
+  (0.1ms) begin transaction
4082
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.902296"], ["id", 3]]
4083
+ 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 18:39:12.899028000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.902296"], ["item_id", 3], ["item_type", "Bank"]]
4084
+  (0.6ms) commit transaction
4085
+  (0.0ms) begin transaction
4086
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.905969"], ["id", 3]]
4087
+ 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 18:39:12.899028000 Z\nupdated_at: 2016-08-03 18:39:12.902296000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.905969"], ["item_id", 3], ["item_type", "Bank"]]
4088
+  (0.6ms) commit transaction
4089
+  (0.0ms) begin transaction
4090
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:39:12.909788"], ["id", 3]]
4091
+ 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 18:39:12.899028000 Z\nupdated_at: 2016-08-03 18:39:12.905969000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.909788"], ["item_id", 3], ["item_type", "Bank"]]
4092
+  (0.6ms) commit transaction
4093
+ 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"]]
4094
+ 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"]]
4095
+ 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]]
4096
+ 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]]
4097
+ 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]]
4098
+  (0.0ms) begin transaction
4099
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.919035"], ["updated_at", "2016-08-03 18:39:12.919035"]]
4100
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.919035"], ["item_id", 4], ["item_type", "Bank"]]
4101
+  (0.5ms) commit transaction
4102
+  (0.0ms) begin transaction
4103
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.926116"], ["updated_at", "2016-08-03 18:39:12.926116"]]
4104
+  (0.4ms) commit transaction
4105
+  (0.0ms) begin transaction
4106
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:39:12.929451"], ["id", 4]]
4107
+ 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 18:39:12.919035000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.929451"], ["item_id", 4], ["item_type", "Bank"]]
4108
+  (0.4ms) commit transaction
4109
+  (0.0ms) begin transaction
4110
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.933221"], ["id", 4]]
4111
+ 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 18:39:12.919035000 Z\nupdated_at: 2016-08-03 18:39:12.929451000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:39:12.933221"], ["item_id", 4], ["item_type", "Bank"]]
4112
+  (0.5ms) commit transaction
4113
+ 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"]]
4114
+ 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"]]
4115
+ 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]]
4116
+ 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]]
4117
+  (0.0ms) begin transaction
4118
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.940461"], ["updated_at", "2016-08-03 18:39:12.940461"]]
4119
+  (0.6ms) commit transaction
4120
+  (0.0ms) begin transaction
4121
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.942397"], ["updated_at", "2016-08-03 18:39:12.942397"]]
4122
+  (0.6ms) commit transaction
4123
+  (0.0ms) begin transaction
4124
+ SQL (0.1ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.944094"], ["updated_at", "2016-08-03 18:39:12.944094"]]
4125
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:39:12.944094"], ["item_id", 5], ["item_type", "Bank"]]
4126
+  (0.5ms) commit transaction
4127
+  (0.0ms) begin transaction
4128
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:39:12.947855"], ["id", 5]]
4129
+ 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 18:39:12.944094000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:39:12.947855"], ["item_id", 5], ["item_type", "Bank"]]
4130
+  (0.5ms) commit transaction
4131
+  (0.1ms) begin transaction
4132
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:39:12.951838"], ["id", 5]]
4133
+ 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 18:39:12.944094000 Z\nupdated_at: 2016-08-03 18:39:12.947855000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:39:12.951838"], ["item_id", 5], ["item_type", "Bank"]]
4134
+  (0.5ms) commit transaction
4135
+  (0.0ms) begin transaction
4136
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:39:12.955773"], ["id", 5]]
4137
+ 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 18:39:12.944094000 Z\nupdated_at: 2016-08-03 18:39:12.951838000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:39:12.955773"], ["item_id", 5], ["item_type", "Bank"]]
4138
+  (0.6ms) commit transaction
4139
+ 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"]]
4140
+ 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"]]
4141
+ 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]]
4142
+ 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]]
4143
+ 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]]
4144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4145
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4146
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4147
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4148
+  (0.0ms) begin transaction
4149
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:39:12.965862"], ["updated_at", "2016-08-03 18:39:12.965862"]]
4150
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:39:12.965862"], ["item_id", 6], ["item_type", "Bank"]]
4151
+  (0.5ms) commit transaction
4152
+  (0.0ms) begin transaction
4153
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.969137"], ["id", 6]]
4154
+ SQL (0.3ms) 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 18:39:12.965862000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:39:12.969137"], ["item_id", 6], ["item_type", "Bank"]]
4155
+  (0.5ms) commit transaction
4156
+  (0.1ms) begin transaction
4157
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.973288"], ["updated_at", "2016-08-03 18:39:12.973288"]]
4158
+  (0.5ms) commit transaction
4159
+  (0.0ms) begin transaction
4160
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:39:12.975078"], ["id", 6]]
4161
+ 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 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.969137000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.975078"], ["item_id", 6], ["item_type", "Bank"]]
4162
+  (0.6ms) commit transaction
4163
+  (0.0ms) begin transaction
4164
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.979291"], ["updated_at", "2016-08-03 18:39:12.979291"]]
4165
+  (0.3ms) commit transaction
4166
+  (0.0ms) begin transaction
4167
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:39:12.980850"], ["id", 6]]
4168
+ 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 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.975078000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.980850"], ["item_id", 6], ["item_type", "Bank"]]
4169
+  (0.5ms) commit transaction
4170
+  (0.0ms) begin transaction
4171
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:39:12.984823"], ["id", 6]]
4172
+ 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 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.980850000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.984823"], ["item_id", 6], ["item_type", "Bank"]]
4173
+  (0.6ms) commit transaction
4174
+  (0.0ms) begin transaction
4175
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:39:12.988190"], ["updated_at", "2016-08-03 18:39:12.988190"]]
4176
+  (0.4ms) commit transaction
4177
+  (0.0ms) begin transaction
4178
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:39:12.989753"], ["id", 6]]
4179
+ 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 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.984823000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:39:12.989753"], ["item_id", 6], ["item_type", "Bank"]]
4180
+  (0.5ms) commit transaction
4181
+  (0.0ms) begin transaction
4182
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:39:12.993559"], ["id", 6]]
4183
+ 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 18:39:12.965862000 Z\nupdated_at: 2016-08-03 18:39:12.989753000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:39:12.993559"], ["item_id", 6], ["item_type", "Bank"]]
4184
+  (0.5ms) commit transaction
4185
+ 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"]]
4186
+ 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"]]
4187
+ 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]]
4188
+ 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]]
4189
+ 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]]
4190
+ 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]]
4191
+ 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]]
4192
+ 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]]
4193
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4194
+  (2.8ms) 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) 
4195
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4196
+  (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) 
4197
+  (0.1ms) select sqlite_version(*)
4198
+  (0.9ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4199
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4200
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4201
+  (0.1ms) SELECT version FROM "schema_migrations"
4202
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4203
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4204
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4205
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4206
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4207
+  (0.1ms) begin transaction
4208
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:40:01.845188"], ["updated_at", "2016-08-03 18:40:01.845188"]]
4209
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.845188"], ["item_id", 1], ["item_type", "Bank"]]
4210
+  (2.7ms) commit transaction
4211
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4212
+ 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"]]
4213
+ 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"]]
4214
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4215
+  (0.0ms) begin transaction
4216
+ SQL (0.3ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.879380"], ["updated_at", "2016-08-03 18:40:01.879380"]]
4217
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.879380"], ["item_id", 2], ["item_type", "Bank"]]
4218
+  (0.5ms) commit transaction
4219
+  (0.1ms) begin transaction
4220
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.883311"], ["id", 2]]
4221
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:40:01.879380000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.883311"], ["item_id", 2], ["item_type", "Bank"]]
4222
+  (0.6ms) commit transaction
4223
+ 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"]]
4224
+ 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"]]
4225
+ 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]]
4226
+  (0.0ms) begin transaction
4227
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.893125"], ["updated_at", "2016-08-03 18:40:01.893125"]]
4228
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.893125"], ["item_id", 3], ["item_type", "Bank"]]
4229
+  (0.6ms) commit transaction
4230
+  (0.0ms) begin transaction
4231
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.896168"], ["id", 3]]
4232
+ 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 18:40:01.893125000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.896168"], ["item_id", 3], ["item_type", "Bank"]]
4233
+  (0.5ms) commit transaction
4234
+  (0.0ms) begin transaction
4235
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.899415"], ["id", 3]]
4236
+ 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 18:40:01.893125000 Z\nupdated_at: 2016-08-03 18:40:01.896168000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.899415"], ["item_id", 3], ["item_type", "Bank"]]
4237
+  (0.5ms) commit transaction
4238
+  (0.0ms) begin transaction
4239
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:40:01.902808"], ["id", 3]]
4240
+ 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 18:40:01.893125000 Z\nupdated_at: 2016-08-03 18:40:01.899415000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.902808"], ["item_id", 3], ["item_type", "Bank"]]
4241
+  (0.6ms) commit transaction
4242
+ 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"]]
4243
+ 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"]]
4244
+ 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]]
4245
+ 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]]
4246
+ 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]]
4247
+  (0.0ms) begin transaction
4248
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.910259"], ["updated_at", "2016-08-03 18:40:01.910259"]]
4249
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.910259"], ["item_id", 4], ["item_type", "Bank"]]
4250
+  (0.6ms) commit transaction
4251
+  (0.1ms) begin transaction
4252
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.917162"], ["updated_at", "2016-08-03 18:40:01.917162"]]
4253
+  (0.5ms) commit transaction
4254
+  (0.0ms) begin transaction
4255
+ SQL (0.4ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:40:01.921051"], ["id", 4]]
4256
+ 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 18:40:01.910259000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.921051"], ["item_id", 4], ["item_type", "Bank"]]
4257
+  (0.6ms) commit transaction
4258
+  (0.0ms) begin transaction
4259
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.925275"], ["id", 4]]
4260
+ 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 18:40:01.910259000 Z\nupdated_at: 2016-08-03 18:40:01.921051000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:40:01.925275"], ["item_id", 4], ["item_type", "Bank"]]
4261
+  (0.5ms) commit transaction
4262
+ 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"]]
4263
+ 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"]]
4264
+ PaperTrail::Version Load (0.1ms) 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]]
4265
+ 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]]
4266
+  (0.0ms) begin transaction
4267
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.932149"], ["updated_at", "2016-08-03 18:40:01.932149"]]
4268
+  (0.5ms) commit transaction
4269
+  (0.1ms) begin transaction
4270
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.933756"], ["updated_at", "2016-08-03 18:40:01.933756"]]
4271
+  (0.4ms) commit transaction
4272
+  (0.0ms) begin transaction
4273
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.935237"], ["updated_at", "2016-08-03 18:40:01.935237"]]
4274
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:40:01.935237"], ["item_id", 5], ["item_type", "Bank"]]
4275
+  (0.6ms) commit transaction
4276
+  (0.0ms) begin transaction
4277
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:40:01.938278"], ["id", 5]]
4278
+ 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 18:40:01.935237000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:40:01.938278"], ["item_id", 5], ["item_type", "Bank"]]
4279
+  (0.5ms) commit transaction
4280
+  (0.0ms) begin transaction
4281
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:40:01.942007"], ["id", 5]]
4282
+ 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 18:40:01.935237000 Z\nupdated_at: 2016-08-03 18:40:01.938278000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:40:01.942007"], ["item_id", 5], ["item_type", "Bank"]]
4283
+  (0.5ms) commit transaction
4284
+  (0.0ms) begin transaction
4285
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:40:01.945268"], ["id", 5]]
4286
+ 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 18:40:01.935237000 Z\nupdated_at: 2016-08-03 18:40:01.942007000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:40:01.945268"], ["item_id", 5], ["item_type", "Bank"]]
4287
+  (0.6ms) commit transaction
4288
+ 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"]]
4289
+ 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"]]
4290
+ PaperTrail::Version Load (0.2ms) 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]]
4291
+ 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]]
4292
+ 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]]
4293
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4294
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4295
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4296
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4297
+  (0.0ms) begin transaction
4298
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:40:01.955820"], ["updated_at", "2016-08-03 18:40:01.955820"]]
4299
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:40:01.955820"], ["item_id", 6], ["item_type", "Bank"]]
4300
+  (0.6ms) commit transaction
4301
+  (0.0ms) begin transaction
4302
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.959064"], ["id", 6]]
4303
+ 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 18:40:01.955820000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:40:01.959064"], ["item_id", 6], ["item_type", "Bank"]]
4304
+  (0.5ms) commit transaction
4305
+  (0.0ms) begin transaction
4306
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.962180"], ["updated_at", "2016-08-03 18:40:01.962180"]]
4307
+  (0.5ms) commit transaction
4308
+  (0.0ms) begin transaction
4309
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:40:01.963778"], ["id", 6]]
4310
+ 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 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.959064000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.963778"], ["item_id", 6], ["item_type", "Bank"]]
4311
+  (0.5ms) commit transaction
4312
+  (0.0ms) begin transaction
4313
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.966891"], ["updated_at", "2016-08-03 18:40:01.966891"]]
4314
+  (0.5ms) commit transaction
4315
+  (0.0ms) begin transaction
4316
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:40:01.968388"], ["id", 6]]
4317
+ 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 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.963778000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.968388"], ["item_id", 6], ["item_type", "Bank"]]
4318
+  (0.6ms) commit transaction
4319
+  (0.0ms) begin transaction
4320
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:40:01.971949"], ["id", 6]]
4321
+ 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 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.968388000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.971949"], ["item_id", 6], ["item_type", "Bank"]]
4322
+  (0.7ms) commit transaction
4323
+  (0.0ms) begin transaction
4324
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:40:01.975170"], ["updated_at", "2016-08-03 18:40:01.975170"]]
4325
+  (0.5ms) commit transaction
4326
+  (0.0ms) begin transaction
4327
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:40:01.976777"], ["id", 6]]
4328
+ 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 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.971949000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:40:01.976777"], ["item_id", 6], ["item_type", "Bank"]]
4329
+  (0.5ms) commit transaction
4330
+  (0.0ms) begin transaction
4331
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:40:01.980117"], ["id", 6]]
4332
+ 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 18:40:01.955820000 Z\nupdated_at: 2016-08-03 18:40:01.976777000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:40:01.980117"], ["item_id", 6], ["item_type", "Bank"]]
4333
+  (0.6ms) commit transaction
4334
+ 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"]]
4335
+ 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"]]
4336
+ 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]]
4337
+ 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]]
4338
+ 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]]
4339
+ 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]]
4340
+ 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]]
4341
+ 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]]
4342
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4343
+  (2.5ms) 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) 
4344
+  (0.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4345
+  (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) 
4346
+  (0.1ms) select sqlite_version(*)
4347
+  (0.7ms) CREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")
4348
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
4349
+  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4350
+  (0.1ms) SELECT version FROM "schema_migrations"
4351
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235657')
4352
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
4353
+  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802222941')
4354
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
4355
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
4356
+  (0.1ms) begin transaction
4357
+ SQL (0.4ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 20], ["created_at", "2016-08-03 18:43:53.721691"], ["updated_at", "2016-08-03 18:43:53.721691"]]
4358
+ SQL (0.2ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.721691"], ["item_id", 1], ["item_type", "Bank"]]
4359
+  (2.4ms) commit transaction
4360
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4361
+ 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"]]
4362
+ 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"]]
4363
+ Bank Load (0.1ms) SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
4364
+  (0.0ms) begin transaction
4365
+ SQL (0.2ms) INSERT INTO "banks" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.753814"], ["updated_at", "2016-08-03 18:43:53.753814"]]
4366
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.753814"], ["item_id", 2], ["item_type", "Bank"]]
4367
+  (0.6ms) commit transaction
4368
+  (0.1ms) begin transaction
4369
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.757145"], ["id", 2]]
4370
+ SQL (0.2ms) INSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\nvalue: \ncreated_at: &1 2016-08-03 18:43:53.753814000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.757145"], ["item_id", 2], ["item_type", "Bank"]]
4371
+  (0.8ms) commit transaction
4372
+ 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"]]
4373
+ 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"]]
4374
+ 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]]
4375
+  (0.0ms) begin transaction
4376
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.767603"], ["updated_at", "2016-08-03 18:43:53.767603"]]
4377
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.767603"], ["item_id", 3], ["item_type", "Bank"]]
4378
+  (0.4ms) commit transaction
4379
+  (0.0ms) begin transaction
4380
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.770815"], ["id", 3]]
4381
+ 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 18:43:53.767603000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.770815"], ["item_id", 3], ["item_type", "Bank"]]
4382
+  (0.5ms) commit transaction
4383
+  (0.0ms) begin transaction
4384
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.774285"], ["id", 3]]
4385
+ 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 18:43:53.767603000 Z\nupdated_at: 2016-08-03 18:43:53.770815000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.774285"], ["item_id", 3], ["item_type", "Bank"]]
4386
+  (0.4ms) commit transaction
4387
+  (0.0ms) begin transaction
4388
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 40], ["updated_at", "2016-08-03 18:43:53.777310"], ["id", 3]]
4389
+ 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 18:43:53.767603000 Z\nupdated_at: 2016-08-03 18:43:53.774285000 Z\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.777310"], ["item_id", 3], ["item_type", "Bank"]]
4390
+  (0.5ms) commit transaction
4391
+ 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"]]
4392
+ 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"]]
4393
+ 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]]
4394
+ 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]]
4395
+ 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]]
4396
+  (0.0ms) begin transaction
4397
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.785372"], ["updated_at", "2016-08-03 18:43:53.785372"]]
4398
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.785372"], ["item_id", 4], ["item_type", "Bank"]]
4399
+  (0.6ms) commit transaction
4400
+  (0.0ms) begin transaction
4401
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.792513"], ["updated_at", "2016-08-03 18:43:53.792513"]]
4402
+  (0.6ms) commit transaction
4403
+  (0.1ms) begin transaction
4404
+ SQL (0.3ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 1], ["updated_at", "2016-08-03 18:43:53.796955"], ["id", 4]]
4405
+ 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 18:43:53.785372000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.796955"], ["item_id", 4], ["item_type", "Bank"]]
4406
+  (0.6ms) commit transaction
4407
+  (0.0ms) begin transaction
4408
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.800826"], ["id", 4]]
4409
+ 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 18:43:53.785372000 Z\nupdated_at: 2016-08-03 18:43:53.796955000 Z\nuser_id: 1\n"], ["created_at", "2016-08-03 18:43:53.800826"], ["item_id", 4], ["item_type", "Bank"]]
4410
+  (0.5ms) commit transaction
4411
+ 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"]]
4412
+ 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"]]
4413
+ 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]]
4414
+ 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]]
4415
+  (0.0ms) begin transaction
4416
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.807853"], ["updated_at", "2016-08-03 18:43:53.807853"]]
4417
+  (0.5ms) commit transaction
4418
+  (0.0ms) begin transaction
4419
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.809395"], ["updated_at", "2016-08-03 18:43:53.809395"]]
4420
+  (0.5ms) commit transaction
4421
+  (0.0ms) begin transaction
4422
+ SQL (0.3ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.810824"], ["updated_at", "2016-08-03 18:43:53.810824"]]
4423
+ SQL (0.1ms) INSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?) [["event", "create"], ["created_at", "2016-08-03 18:43:53.810824"], ["item_id", 5], ["item_type", "Bank"]]
4424
+  (0.6ms) commit transaction
4425
+  (0.0ms) begin transaction
4426
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 2], ["updated_at", "2016-08-03 18:43:53.814678"], ["id", 5]]
4427
+ 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 18:43:53.810824000 Z\nupdated_at: *1\nuser_id: \n"], ["created_at", "2016-08-03 18:43:53.814678"], ["item_id", 5], ["item_type", "Bank"]]
4428
+  (0.7ms) commit transaction
4429
+  (0.0ms) begin transaction
4430
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 3], ["updated_at", "2016-08-03 18:43:53.818763"], ["id", 5]]
4431
+ 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 18:43:53.810824000 Z\nupdated_at: 2016-08-03 18:43:53.814678000 Z\nuser_id: 2\n"], ["created_at", "2016-08-03 18:43:53.818763"], ["item_id", 5], ["item_type", "Bank"]]
4432
+  (0.5ms) commit transaction
4433
+  (0.0ms) begin transaction
4434
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", nil], ["updated_at", "2016-08-03 18:43:53.822465"], ["id", 5]]
4435
+ 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 18:43:53.810824000 Z\nupdated_at: 2016-08-03 18:43:53.818763000 Z\nuser_id: 3\n"], ["created_at", "2016-08-03 18:43:53.822465"], ["item_id", 5], ["item_type", "Bank"]]
4436
+  (0.5ms) commit transaction
4437
+ 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"]]
4438
+ 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"]]
4439
+ PaperTrail::Version Load (0.2ms) 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]]
4440
+ 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]]
4441
+ 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]]
4442
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4443
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
4444
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4445
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
4446
+  (0.0ms) begin transaction
4447
+ SQL (0.2ms) INSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?) [["value", 100], ["created_at", "2016-08-03 18:43:53.833281"], ["updated_at", "2016-08-03 18:43:53.833281"]]
4448
+ SQL (0.1ms) INSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:43:53.833281"], ["item_id", 6], ["item_type", "Bank"]]
4449
+  (0.6ms) commit transaction
4450
+  (0.0ms) begin transaction
4451
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.836850"], ["id", 6]]
4452
+ 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 18:43:53.833281000 Z\nupdated_at: *1\nuser_id: \n"], ["whodunnit", "user2"], ["created_at", "2016-08-03 18:43:53.836850"], ["item_id", 6], ["item_type", "Bank"]]
4453
+  (0.5ms) commit transaction
4454
+  (0.0ms) begin transaction
4455
+ SQL (0.1ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.840120"], ["updated_at", "2016-08-03 18:43:53.840120"]]
4456
+  (0.5ms) commit transaction
4457
+  (0.0ms) begin transaction
4458
+ SQL (0.2ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 4], ["updated_at", "2016-08-03 18:43:53.841668"], ["id", 6]]
4459
+ 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 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.836850000 Z\nuser_id: \n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.841668"], ["item_id", 6], ["item_type", "Bank"]]
4460
+  (0.6ms) commit transaction
4461
+  (0.0ms) begin transaction
4462
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.845461"], ["updated_at", "2016-08-03 18:43:53.845461"]]
4463
+  (0.4ms) commit transaction
4464
+  (0.0ms) begin transaction
4465
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 5], ["updated_at", "2016-08-03 18:43:53.847018"], ["id", 6]]
4466
+ 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 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.841668000 Z\nuser_id: 4\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.847018"], ["item_id", 6], ["item_type", "Bank"]]
4467
+  (0.6ms) commit transaction
4468
+  (0.0ms) begin transaction
4469
+ SQL (0.1ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:43:53.850761"], ["id", 6]]
4470
+ 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 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.847018000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.850761"], ["item_id", 6], ["item_type", "Bank"]]
4471
+  (0.5ms) commit transaction
4472
+  (0.1ms) begin transaction
4473
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2016-08-03 18:43:53.854152"], ["updated_at", "2016-08-03 18:43:53.854152"]]
4474
+  (0.5ms) commit transaction
4475
+  (0.0ms) begin transaction
4476
+ SQL (0.1ms) UPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["user_id", 6], ["updated_at", "2016-08-03 18:43:53.855730"], ["id", 6]]
4477
+ 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 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.850761000 Z\nuser_id: 5\n"], ["whodunnit", "user3"], ["created_at", "2016-08-03 18:43:53.855730"], ["item_id", 6], ["item_type", "Bank"]]
4478
+  (0.5ms) commit transaction
4479
+  (0.1ms) begin transaction
4480
+ SQL (0.2ms) UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", nil], ["updated_at", "2016-08-03 18:43:53.859049"], ["id", 6]]
4481
+ 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 18:43:53.833281000 Z\nupdated_at: 2016-08-03 18:43:53.855730000 Z\nuser_id: 6\n"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:43:53.859049"], ["item_id", 6], ["item_type", "Bank"]]
4482
+  (0.5ms) commit transaction
4483
+ 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"]]
4484
+ 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"]]
4485
+ 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]]
4486
+ PaperTrail::Version Load (0.2ms) 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]]
4487
+ 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]]
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
+ 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
+ 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]]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paper_trail-audit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Chang
@@ -75,10 +75,9 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - MIT-LICENSE
77
77
  - Rakefile
78
- - lib/paper_trail_audit.rb
79
- - lib/paper_trail_audit/change.rb
80
- - lib/paper_trail_audit/version.rb
81
- - lib/tasks/paper_trail_audit_tasks.rake
78
+ - lib/paper_trail-audit.rb
79
+ - lib/paper_trail-audit/change.rb
80
+ - lib/paper_trail-audit/version.rb
82
81
  - test/dummy/README.rdoc
83
82
  - test/dummy/Rakefile
84
83
  - test/dummy/app/assets/javascripts/application.js
@@ -106,6 +105,7 @@ files:
106
105
  - test/dummy/config/initializers/filter_parameter_logging.rb
107
106
  - test/dummy/config/initializers/inflections.rb
108
107
  - test/dummy/config/initializers/mime_types.rb
108
+ - test/dummy/config/initializers/paper_trail.rb
109
109
  - test/dummy/config/initializers/session_store.rb
110
110
  - test/dummy/config/initializers/wrap_parameters.rb
111
111
  - test/dummy/config/locales/en.yml
@@ -176,6 +176,7 @@ test_files:
176
176
  - test/dummy/config/initializers/filter_parameter_logging.rb
177
177
  - test/dummy/config/initializers/inflections.rb
178
178
  - test/dummy/config/initializers/mime_types.rb
179
+ - test/dummy/config/initializers/paper_trail.rb
179
180
  - test/dummy/config/initializers/session_store.rb
180
181
  - test/dummy/config/initializers/wrap_parameters.rb
181
182
  - test/dummy/config/locales/en.yml
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :paper_trail_audit do
3
- # # Task goes here
4
- # end