espinita 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/espinita/auditor.rb +1 -3
- data/lib/espinita/auditor_behavior.rb +4 -0
- data/lib/espinita/engine.rb +1 -0
- data/lib/espinita/version.rb +1 -1
- data/spec/dummy/log/test.log +220 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9782325a4f946cfa5f1adf2a2d31861abedb66b2
|
4
|
+
data.tar.gz: 38c99e3abdf1217de822731401fa03ec5dba1c6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac32dde827cb37c8f0af1f8c4b9aea2545eaef0cac3153b5f910b0fa1f83c5f50b2cda6b592d7dce69a8e857139dc783556c5cb7a1e88ae07acc1f27b0065006
|
7
|
+
data.tar.gz: 554967e32573740dc6ab66aa9185473f22b090219d14ce383ed387876d0935c245b10ef3e4f7c432d675c03d42ccb5d7f53f23e7a7e16ecfa48961ca9634e741
|
data/lib/espinita/auditor.rb
CHANGED
@@ -34,6 +34,10 @@ module Espinita
|
|
34
34
|
self.excluded_cols = (@@default_excluded) + options[:except]
|
35
35
|
end
|
36
36
|
|
37
|
+
has_many :audits, :as => :auditable, :class_name => Espinita::Audit.name
|
38
|
+
#attr_accessor :audited_user, :audited_ip
|
39
|
+
accepts_nested_attributes_for :audits
|
40
|
+
|
37
41
|
end
|
38
42
|
|
39
43
|
def permited_columns
|
data/lib/espinita/engine.rb
CHANGED
data/lib/espinita/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -17266,3 +17266,223 @@ Completed 200 OK in 74ms (Views: 4.4ms | ActiveRecord: 1.2ms)
|
|
17266
17266
|
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17267
17267
|
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17268
17268
|
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17269
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
17270
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "general_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "settings" text, "position" integer, "created_at" datetime, "updated_at" datetime)
|
17271
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
17272
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "espinita_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar(255), "user_id" integer, "user_type" varchar(255), "audited_changes" text, "comment" varchar(255), "version" integer, "action" varchar(255), "remote_address" varchar(255), "created_at" datetime, "updated_at" datetime)
|
17273
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
17274
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
17275
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17276
|
+
[1m[35mSQL (2.4ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00]]
|
17277
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17278
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
17279
|
+
Processing by AuditsController#audit as HTML
|
17280
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17281
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00]]
|
17282
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17283
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 1], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:50.811701000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:50.811701000 Z\nid:\n- \n- 1\n"], ["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17284
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:50.000000000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:50.000000000 Z\nid:\n- \n- 1\n"]]
|
17285
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17286
|
+
Rendered text template (0.0ms)
|
17287
|
+
Completed 200 OK in 136ms (Views: 35.2ms | ActiveRecord: 1.5ms)
|
17288
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
17289
|
+
[1m[35mEspinita::Audit Load (0.2ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 1], ["auditable_type", "GeneralModel"]]
|
17290
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 1]]
|
17291
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 1], ["auditable_type", "GeneralModel"]]
|
17292
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17293
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00]]
|
17294
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17295
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:50.983675000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:50.983675000 Z\nid:\n- \n- 2\n"], ["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17296
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17297
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17298
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17299
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:26:50.983675000 Z\n- 2013-11-04 15:26:50.993965000 Z\n"], ["created_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17300
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:50 UTC +00:00]]
|
17301
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17302
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 2], ["auditable_type", "GeneralModel"]]
|
17303
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17304
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17305
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17306
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:51.001249000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:51.001249000 Z\nid:\n- \n- 3\n"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17307
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17309
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17310
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
17311
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
|
17312
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17313
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17314
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17315
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 4], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:51.013533000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:51.013533000 Z\nid:\n- \n- 4\n"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17316
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17317
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17318
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17319
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 4], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:26:51.013533000 Z\n- 2013-11-04 15:26:51.025703000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17320
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17321
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17322
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17323
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17324
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17325
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17326
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17327
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17328
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:51.035082000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:51.035082000 Z\nid:\n- \n- 5\n"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17329
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17330
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17331
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17332
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["auditable_id", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:26:51.035082000 Z\n- 2013-11-04 15:26:51.043756000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17333
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17334
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17335
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17336
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17337
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17338
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17339
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17340
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17342
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17343
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17344
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:51.053713000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:51.053713000 Z\nid:\n- \n- 6\n"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17345
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17347
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17348
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["auditable_id", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:26:51.053713000 Z\n- 2013-11-04 15:26:51.062442000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
17349
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17350
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17351
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17352
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17353
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17354
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17355
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17356
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17358
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17359
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17360
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:26:51.075682000 Z\nupdated_at:\n- \n- 2013-11-04 15:26:51.075682000 Z\nid:\n- \n- 7\n"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17361
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17363
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17364
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17365
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17366
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17367
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17368
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17369
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17370
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17371
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17372
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17373
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:26:51.090614000 Z\n- 2013-11-04 15:26:51.092280000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17374
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:26:51 UTC +00:00]]
|
17375
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17376
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17377
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17378
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17379
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "last_name" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
17380
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "general_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "settings" text, "position" integer, "created_at" datetime, "updated_at" datetime)
|
17381
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
17382
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "espinita_audits" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar(255), "user_id" integer, "user_type" varchar(255), "audited_changes" text, "comment" varchar(255), "version" integer, "action" varchar(255), "remote_address" varchar(255), "created_at" datetime, "updated_at" datetime)
|
17383
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
17384
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
17385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17386
|
+
[1m[35mSQL (2.3ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17387
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17388
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
17389
|
+
Processing by AuditsController#audit as HTML
|
17390
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17391
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17392
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17393
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 1], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.691464000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.691464000 Z\nid:\n- \n- 1\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17394
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.000000000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.000000000 Z\nid:\n- \n- 1\n"]]
|
17395
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17396
|
+
Rendered text template (0.0ms)
|
17397
|
+
Completed 200 OK in 76ms (Views: 4.3ms | ActiveRecord: 1.4ms)
|
17398
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
17399
|
+
[1m[35mEspinita::Audit Load (0.2ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 1], ["auditable_type", "GeneralModel"]]
|
17400
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 1]]
|
17401
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 1], ["auditable_type", "GeneralModel"]]
|
17402
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17403
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17404
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17405
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.772013000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.772013000 Z\nid:\n- \n- 2\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17406
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17407
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17408
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17409
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:27:49.772013000 Z\n- 2013-11-04 15:27:49.780413000 Z\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17410
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17411
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17412
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 2], ["auditable_type", "GeneralModel"]]
|
17413
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17414
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17415
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17416
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.787465000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.787465000 Z\nid:\n- \n- 3\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17417
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17419
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17420
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
17421
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
|
17422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17423
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17424
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17425
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "create"], ["auditable_id", 4], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.799778000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.799778000 Z\nid:\n- \n- 4\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17426
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17428
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17429
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 4], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:27:49.799778000 Z\n- 2013-11-04 15:27:49.808447000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17430
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17431
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17432
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17433
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17434
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
17435
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17436
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17437
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17438
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.818700000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.818700000 Z\nid:\n- \n- 5\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
17439
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17441
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17442
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["auditable_id", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:27:49.818700000 Z\n- 2013-11-04 15:27:49.827398000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
17443
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17444
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17445
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17446
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17447
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
17448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17449
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17450
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
17452
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17453
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17454
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.837382000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.837382000 Z\nid:\n- \n- 6\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17455
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17456
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17457
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17458
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "update"], ["auditable_id", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:27:49.837382000 Z\n- 2013-11-04 15:27:49.846208000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
17459
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17460
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17461
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17462
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17463
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17464
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17465
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
17466
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
|
17467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17468
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17469
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
17470
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["action", "create"], ["auditable_id", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- \n- MyString\nsettings:\n- \n- MyText\nposition:\n- \n- 1\ncreated_at:\n- \n- 2013-11-04 15:27:49.859345000 Z\nupdated_at:\n- \n- 2013-11-04 15:27:49.859345000 Z\nid:\n- \n- 7\n"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17471
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17472
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
17473
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17474
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17475
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17476
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17477
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
17478
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
17479
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17480
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
17481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
17482
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
17483
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "espinita_audits" ("action", "auditable_id", "auditable_type", "audited_changes", "comment", "created_at", "remote_address", "updated_at", "user_id", "user_type", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["action", "update"], ["auditable_id", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nname:\n- MyString\n- Foo\nupdated_at:\n- 2013-11-04 15:27:49.873835000 Z\n- 2013-11-04 15:27:49.875777000 Z\n"], ["comment", "Some comment"], ["created_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
17484
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Mon, 04 Nov 2013 15:27:49 UTC +00:00]]
|
17485
|
+
[1m[35m (0.1ms)[0m commit transaction
|
17486
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17487
|
+
[1m[35mEspinita::Audit Load (0.1ms)[0m SELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1 [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
17488
|
+
[1m[36mEspinita::Audit Load (0.1ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" DESC LIMIT 1[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|