paper_trail-audit 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{paper_trail_audit → paper_trail-audit}/change.rb +0 -0
- data/lib/{paper_trail_audit → paper_trail-audit}/version.rb +1 -1
- data/lib/{paper_trail_audit.rb → paper_trail-audit.rb} +4 -4
- data/test/dummy/config/application.rb +1 -2
- data/test/dummy/config/initializers/paper_trail.rb +1 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +596 -0
- metadata +6 -5
- data/lib/tasks/paper_trail_audit_tasks.rake +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cabf11d7e6e5854662b52dad364e6de0c67b9425
|
4
|
+
data.tar.gz: 00057db7df3f033d4ae5f262da9cd6c0092e7c3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7ae6f3aefe446d5229bae0062dc2fdbc67ffaed96f87013069ae250f389cd3e255f008484cde05b614fd1e3437684bcb32c5883045e775cb4351aae42435232
|
7
|
+
data.tar.gz: 5381b66554acc6c24a82883fa673bb30ba85f165805717ad36746edbe1f194accfa0596dac0a43ae6a03b3f1ec8a8b1fefdce849e0d552b3d82d37913f50cf91
|
File without changes
|
@@ -1,5 +1,5 @@
|
|
1
|
-
require "
|
2
|
-
require "
|
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.
|
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
|
-
|
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 "
|
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
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -3892,3 +3892,599 @@
|
|
3892
3892
|
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
3893
3893
|
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
3895
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3896
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) [0m
|
3897
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
3898
|
+
[1m[36m (0.8ms)[0m [1mCREATE 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) [0m
|
3899
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3900
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
3901
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
3902
|
+
[1m[36m (0.7ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3903
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3904
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802235657')[0m
|
3905
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
|
3906
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802222941')[0m
|
3907
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
|
3908
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
3909
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3910
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:38:30.621082"], ["item_id", 1], ["item_type", "Bank"]]
|
3912
|
+
[1m[35m (2.7ms)[0m commit transaction
|
3913
|
+
[1m[36mBank Load (0.1ms)[0m [1mSELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1[0m
|
3914
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 1], ["item_type", "Bank"]]
|
3916
|
+
[1m[35mBank Load (0.1ms)[0m SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
|
3917
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3918
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:38:30.656553"], ["item_id", 2], ["item_type", "Bank"]]
|
3920
|
+
[1m[35m (0.5ms)[0m commit transaction
|
3921
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3922
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.660302"], ["id", 2]]
|
3923
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
3925
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1[0m [["item_id", 2], ["item_type", "Bank"]]
|
3926
|
+
[1m[35mPaperTrail::Version Load (0.3ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 2]]
|
3928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3929
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:38:30.671197"], ["updated_at", "2016-08-03 18:38:30.671197"]]
|
3930
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
3932
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3933
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 10], ["updated_at", "2016-08-03 18:38:30.674702"], ["id", 3]]
|
3934
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
3936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3937
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:38:30.678028"], ["id", 3]]
|
3938
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mcommit transaction[0m
|
3940
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3941
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 40], ["updated_at", "2016-08-03 18:38:30.681198"], ["id", 3]]
|
3942
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
3944
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 3], ["item_type", "Bank"]]
|
3946
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 3]]
|
3948
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3950
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:38:30.689664"], ["item_id", 4], ["item_type", "Bank"]]
|
3952
|
+
[1m[35m (0.6ms)[0m commit transaction
|
3953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3954
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
3956
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3957
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 1], ["updated_at", "2016-08-03 18:38:30.701276"], ["id", 4]]
|
3958
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
3960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3961
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:38:30.705352"], ["id", 4]]
|
3962
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
3964
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 4], ["item_type", "Bank"]]
|
3966
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 4]]
|
3968
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3969
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:38:30.712447"], ["updated_at", "2016-08-03 18:38:30.712447"]]
|
3970
|
+
[1m[35m (0.5ms)[0m commit transaction
|
3971
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3972
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
3974
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3975
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:38:30.715334"], ["updated_at", "2016-08-03 18:38:30.715334"]]
|
3976
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
3978
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3979
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 2], ["updated_at", "2016-08-03 18:38:30.719415"], ["id", 5]]
|
3980
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
3982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3983
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 3], ["updated_at", "2016-08-03 18:38:30.723785"], ["id", 5]]
|
3984
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
3986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3987
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", nil], ["updated_at", "2016-08-03 18:38:30.727638"], ["id", 5]]
|
3988
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
3990
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 5], ["item_type", "Bank"]]
|
3992
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 5]]
|
3994
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
3996
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
3997
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
3998
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
3999
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4000
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:38:30.739219"], ["item_id", 6], ["item_type", "Bank"]]
|
4002
|
+
[1m[35m (0.4ms)[0m commit transaction
|
4003
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4004
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:38:30.743021"], ["id", 6]]
|
4005
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.4ms)[0m commit transaction
|
4007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4008
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4011
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 4], ["updated_at", "2016-08-03 18:38:30.747707"], ["id", 6]]
|
4012
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4015
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:38:30.750837"], ["updated_at", "2016-08-03 18:38:30.750837"]]
|
4016
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4017
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4018
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4021
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4022
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:38:30.756110"], ["id", 6]]
|
4023
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4026
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4029
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 6], ["updated_at", "2016-08-03 18:38:30.761366"], ["id", 6]]
|
4030
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4032
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4033
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:38:30.765873"], ["id", 6]]
|
4034
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4036
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 6], ["item_type", "Bank"]]
|
4038
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4040
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4042
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4044
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4045
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) [0m
|
4046
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
4047
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
4048
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
4049
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
4050
|
+
[1m[35m (0.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
4051
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4052
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4053
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802235657')[0m
|
4054
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
|
4055
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802222941')[0m
|
4056
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
|
4057
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
4058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4059
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:39:12.853441"], ["item_id", 1], ["item_type", "Bank"]]
|
4061
|
+
[1m[35m (2.3ms)[0m commit transaction
|
4062
|
+
[1m[36mBank Load (0.1ms)[0m [1mSELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1[0m
|
4063
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 1], ["item_type", "Bank"]]
|
4065
|
+
[1m[35mBank Load (0.1ms)[0m SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
|
4066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4067
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:39:12.885582"], ["item_id", 2], ["item_type", "Bank"]]
|
4069
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4071
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.889687"], ["id", 2]]
|
4072
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4074
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1[0m [["item_id", 2], ["item_type", "Bank"]]
|
4075
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 2]]
|
4077
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4078
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:39:12.899028"], ["updated_at", "2016-08-03 18:39:12.899028"]]
|
4079
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4082
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 10], ["updated_at", "2016-08-03 18:39:12.902296"], ["id", 3]]
|
4083
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4085
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4086
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:39:12.905969"], ["id", 3]]
|
4087
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4090
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 40], ["updated_at", "2016-08-03 18:39:12.909788"], ["id", 3]]
|
4091
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4093
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 3], ["item_type", "Bank"]]
|
4095
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 3]]
|
4097
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4099
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:39:12.919035"], ["item_id", 4], ["item_type", "Bank"]]
|
4101
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4102
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4103
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4106
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 1], ["updated_at", "2016-08-03 18:39:12.929451"], ["id", 4]]
|
4107
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4110
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:39:12.933221"], ["id", 4]]
|
4111
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4113
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 4], ["item_type", "Bank"]]
|
4115
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 4]]
|
4117
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4118
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:39:12.940461"], ["updated_at", "2016-08-03 18:39:12.940461"]]
|
4119
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4121
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4124
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:39:12.944094"], ["updated_at", "2016-08-03 18:39:12.944094"]]
|
4125
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4127
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4128
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 2], ["updated_at", "2016-08-03 18:39:12.947855"], ["id", 5]]
|
4129
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4131
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4132
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 3], ["updated_at", "2016-08-03 18:39:12.951838"], ["id", 5]]
|
4133
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4135
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4136
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", nil], ["updated_at", "2016-08-03 18:39:12.955773"], ["id", 5]]
|
4137
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4139
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 5], ["item_type", "Bank"]]
|
4141
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 5]]
|
4143
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
4145
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
4146
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
4147
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
4148
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4149
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:39:12.965862"], ["item_id", 6], ["item_type", "Bank"]]
|
4151
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4153
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:39:12.969137"], ["id", 6]]
|
4154
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4156
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4157
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4160
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 4], ["updated_at", "2016-08-03 18:39:12.975078"], ["id", 6]]
|
4161
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4163
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4164
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:39:12.979291"], ["updated_at", "2016-08-03 18:39:12.979291"]]
|
4165
|
+
[1m[35m (0.3ms)[0m commit transaction
|
4166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4167
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4170
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4171
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:39:12.984823"], ["id", 6]]
|
4172
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4175
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4177
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4178
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 6], ["updated_at", "2016-08-03 18:39:12.989753"], ["id", 6]]
|
4179
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4182
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:39:12.993559"], ["id", 6]]
|
4183
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4185
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 6], ["item_type", "Bank"]]
|
4187
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4189
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4191
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4193
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4194
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) [0m
|
4195
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
4196
|
+
[1m[36m (0.6ms)[0m [1mCREATE 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) [0m
|
4197
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
4198
|
+
[1m[36m (0.9ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
4199
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
4200
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4201
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4202
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802235657')[0m
|
4203
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
|
4204
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802222941')[0m
|
4205
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
|
4206
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
4207
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4208
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:40:01.845188"], ["item_id", 1], ["item_type", "Bank"]]
|
4210
|
+
[1m[35m (2.7ms)[0m commit transaction
|
4211
|
+
[1m[36mBank Load (0.1ms)[0m [1mSELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1[0m
|
4212
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 1], ["item_type", "Bank"]]
|
4214
|
+
[1m[35mBank Load (0.1ms)[0m SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
|
4215
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4216
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:40:01.879380"], ["item_id", 2], ["item_type", "Bank"]]
|
4218
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4220
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.883311"], ["id", 2]]
|
4221
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4223
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1[0m [["item_id", 2], ["item_type", "Bank"]]
|
4224
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 2]]
|
4226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:40:01.893125"], ["updated_at", "2016-08-03 18:40:01.893125"]]
|
4228
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4231
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 10], ["updated_at", "2016-08-03 18:40:01.896168"], ["id", 3]]
|
4232
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4235
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:40:01.899415"], ["id", 3]]
|
4236
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4238
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4239
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 40], ["updated_at", "2016-08-03 18:40:01.902808"], ["id", 3]]
|
4240
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4242
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 3], ["item_type", "Bank"]]
|
4244
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 3]]
|
4246
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4248
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:40:01.910259"], ["item_id", 4], ["item_type", "Bank"]]
|
4250
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4252
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4255
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 1], ["updated_at", "2016-08-03 18:40:01.921051"], ["id", 4]]
|
4256
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4258
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4259
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:40:01.925275"], ["id", 4]]
|
4260
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4262
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 4], ["item_type", "Bank"]]
|
4264
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 4]]
|
4266
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4267
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:40:01.932149"], ["updated_at", "2016-08-03 18:40:01.932149"]]
|
4268
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4269
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4270
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4272
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4273
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:40:01.935237"], ["updated_at", "2016-08-03 18:40:01.935237"]]
|
4274
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4277
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 2], ["updated_at", "2016-08-03 18:40:01.938278"], ["id", 5]]
|
4278
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4281
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 3], ["updated_at", "2016-08-03 18:40:01.942007"], ["id", 5]]
|
4282
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4284
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4285
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", nil], ["updated_at", "2016-08-03 18:40:01.945268"], ["id", 5]]
|
4286
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4288
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 5], ["item_type", "Bank"]]
|
4290
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 5]]
|
4292
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
4294
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
4295
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
4296
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
4297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4298
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:40:01.955820"], ["item_id", 6], ["item_type", "Bank"]]
|
4300
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4302
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:40:01.959064"], ["id", 6]]
|
4303
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4306
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4308
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4309
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 4], ["updated_at", "2016-08-03 18:40:01.963778"], ["id", 6]]
|
4310
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4312
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4313
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:40:01.966891"], ["updated_at", "2016-08-03 18:40:01.966891"]]
|
4314
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4315
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4316
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4319
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4320
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:40:01.971949"], ["id", 6]]
|
4321
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.7ms)[0m commit transaction
|
4323
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4324
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4326
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4327
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 6], ["updated_at", "2016-08-03 18:40:01.976777"], ["id", 6]]
|
4328
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4331
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:40:01.980117"], ["id", 6]]
|
4332
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4334
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 6], ["item_type", "Bank"]]
|
4336
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4338
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4340
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4342
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4343
|
+
[1m[36m (2.5ms)[0m [1mCREATE TABLE "banks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "value" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer) [0m
|
4344
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
4345
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
4346
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
4347
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
4348
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
4349
|
+
[1m[36m (0.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4350
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
4351
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802235657')[0m
|
4352
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802221911')
|
4353
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20160802222941')[0m
|
4354
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20160802235555')
|
4355
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
4356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4357
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:43:53.721691"], ["item_id", 1], ["item_type", "Bank"]]
|
4359
|
+
[1m[35m (2.4ms)[0m commit transaction
|
4360
|
+
[1m[36mBank Load (0.1ms)[0m [1mSELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1[0m
|
4361
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 1], ["item_type", "Bank"]]
|
4363
|
+
[1m[35mBank Load (0.1ms)[0m SELECT "banks".* FROM "banks" ORDER BY "banks"."id" DESC LIMIT 1
|
4364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4365
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:43:53.753814"], ["item_id", 2], ["item_type", "Bank"]]
|
4367
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4369
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.757145"], ["id", 2]]
|
4370
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "versions" ("event", "object", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.8ms)[0m commit transaction
|
4372
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" DESC, "versions"."id" DESC LIMIT 1[0m [["item_id", 2], ["item_type", "Bank"]]
|
4373
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 3) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 2]]
|
4375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4376
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:43:53.767603"], ["updated_at", "2016-08-03 18:43:53.767603"]]
|
4377
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4379
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4380
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 10], ["updated_at", "2016-08-03 18:43:53.770815"], ["id", 3]]
|
4381
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4383
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4384
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:43:53.774285"], ["id", 3]]
|
4385
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
4387
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4388
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", 40], ["updated_at", "2016-08-03 18:43:53.777310"], ["id", 3]]
|
4389
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4391
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 3], ["item_type", "Bank"]]
|
4393
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 6) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 3]]
|
4395
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4397
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?)[0m [["event", "create"], ["created_at", "2016-08-03 18:43:53.785372"], ["item_id", 4], ["item_type", "Bank"]]
|
4399
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4401
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4404
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 1], ["updated_at", "2016-08-03 18:43:53.796955"], ["id", 4]]
|
4405
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4407
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4408
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:43:53.800826"], ["id", 4]]
|
4409
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4411
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 4], ["item_type", "Bank"]]
|
4413
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 10) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 4]]
|
4415
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4416
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:43:53.807853"], ["updated_at", "2016-08-03 18:43:53.807853"]]
|
4417
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4419
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4422
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "banks" ("value", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["value", 100], ["created_at", "2016-08-03 18:43:53.810824"], ["updated_at", "2016-08-03 18:43:53.810824"]]
|
4423
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4425
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4426
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 2], ["updated_at", "2016-08-03 18:43:53.814678"], ["id", 5]]
|
4427
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
4429
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4430
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 3], ["updated_at", "2016-08-03 18:43:53.818763"], ["id", 5]]
|
4431
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4433
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4434
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", nil], ["updated_at", "2016-08-03 18:43:53.822465"], ["id", 5]]
|
4435
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4437
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 5], ["item_type", "Bank"]]
|
4439
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 13) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 5]]
|
4441
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
4443
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
4444
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 3]]
|
4445
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 3]]
|
4446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4447
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?)[0m [["event", "create"], ["whodunnit", "user1"], ["created_at", "2016-08-03 18:43:53.833281"], ["item_id", 6], ["item_type", "Bank"]]
|
4449
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4450
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4451
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 10], ["updated_at", "2016-08-03 18:43:53.836850"], ["id", 6]]
|
4452
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4455
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4457
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4458
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 4], ["updated_at", "2016-08-03 18:43:53.841668"], ["id", 6]]
|
4459
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
4461
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4462
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2016-08-03 18:43:53.845461"], ["updated_at", "2016-08-03 18:43:53.845461"]]
|
4463
|
+
[1m[35m (0.4ms)[0m commit transaction
|
4464
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4465
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.6ms)[0m commit transaction
|
4468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
4469
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ? [["value", 123], ["updated_at", "2016-08-03 18:43:53.850761"], ["id", 6]]
|
4470
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "versions" ("event", "object", "whodunnit", "created_at", "item_id", "item_type") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.5ms)[0m commit transaction
|
4472
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
4473
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4475
|
+
[1m[35m (0.0ms)[0m begin transaction
|
4476
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "banks" SET "user_id" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["user_id", 6], ["updated_at", "2016-08-03 18:43:53.855730"], ["id", 6]]
|
4477
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4479
|
+
[1m[35m (0.1ms)[0m begin transaction
|
4480
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "banks" SET "value" = ?, "updated_at" = ? WHERE "banks"."id" = ?[0m [["value", nil], ["updated_at", "2016-08-03 18:43:53.859049"], ["id", 6]]
|
4481
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
4483
|
+
[1m[35mPaperTrail::Version Load (0.2ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_id" = ? AND "versions"."item_type" = ? ORDER BY "versions"."created_at" ASC, "versions"."id" ASC[0m [["item_id", 6], ["item_type", "Bank"]]
|
4485
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.2ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 17) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4487
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 19) ORDER BY "versions"."id" DESC LIMIT 1[0m [["item_type", "Bank"], ["item_id", 6]]
|
4489
|
+
[1m[35mPaperTrail::Version Load (0.1ms)[0m 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
|
+
[1m[36mPaperTrail::Version Load (0.1ms)[0m [1mSELECT "versions".* FROM "versions" WHERE "versions"."item_type" = ? AND "versions"."item_id" = ? AND ("versions"."id" < 21) ORDER BY "versions"."id" DESC LIMIT 1[0m [["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.
|
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/
|
79
|
-
- lib/
|
80
|
-
- lib/
|
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
|