espinita 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/espinita/auditor_behavior.rb +1 -1
- data/lib/espinita/version.rb +1 -1
- data/spec/dummy/log/test.log +1608 -0
- data/spec/models/models/general_model_spec.rb +8 -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: e14c5dbe58f9363473f54de98e6616ee86830fb1
|
4
|
+
data.tar.gz: 8a1206ef135d260b4307308ae753806e322b0171
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b6e69942b5ab1695f5a594a2068db5efdd59ebcb5e11ced0846b8964cbea373358fa99673d7a2030dce5cd7a840df9da44c5c027eb3dbbb010c0cba024e85a7
|
7
|
+
data.tar.gz: dd584c07caf7d977c4dc94097ccc61a423405ebd9530d4de0bc71647c1026126e186ed2dc39ac64fee4b0cec317313fde93539ea27c0eca17ca857f7036ad4f8
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Espinita
|
2
2
|
|
3
|
-
[![Build Status](https://secure.travis-ci.org/continuum/espinita.png)](http://travis-ci.org/continuum/espinita) [![Dependency Status](https://gemnasium.com/continuum/espinita.png)](https://gemnasium.com/continuum/espinita) [![Coverage Status](https://coveralls.io/repos/continuum/espinita/badge.png?branch=master)](https://coveralls.io/r/continuum/espinita?branch=master)
|
3
|
+
[![Build Status](https://secure.travis-ci.org/continuum/espinita.png)](http://travis-ci.org/continuum/espinita) [![Dependency Status](https://gemnasium.com/continuum/espinita.png)](https://gemnasium.com/continuum/espinita) [![Coverage Status](https://coveralls.io/repos/continuum/espinita/badge.png?branch=master)](https://coveralls.io/r/continuum/espinita?branch=master) [![Code Climate](https://codeclimate.com/github/continuum/espinita.png)](https://codeclimate.com/github/continuum/espinita)
|
4
4
|
=======
|
5
5
|
|
6
6
|
## Audits activerecord models like a boss
|
data/lib/espinita/version.rb
CHANGED
data/spec/dummy/log/test.log
CHANGED
@@ -23577,3 +23577,1611 @@ Completed 200 OK in 78ms (Views: 4.4ms | ActiveRecord: 1.4ms)
|
|
23577
23577
|
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
23578
23578
|
[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", 11], ["auditable_type", "GeneralModel"]]
|
23579
23579
|
[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", 11], ["auditable_type", "GeneralModel"]]
|
23580
|
+
[1m[36m (0.6ms)[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
|
23581
|
+
[1m[35m (0.3ms)[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)
|
23582
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
23583
|
+
[1m[35m (0.2ms)[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)
|
23584
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
23585
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
23586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23587
|
+
[1m[35mSQL (27.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23588
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23589
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
23590
|
+
Processing by AuditsController#audit as HTML
|
23591
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23592
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23593
|
+
[1m[36m (0.2ms)[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
|
23594
|
+
[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23595
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"]]
|
23596
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23597
|
+
Rendered text template (0.0ms)
|
23598
|
+
Completed 200 OK in 78ms (Views: 4.6ms | ActiveRecord: 1.4ms)
|
23599
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
23600
|
+
[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"]]
|
23601
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
23602
|
+
[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"]]
|
23603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23604
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23605
|
+
[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
|
23606
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 2\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23607
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23608
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23609
|
+
[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
|
23610
|
+
[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", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23611
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23612
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23613
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
23614
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23615
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23616
|
+
[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'
|
23617
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23618
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23620
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23621
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23622
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23623
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23624
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
|
23625
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23626
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23627
|
+
[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
|
23628
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23629
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23630
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23631
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23632
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23633
|
+
[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"]]
|
23634
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23635
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23636
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23637
|
+
[1m[36mSQL (0.3ms)[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", "---\n:settings: MyText\n:position: 1\n:id: 5\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23638
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23640
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23641
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23642
|
+
[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"]]
|
23643
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
23644
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23645
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23646
|
+
[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'
|
23647
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 6\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23648
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23650
|
+
[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'
|
23651
|
+
[1m[36mSQL (0.3ms)[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23652
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23653
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23654
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
23655
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
23656
|
+
[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"]]
|
23657
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23658
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23659
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23660
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 7\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23661
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23662
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23663
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23664
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23665
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23666
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23667
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
23668
|
+
[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"]]
|
23669
|
+
[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"]]
|
23670
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23671
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23672
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23673
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23674
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23675
|
+
[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
|
23676
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 8\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23677
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23678
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23679
|
+
[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
|
23680
|
+
[1m[35mSQL (0.2ms)[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
23681
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23682
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23683
|
+
[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"]]
|
23684
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23685
|
+
[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"]]
|
23686
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23687
|
+
[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"]]
|
23688
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23689
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23690
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23691
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23692
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23693
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9[0m [["updated_at", Sun, 16 Mar 2014 20:04:18 UTC +00:00]]
|
23694
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23695
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
|
23696
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23697
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23698
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23699
|
+
[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", 10], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 10\n"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23700
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23701
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23702
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23703
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23704
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
23705
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
23706
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
23707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23708
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23709
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23710
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23711
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23712
|
+
[1m[35mSQL (0.2ms)[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23713
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
|
23714
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23715
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
23716
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
23717
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
23718
|
+
[1m[36m (0.5ms)[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
|
23719
|
+
[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)
|
23720
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
23721
|
+
[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)
|
23722
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
23723
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
23724
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23725
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23726
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23727
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
23728
|
+
Processing by AuditsController#audit as HTML
|
23729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23730
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23731
|
+
[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
|
23732
|
+
[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23733
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"]]
|
23734
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23735
|
+
Rendered text template (0.0ms)
|
23736
|
+
Completed 200 OK in 78ms (Views: 4.6ms | ActiveRecord: 1.5ms)
|
23737
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
23738
|
+
[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"]]
|
23739
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
23740
|
+
[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"]]
|
23741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23742
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23743
|
+
[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
|
23744
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 2\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23745
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23747
|
+
[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
|
23748
|
+
[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", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23749
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23750
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23751
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
23752
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23753
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23754
|
+
[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'
|
23755
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23756
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23758
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23759
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23760
|
+
[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", 3], ["auditable_type", "GeneralModel"]]
|
23761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23762
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23763
|
+
[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
|
23764
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 4\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23765
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23766
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23767
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23768
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23769
|
+
[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"]]
|
23770
|
+
[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" ASC LIMIT 1 [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
|
23771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23772
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23773
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23774
|
+
[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", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:settings: MyText\n:position: 1\n:id: 5\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23775
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23776
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23777
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23778
|
+
[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", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23779
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23780
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23781
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
23782
|
+
[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"]]
|
23783
|
+
[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"]]
|
23784
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23785
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23786
|
+
[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'
|
23787
|
+
[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 6\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23788
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23790
|
+
[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'
|
23791
|
+
[1m[36mSQL (0.3ms)[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23792
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23793
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23794
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
23795
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
23796
|
+
[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"]]
|
23797
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
23798
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23799
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23800
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23801
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23802
|
+
[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'
|
23803
|
+
[1m[36mSQL (0.3ms)[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 7\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23804
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23805
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23806
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23807
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
23808
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23809
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23810
|
+
[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"]]
|
23811
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
23812
|
+
[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"]]
|
23813
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
23814
|
+
[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", 7], ["auditable_type", "GeneralModel"]]
|
23815
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
23816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23817
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23818
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23820
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 8 [["updated_at", Sun, 16 Mar 2014 20:04:42 UTC +00:00]]
|
23821
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23822
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
23823
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
23824
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23825
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23826
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 9\n"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23827
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23828
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23829
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23830
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23831
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
|
23832
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
23833
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
23834
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23835
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23836
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23837
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23838
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23839
|
+
[1m[36mSQL (0.3ms)[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", 10], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23840
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
|
23841
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23842
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
23843
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
23844
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
23845
|
+
[1m[36m (0.5ms)[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
|
23846
|
+
[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)
|
23847
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
23848
|
+
[1m[35m (0.2ms)[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)
|
23849
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
23850
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
23851
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23852
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00]]
|
23853
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23854
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
23855
|
+
Processing by AuditsController#audit as HTML
|
23856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23857
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00]]
|
23858
|
+
[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
|
23859
|
+
[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"], ["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23860
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"]]
|
23861
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23862
|
+
Rendered text template (0.0ms)
|
23863
|
+
Completed 200 OK in 48ms (Views: 4.8ms | ActiveRecord: 1.4ms)
|
23864
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
23865
|
+
[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"]]
|
23866
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
23867
|
+
[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"]]
|
23868
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23869
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00]]
|
23870
|
+
[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
|
23871
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 2\n"], ["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23872
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23873
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23874
|
+
[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
|
23875
|
+
[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", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23876
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00]]
|
23877
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23878
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
23879
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23880
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00]]
|
23881
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23882
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23883
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23885
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23886
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23887
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:17 UTC +00:00]]
|
23888
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23889
|
+
[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", 3], ["auditable_type", "GeneralModel"]]
|
23890
|
+
[1m[36mEspinita::Audit Load (0.2ms)[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", 3], ["auditable_type", "GeneralModel"]]
|
23891
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
|
23892
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23893
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23894
|
+
[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
|
23895
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23896
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23898
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23899
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23900
|
+
[1m[36mEspinita::Audit Load (0.2ms)[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"]]
|
23901
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23902
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23903
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23904
|
+
[1m[36mSQL (0.4ms)[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", "---\n:settings: MyText\n:position: 1\n:id: 5\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23905
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23906
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23907
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23908
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23909
|
+
[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"]]
|
23910
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
23911
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23912
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23913
|
+
[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'
|
23914
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 6\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23915
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23916
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23917
|
+
[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'
|
23918
|
+
[1m[36mSQL (0.4ms)[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23919
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23920
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23921
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
23922
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
23923
|
+
[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"]]
|
23924
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23925
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23926
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23927
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 7\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
23928
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23929
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23930
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23931
|
+
[1m[35mSQL (0.2ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
23932
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23933
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23934
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
23935
|
+
[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"]]
|
23936
|
+
[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"]]
|
23937
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23938
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23939
|
+
[1m[35m (0.0ms)[0m commit transaction
|
23940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
23941
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23942
|
+
[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
|
23943
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 8\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23944
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23946
|
+
[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
|
23947
|
+
[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
23948
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23949
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23950
|
+
[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"]]
|
23951
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23952
|
+
[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"]]
|
23953
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23954
|
+
[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"]]
|
23955
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
23956
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23957
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23958
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23959
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23960
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9[0m [["updated_at", Sun, 16 Mar 2014 20:05:55 UTC +00:00]]
|
23961
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23962
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
|
23963
|
+
[1m[35m (0.1ms)[0m begin transaction
|
23964
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23965
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
23966
|
+
[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", 10], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 10\n"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23967
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23968
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23969
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23970
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
23971
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
23972
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
23973
|
+
[1m[35mEspinita::Audit Load (0.0ms)[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", 10], ["auditable_type", "GeneralModel"]]
|
23974
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23975
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23976
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23977
|
+
[1m[35m (0.0ms)[0m begin transaction
|
23978
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
23979
|
+
[1m[35mSQL (0.2ms)[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
23980
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
|
23981
|
+
[1m[35m (0.1ms)[0m commit transaction
|
23982
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
23983
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
23984
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
23985
|
+
[1m[36m (0.7ms)[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
|
23986
|
+
[1m[35m (0.3ms)[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)
|
23987
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
23988
|
+
[1m[35m (0.2ms)[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)
|
23989
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
23990
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
23991
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23992
|
+
[1m[35mSQL (3.1ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:59 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:05:59 UTC +00:00]]
|
23993
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
23994
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
23995
|
+
Processing by AuditsController#audit as HTML
|
23996
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
23997
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:05:59 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:05:59 UTC +00:00]]
|
23998
|
+
[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
|
23999
|
+
[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", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"], ["created_at", Sat, 15 Mar 2014 20:08:19 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:19 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24000
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:08:19 UTC +00:00], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 1\n"]]
|
24001
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24002
|
+
Rendered text template (0.1ms)
|
24003
|
+
Completed 200 OK in 139812ms (Views: 5.3ms | ActiveRecord: 1.5ms)
|
24004
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24005
|
+
[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"]]
|
24006
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24007
|
+
[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"]]
|
24008
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24009
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:19 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:19 UTC +00:00]]
|
24010
|
+
[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
|
24011
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 2\n"], ["created_at", Sat, 15 Mar 2014 20:08:22 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:22 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24012
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24014
|
+
[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
|
24015
|
+
[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", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:08:24 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:24 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24016
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:22 UTC +00:00]]
|
24017
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24018
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24019
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24020
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:25 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:25 UTC +00:00]]
|
24021
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24022
|
+
[1m[36mSQL (0.4ms)[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24023
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24025
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24026
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["created_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24027
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00]]
|
24028
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24029
|
+
[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"]]
|
24030
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24031
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:26 UTC +00:00]]
|
24032
|
+
[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
|
24033
|
+
[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", "---\n:name: MyString\n"], ["created_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24034
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24035
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24036
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00]]
|
24037
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24038
|
+
[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"]]
|
24039
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24040
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00]]
|
24041
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24042
|
+
[1m[36mSQL (0.3ms)[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", "---\n:settings: MyText\n:position: 1\n:id: 5\n"], ["created_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24043
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24045
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00]]
|
24046
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24047
|
+
[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"]]
|
24048
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24049
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24050
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:28 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:28 UTC +00:00]]
|
24051
|
+
[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'
|
24052
|
+
[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", "---\n:settings: MyText\n:position: 1\n:id: 6\n"], ["created_at", Sat, 15 Mar 2014 20:08:28 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:28 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24053
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24054
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24055
|
+
[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'
|
24056
|
+
[1m[36mSQL (0.4ms)[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24057
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:28 UTC +00:00]]
|
24058
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24059
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
24060
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24061
|
+
[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"]]
|
24062
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24063
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00]]
|
24064
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24065
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 7\n"], ["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24066
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24067
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24068
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24069
|
+
[1m[35mSQL (0.2ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24070
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00]]
|
24071
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24072
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
24073
|
+
[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"]]
|
24074
|
+
[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"]]
|
24075
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24076
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00]]
|
24077
|
+
[1m[35m (0.0ms)[0m commit transaction
|
24078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24079
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00]]
|
24080
|
+
[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
|
24081
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 8\n"], ["created_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24082
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24084
|
+
[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
|
24085
|
+
[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", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24086
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00]]
|
24087
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24088
|
+
[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"]]
|
24089
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24090
|
+
[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"]]
|
24091
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24092
|
+
[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"]]
|
24093
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24094
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24095
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00]]
|
24096
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24097
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24098
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9[0m [["updated_at", Sun, 16 Mar 2014 20:08:30 UTC +00:00]]
|
24099
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24100
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
|
24101
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24102
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00]]
|
24103
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24104
|
+
[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", 10], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: MyString\n:settings: MyText\n:position: 1\n:id: 10\n"], ["created_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24105
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24107
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00]]
|
24108
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
24109
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24110
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
24111
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
24112
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24113
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00]]
|
24114
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24116
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24117
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name: Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:08:32 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:32 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24118
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00]]
|
24119
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24120
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24121
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24122
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24123
|
+
[1m[36m (0.5ms)[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
|
24124
|
+
[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)
|
24125
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24126
|
+
[1m[35m (0.2ms)[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)
|
24127
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24128
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24129
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24130
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:35 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:08:35 UTC +00:00]]
|
24131
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24132
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24133
|
+
Processing by AuditsController#audit as HTML
|
24134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24135
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:35 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:35 UTC +00:00]]
|
24136
|
+
[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
|
24137
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:08:41 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:41 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24138
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:08:41 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24139
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24140
|
+
Rendered text template (0.0ms)
|
24141
|
+
Completed 200 OK in 5844ms (Views: 4.6ms | ActiveRecord: 1.4ms)
|
24142
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24143
|
+
[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"]]
|
24144
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24145
|
+
[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"]]
|
24146
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24147
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:41 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:41 UTC +00:00]]
|
24148
|
+
[1m[36m (0.7ms)[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
|
24149
|
+
[1m[35m (0.3ms)[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)
|
24150
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24151
|
+
[1m[35m (0.2ms)[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)
|
24152
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24153
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24155
|
+
[1m[35mSQL (3.5ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00]]
|
24156
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24157
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24158
|
+
Processing by AuditsController#audit as HTML
|
24159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24160
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00]]
|
24161
|
+
[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
|
24162
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24163
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24164
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24165
|
+
Rendered text template (0.0ms)
|
24166
|
+
Completed 200 OK in 48ms (Views: 4.5ms | ActiveRecord: 1.4ms)
|
24167
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24168
|
+
[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"]]
|
24169
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24170
|
+
[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"]]
|
24171
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24172
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00]]
|
24173
|
+
[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
|
24174
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24175
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24177
|
+
[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
|
24178
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24179
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00]]
|
24180
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24181
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24182
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24183
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00]]
|
24184
|
+
[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'
|
24185
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24186
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24187
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24188
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24189
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24190
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:57 UTC +00:00]]
|
24191
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24192
|
+
[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", 3], ["auditable_type", "GeneralModel"]]
|
24193
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
|
24194
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24195
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24196
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24197
|
+
[1m[36mSQL (0.4ms)[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", 4], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24198
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24199
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24200
|
+
[1m[35mSQL (0.4ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24201
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24202
|
+
[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"]]
|
24203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24204
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24205
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24206
|
+
[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", 5], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24207
|
+
[1m[36m (0.2ms)[0m [1mcommit transaction[0m
|
24208
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24209
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24210
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24211
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24212
|
+
[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" ASC LIMIT 1 [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24213
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24214
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24215
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24216
|
+
[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", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24217
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24218
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24219
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24220
|
+
[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", 6], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24221
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24222
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24223
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
|
24224
|
+
[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"]]
|
24225
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24226
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24227
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24228
|
+
[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'
|
24229
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24230
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24232
|
+
[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'
|
24233
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24234
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24235
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24236
|
+
[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"]]
|
24237
|
+
[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"]]
|
24238
|
+
[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"]]
|
24239
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24240
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24241
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24242
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24243
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24244
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24245
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24246
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24247
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24248
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24249
|
+
[1m[36mSQL (0.3ms)[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24250
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24251
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24252
|
+
[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"]]
|
24253
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24254
|
+
[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"]]
|
24255
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24256
|
+
[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"]]
|
24257
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24258
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24259
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24260
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24261
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24262
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9 [["updated_at", Sun, 16 Mar 2014 20:11:03 UTC +00:00]]
|
24263
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24264
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
|
24265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24266
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24267
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24268
|
+
[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", 10], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 10\n"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24269
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24270
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24271
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24272
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24273
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24274
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
24275
|
+
[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", 10], ["auditable_type", "GeneralModel"]]
|
24276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24277
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24278
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24280
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24281
|
+
[1m[36mSQL (0.3ms)[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24282
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
|
24283
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24284
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24285
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24286
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24287
|
+
[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
|
24288
|
+
[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)
|
24289
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24290
|
+
[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)
|
24291
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24292
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24294
|
+
[1m[35mSQL (4.6ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00]]
|
24295
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24296
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24297
|
+
Processing by AuditsController#audit as HTML
|
24298
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24299
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00]]
|
24300
|
+
[1m[36m (0.2ms)[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
|
24301
|
+
[1m[35mSQL (0.5ms)[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24302
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24303
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24304
|
+
Rendered text template (0.1ms)
|
24305
|
+
Completed 200 OK in 61ms (Views: 7.9ms | ActiveRecord: 1.8ms)
|
24306
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24307
|
+
[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"]]
|
24308
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24309
|
+
[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"]]
|
24310
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24311
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00]]
|
24312
|
+
[1m[36m (0.2ms)[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
|
24313
|
+
[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", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24314
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24316
|
+
[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
|
24317
|
+
[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", "update"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24318
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00]]
|
24319
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24320
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24321
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24322
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24323
|
+
[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'
|
24324
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24325
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24327
|
+
[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'
|
24328
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24329
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24330
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24331
|
+
[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"]]
|
24332
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24333
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24334
|
+
[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
|
24335
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24336
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24337
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24338
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24339
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24340
|
+
[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"]]
|
24341
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24342
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24343
|
+
[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'
|
24344
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24345
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24347
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
|
24348
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24349
|
+
[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"]]
|
24350
|
+
[1m[36mEspinita::Audit Load (0.4ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24351
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24352
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:11:16 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:11:16 UTC +00:00]]
|
24353
|
+
[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'
|
24354
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:11:16 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:11:16 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24355
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24356
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24357
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:16 UTC +00:00]]
|
24358
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24359
|
+
[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"]]
|
24360
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24361
|
+
[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"]]
|
24362
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24363
|
+
[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"]]
|
24364
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24365
|
+
[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"]]
|
24366
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24367
|
+
[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"]]
|
24368
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24369
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24370
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24371
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24372
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24373
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24374
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24375
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24376
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24377
|
+
[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24378
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24379
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24380
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
|
24381
|
+
[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"]]
|
24382
|
+
[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"]]
|
24383
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24384
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24385
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24386
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24387
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24388
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24389
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24390
|
+
[1m[36mSQL (0.3ms)[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24391
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24392
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24393
|
+
[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"]]
|
24394
|
+
[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"]]
|
24395
|
+
[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"]]
|
24396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24397
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24398
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24399
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24400
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24401
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24402
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24403
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24404
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24405
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24406
|
+
[1m[36mSQL (0.3ms)[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24407
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24408
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24409
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24410
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24411
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24412
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24413
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24414
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 2]]
|
24415
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24416
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24417
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24419
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:14:26 UTC +00:00]]
|
24420
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24421
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24422
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24423
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24424
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24425
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24426
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24427
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24428
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24429
|
+
[1m[35m (0.0ms)[0m commit transaction
|
24430
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24431
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24432
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24433
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24434
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24435
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24437
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24438
|
+
[1m[36mSQL (0.3ms)[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24439
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
|
24440
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24441
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
24442
|
+
[1m[36mEspinita::Audit Load (0.2ms)[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", 12], ["auditable_type", "GeneralModel"]]
|
24443
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24444
|
+
[1m[36m (0.5ms)[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
|
24445
|
+
[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)
|
24446
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24447
|
+
[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)
|
24448
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24449
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24450
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24451
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00]]
|
24452
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24453
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24454
|
+
Processing by AuditsController#audit as HTML
|
24455
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24456
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00]]
|
24457
|
+
[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
|
24458
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24459
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24460
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24461
|
+
Rendered text template (0.0ms)
|
24462
|
+
Completed 200 OK in 47ms (Views: 4.7ms | ActiveRecord: 1.4ms)
|
24463
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24464
|
+
[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"]]
|
24465
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24466
|
+
[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"]]
|
24467
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24468
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00]]
|
24469
|
+
[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
|
24470
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24471
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24472
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24473
|
+
[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
|
24474
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24475
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00]]
|
24476
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24477
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24478
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24479
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24480
|
+
[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'
|
24481
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24482
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24484
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24485
|
+
[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24486
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24487
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24488
|
+
[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"]]
|
24489
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24490
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24491
|
+
[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
|
24492
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24493
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24494
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24495
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24496
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24497
|
+
[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"]]
|
24498
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24499
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24500
|
+
[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'
|
24501
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24502
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24503
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24504
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24505
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
24506
|
+
[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"]]
|
24507
|
+
[1m[36mEspinita::Audit Load (0.3ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24508
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24509
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24510
|
+
[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'
|
24511
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24512
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24513
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24514
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24515
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
24516
|
+
[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"]]
|
24517
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24518
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24519
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24520
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24521
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24522
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24523
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24524
|
+
[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'
|
24525
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24526
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24527
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24528
|
+
[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"]]
|
24529
|
+
[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"]]
|
24530
|
+
[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"]]
|
24531
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24532
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24533
|
+
[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
|
24534
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24535
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24536
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24537
|
+
[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
|
24538
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24539
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24540
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24541
|
+
[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"]]
|
24542
|
+
[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"]]
|
24543
|
+
[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"]]
|
24544
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24545
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24546
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24548
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24549
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24550
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24551
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24552
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24553
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24554
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24555
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24556
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24557
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24558
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24559
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24560
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24561
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24562
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24564
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24565
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24567
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10[0m [["updated_at", Sun, 16 Mar 2014 20:14:33 UTC +00:00]]
|
24568
|
+
[1m[35m (0.0ms)[0m commit transaction
|
24569
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24570
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24571
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24572
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24573
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24574
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24576
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24577
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24578
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24579
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24580
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24581
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24582
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24583
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24584
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24585
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24586
|
+
[1m[35mSQL (0.2ms)[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24587
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
|
24588
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24589
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
24590
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24591
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24592
|
+
[1m[36m (0.5ms)[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
|
24593
|
+
[1m[35m (0.2ms)[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)
|
24594
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24595
|
+
[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)
|
24596
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24597
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24598
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24599
|
+
[1m[35mSQL (2.6ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00]]
|
24600
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24601
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24602
|
+
Processing by AuditsController#audit as HTML
|
24603
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24604
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00]]
|
24605
|
+
[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
|
24606
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24607
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24608
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24609
|
+
Rendered text template (0.0ms)
|
24610
|
+
Completed 200 OK in 52ms (Views: 4.5ms | ActiveRecord: 1.5ms)
|
24611
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24612
|
+
[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"]]
|
24613
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24614
|
+
[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"]]
|
24615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24616
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00]]
|
24617
|
+
[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
|
24618
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24619
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24621
|
+
[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
|
24622
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24623
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00]]
|
24624
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24625
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24626
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24627
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24628
|
+
[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'
|
24629
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24630
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24631
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24632
|
+
[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'
|
24633
|
+
[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24634
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24635
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24636
|
+
[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"]]
|
24637
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24638
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24639
|
+
[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
|
24640
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24641
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24642
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24643
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24644
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24645
|
+
[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"]]
|
24646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24647
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24648
|
+
[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'
|
24649
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24650
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24652
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24653
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24654
|
+
[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"]]
|
24655
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24656
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24657
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24658
|
+
[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'
|
24659
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24660
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24661
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24662
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24663
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24664
|
+
[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"]]
|
24665
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24666
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24667
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24668
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24669
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24670
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24671
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24672
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24673
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24674
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24675
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24676
|
+
[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"]]
|
24677
|
+
[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"]]
|
24678
|
+
[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"]]
|
24679
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24680
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24681
|
+
[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
|
24682
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24683
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24684
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24685
|
+
[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
|
24686
|
+
[1m[35mSQL (0.2ms)[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", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24687
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24688
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24689
|
+
[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"]]
|
24690
|
+
[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"]]
|
24691
|
+
[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"]]
|
24692
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24693
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24694
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24696
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24697
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24698
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24699
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24701
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24702
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24703
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24704
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24705
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24706
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24707
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24708
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24709
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24710
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24711
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24712
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24713
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24715
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10[0m [["updated_at", Sun, 16 Mar 2014 20:14:53 UTC +00:00]]
|
24716
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24717
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24719
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24720
|
+
[1m[35m (0.2ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24721
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24722
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24723
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24724
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24725
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24726
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24727
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24728
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24729
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24730
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24731
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24732
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24733
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24734
|
+
[1m[35mSQL (0.2ms)[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24735
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
|
24736
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24737
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
24738
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24739
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24740
|
+
[1m[36m (0.5ms)[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
|
24741
|
+
[1m[35m (0.2ms)[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)
|
24742
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24743
|
+
[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)
|
24744
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24745
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24746
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24747
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00]]
|
24748
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24749
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24750
|
+
Processing by AuditsController#audit as HTML
|
24751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24752
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00]]
|
24753
|
+
[1m[36m (0.2ms)[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
|
24754
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24755
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24756
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24757
|
+
Rendered text template (0.0ms)
|
24758
|
+
Completed 200 OK in 48ms (Views: 4.6ms | ActiveRecord: 1.5ms)
|
24759
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24760
|
+
[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"]]
|
24761
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24762
|
+
[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"]]
|
24763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24764
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00]]
|
24765
|
+
[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
|
24766
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24767
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24768
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24769
|
+
[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
|
24770
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24771
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00]]
|
24772
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24773
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24775
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24776
|
+
[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'
|
24777
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24778
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24779
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24780
|
+
[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'
|
24781
|
+
[1m[36mSQL (0.3ms)[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24782
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24783
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24784
|
+
[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"]]
|
24785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24786
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24787
|
+
[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
|
24788
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24789
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24790
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24791
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24792
|
+
[1m[35m (0.0ms)[0m commit transaction
|
24793
|
+
[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"]]
|
24794
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24795
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24796
|
+
[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'
|
24797
|
+
[1m[36mSQL (0.3ms)[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24798
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24799
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24800
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24801
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24802
|
+
[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"]]
|
24803
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24804
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24805
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24806
|
+
[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'
|
24807
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24808
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24810
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24811
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24812
|
+
[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"]]
|
24813
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24815
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24816
|
+
[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'
|
24817
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24818
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24820
|
+
[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'
|
24821
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24822
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24823
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24824
|
+
[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"]]
|
24825
|
+
[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"]]
|
24826
|
+
[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"]]
|
24827
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24828
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24829
|
+
[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
|
24830
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24831
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24832
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24833
|
+
[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
|
24834
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24835
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24836
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24837
|
+
[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"]]
|
24838
|
+
[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"]]
|
24839
|
+
[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"]]
|
24840
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24841
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24842
|
+
[1m[35m (0.0ms)[0m commit transaction
|
24843
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24845
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24846
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24847
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24848
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24849
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24850
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
24851
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24852
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24853
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24854
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24855
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24856
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24857
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
24858
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
24859
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24860
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24861
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24863
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10[0m [["updated_at", Sun, 16 Mar 2014 20:15:26 UTC +00:00]]
|
24864
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24865
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
24866
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24867
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24868
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
24869
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24870
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24872
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24873
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
24874
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
24875
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24876
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
24877
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24878
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24879
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24880
|
+
[1m[35m (0.0ms)[0m begin transaction
|
24881
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24882
|
+
[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24883
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
|
24884
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24885
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
24886
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24887
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
24888
|
+
[1m[36m (0.5ms)[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
|
24889
|
+
[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)
|
24890
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
24891
|
+
[1m[35m (0.2ms)[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)
|
24892
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
24893
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
24894
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24895
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:58 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:15:58 UTC +00:00]]
|
24896
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24897
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
24898
|
+
Processing by AuditsController#audit as HTML
|
24899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24900
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:58 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:58 UTC +00:00]]
|
24901
|
+
[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
|
24902
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24903
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
24904
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24905
|
+
Rendered text template (0.1ms)
|
24906
|
+
Completed 200 OK in 67ms (Views: 7.5ms | ActiveRecord: 2.6ms)
|
24907
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
24908
|
+
[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"]]
|
24909
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
24910
|
+
[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"]]
|
24911
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24912
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00]]
|
24913
|
+
[1m[36m (0.2ms)[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
|
24914
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24915
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24916
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24917
|
+
[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
|
24918
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24919
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00]]
|
24920
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24921
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
24922
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24923
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24924
|
+
[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'
|
24925
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24926
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24927
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24928
|
+
[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'
|
24929
|
+
[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24930
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24931
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24932
|
+
[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"]]
|
24933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24934
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24935
|
+
[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
|
24936
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24937
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24938
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24939
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24940
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24941
|
+
[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"]]
|
24942
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24943
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24944
|
+
[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'
|
24945
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24946
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24947
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24948
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24949
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
24950
|
+
[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"]]
|
24951
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
24952
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24953
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24954
|
+
[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'
|
24955
|
+
[1m[36mSQL (0.4ms)[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24956
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24957
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24958
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24959
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24960
|
+
[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"]]
|
24961
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24962
|
+
[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"]]
|
24963
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
24964
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24965
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24966
|
+
[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'
|
24967
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24968
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24970
|
+
[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'
|
24971
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24972
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24973
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24974
|
+
[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"]]
|
24975
|
+
[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"]]
|
24976
|
+
[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"]]
|
24977
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24978
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24979
|
+
[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
|
24980
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
24981
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24983
|
+
[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
|
24984
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
24985
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24986
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24987
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
|
24988
|
+
[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"]]
|
24989
|
+
[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"]]
|
24990
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24991
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24992
|
+
[1m[35m (0.1ms)[0m commit transaction
|
24993
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
24994
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
24995
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
24996
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
24997
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
24998
|
+
[1m[35m (0.1ms)[0m begin transaction
|
24999
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
25000
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
25001
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
25002
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25003
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25004
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25005
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25006
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25007
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25008
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25010
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
|
25011
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25012
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25013
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10[0m [["updated_at", Sun, 16 Mar 2014 20:16:00 UTC +00:00]]
|
25014
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25015
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
25016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25017
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00]]
|
25018
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
25019
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
25020
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25021
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25022
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00]]
|
25023
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25024
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
25025
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
25026
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
25027
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25028
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00]]
|
25029
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25030
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25031
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
25032
|
+
[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
25033
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00]]
|
25034
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25035
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
25036
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
25037
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
25038
|
+
[1m[36m (0.5ms)[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
|
25039
|
+
[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)
|
25040
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")[0m
|
25041
|
+
[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)
|
25042
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")[0m
|
25043
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
|
25044
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25045
|
+
[1m[35mSQL (2.7ms)[0m INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25046
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25047
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits"
|
25048
|
+
Processing by AuditsController#audit as HTML
|
25049
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25051
|
+
[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
|
25052
|
+
[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", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25053
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1[0m [["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 1\n"]]
|
25054
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25055
|
+
Rendered text template (0.0ms)
|
25056
|
+
Completed 200 OK in 47ms (Views: 4.5ms | ActiveRecord: 1.4ms)
|
25057
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits"[0m
|
25058
|
+
[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"]]
|
25059
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 1]]
|
25060
|
+
[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"]]
|
25061
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25062
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25063
|
+
[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
|
25064
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 2\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25065
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25066
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25067
|
+
[1m[36m (0.2ms)[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
|
25068
|
+
[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", "update"], ["auditable_id", 2], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
25069
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25070
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25071
|
+
[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", 2], ["auditable_type", "GeneralModel"]]
|
25072
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25073
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25074
|
+
[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'
|
25075
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25076
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25077
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25078
|
+
[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'
|
25079
|
+
[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", "update"], ["auditable_id", 3], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
25080
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 3 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25081
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25082
|
+
[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"]]
|
25083
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25084
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25085
|
+
[1m[36m (35.7ms)[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
|
25086
|
+
[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", "---\n:name:\n- \n- MyString\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25087
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25088
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25089
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25090
|
+
[1m[35m (0.0ms)[0m commit transaction
|
25091
|
+
[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"]]
|
25092
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25093
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25094
|
+
[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'
|
25095
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 5\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25096
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25097
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25098
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25099
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
25100
|
+
[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"]]
|
25101
|
+
[1m[36mEspinita::Audit Load (0.2ms)[0m [1mSELECT "espinita_audits".* FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? ORDER BY "espinita_audits"."id" ASC LIMIT 1[0m [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
|
25102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25103
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25104
|
+
[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'
|
25105
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 6\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25106
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25108
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25109
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
25110
|
+
[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"]]
|
25111
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
25112
|
+
[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"]]
|
25113
|
+
[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", 6], ["auditable_type", "GeneralModel"]]
|
25114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25115
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25116
|
+
[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'
|
25117
|
+
[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", "---\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 7\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25118
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25120
|
+
[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'
|
25121
|
+
[1m[36mSQL (0.3ms)[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", 7], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
25122
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25123
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25124
|
+
[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"]]
|
25125
|
+
[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"]]
|
25126
|
+
[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"]]
|
25127
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25128
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25129
|
+
[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
|
25130
|
+
[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", 8], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 8\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 1]]
|
25131
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25132
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25133
|
+
[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
|
25134
|
+
[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", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 1], ["user_type", "User"], ["version", 2]]
|
25135
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25136
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25137
|
+
[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"]]
|
25138
|
+
[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"]]
|
25139
|
+
[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"]]
|
25140
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25141
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["email", "john@afferson.com"], ["last_name", "Afferson"], ["name", "John"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25142
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25143
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25144
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25145
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
25146
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 9\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
25147
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25148
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25149
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
25150
|
+
[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", 9], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 2]]
|
25151
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25152
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25153
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25154
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25155
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25156
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25157
|
+
[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", 9], ["auditable_type", "GeneralModel"]]
|
25158
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
|
25159
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25160
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25161
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25163
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10[0m [["updated_at", Sun, 16 Mar 2014 20:18:10 UTC +00:00]]
|
25164
|
+
[1m[35m (0.0ms)[0m commit transaction
|
25165
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
|
25166
|
+
[1m[35m (0.1ms)[0m begin transaction
|
25167
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25168
|
+
[1m[35m (0.1ms)[0m SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
|
25169
|
+
[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", 11], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- \n- MyString\n:settings:\n- \n- MyText\n:position:\n- \n- 1\n:id:\n- \n- 11\n"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
25170
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25171
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25172
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25173
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25174
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
|
25175
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
25176
|
+
[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", 11], ["auditable_type", "GeneralModel"]]
|
25177
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
25178
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["name", "MyString"], ["position", 1], ["settings", "MyText"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25179
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
25180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
25181
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'[0m
|
25182
|
+
[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", 12], ["auditable_type", "GeneralModel"], ["audited_changes", "---\n:name:\n- MyString\n- Foo\n"], ["comment", "Some comment"], ["created_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["remote_address", "0.0.0.0"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00], ["user_id", 2], ["user_type", "User"], ["version", 1]]
|
25183
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12[0m [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
|
25184
|
+
[1m[35m (0.1ms)[0m commit transaction
|
25185
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ?[0m [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
|
25186
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|
25187
|
+
[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", 12], ["auditable_type", "GeneralModel"]]
|