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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 100decf1261e0523d0eee544dbf74aec61e1fb7a
4
- data.tar.gz: b35f69df914a6ec14c157086ca054b3a68a864e8
3
+ metadata.gz: e14c5dbe58f9363473f54de98e6616ee86830fb1
4
+ data.tar.gz: 8a1206ef135d260b4307308ae753806e322b0171
5
5
  SHA512:
6
- metadata.gz: 081db585299397209c8d384354a73dd0c18c02b6fc0aaf561300a81a1ac0bee72c092a21dc521c78e0281525ea4863c4d98a836ccd5f9ace8db672b86d037709
7
- data.tar.gz: c1344a568f58d97d2320256eb055634c6e8b2c5824c0afd2305f0e2a77d90643a9eeedc5e089803fd8a922d11af8a68219b0300af110e9f6fc56b62475ad311f
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
@@ -62,7 +62,7 @@ module Espinita
62
62
  end
63
63
 
64
64
  def audited_hash
65
- Hash[ audited_attributes.map{|o| [o.to_sym, self.send(o.to_sym)] } ]
65
+ Hash[ audited_attributes.map{|o| [o.to_sym, self.changes[o.to_sym] ] } ]
66
66
  end
67
67
 
68
68
 
@@ -1,3 +1,3 @@
1
1
  module Espinita
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
@@ -23577,3 +23577,1611 @@ Completed 200 OK in 78ms (Views: 4.4ms | ActiveRecord: 1.4ms)
23577
23577
   (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
23578
23578
  Espinita::Audit Load (0.1ms) 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
  Espinita::Audit Load (0.1ms) 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"]]
23580
+  (0.6ms) CREATE 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) 
23581
+  (0.3ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
23583
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
23585
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
23586
+  (0.1ms) begin transaction
23587
+ SQL (27.7ms) 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
+  (0.1ms) commit transaction
23589
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23590
+ Processing by AuditsController#audit as HTML
23591
+  (0.1ms) begin transaction
23592
+ SQL (0.3ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23594
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
23597
+ Rendered text template (0.0ms)
23598
+ Completed 200 OK in 78ms (Views: 4.6ms | ActiveRecord: 1.4ms)
23599
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23600
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
23602
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23604
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23606
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23608
+  (0.1ms) begin transaction
23609
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23610
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
23612
+  (0.1ms) commit transaction
23613
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
23614
+  (0.1ms) begin transaction
23615
+ SQL (0.2ms) 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]]
23616
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23617
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
23619
+  (0.1ms) begin transaction
23620
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23621
+ SQL (0.3ms) 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", 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23624
+  (0.2ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
23625
+  (0.1ms) begin transaction
23626
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23628
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23630
+  (0.1ms) begin transaction
23631
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
23632
+  (0.1ms) commit transaction
23633
+ Espinita::Audit Load (0.1ms) 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"]]
23634
+  (0.1ms) begin transaction
23635
+ SQL (0.2ms) 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]]
23636
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23637
+ SQL (0.3ms) 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: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
+  (0.1ms) commit transaction
23639
+  (0.1ms) begin transaction
23640
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23642
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
23643
+ Espinita::Audit Load (0.2ms) 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"]]
23644
+  (0.1ms) begin transaction
23645
+ SQL (0.2ms) 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]]
23646
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23647
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
23649
+  (0.1ms) begin transaction
23650
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23651
+ SQL (0.3ms) 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: 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
23654
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
23655
+ Espinita::Audit Load (0.1ms) 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"]]
23656
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23658
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23660
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23662
+  (0.1ms) begin transaction
23663
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23664
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
23666
+  (0.1ms) commit transaction
23667
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
23668
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23670
+  (0.1ms) begin transaction
23671
+ SQL (0.4ms) 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]]
23672
+  (0.1ms) commit transaction
23673
+  (0.1ms) begin transaction
23674
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23676
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23678
+  (0.1ms) begin transaction
23679
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23680
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
23682
+  (0.1ms) commit transaction
23683
+ Espinita::Audit Load (0.1ms) 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"]]
23684
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23685
+ Espinita::Audit Load (0.1ms) 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"]]
23686
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23687
+ Espinita::Audit Load (0.1ms) 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"]]
23688
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23689
+  (0.1ms) begin transaction
23690
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23692
+  (0.0ms) begin transaction
23693
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9 [["updated_at", Sun, 16 Mar 2014 20:04:18 UTC +00:00]]
23694
+  (0.1ms) commit transaction
23695
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
23696
+  (0.1ms) begin transaction
23697
+ SQL (0.3ms) 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]]
23698
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23699
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
23701
+  (0.0ms) begin transaction
23702
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
23704
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
23705
+ Espinita::Audit Load (0.1ms) 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"]]
23706
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23708
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23710
+  (0.1ms) begin transaction
23711
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23712
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:18 UTC +00:00]]
23714
+  (0.1ms) commit transaction
23715
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
23716
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23718
+  (0.5ms) CREATE 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) 
23719
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
23721
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
23723
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
23724
+  (0.1ms) begin transaction
23725
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
23727
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23728
+ Processing by AuditsController#audit as HTML
23729
+  (0.1ms) begin transaction
23730
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23732
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
23735
+ Rendered text template (0.0ms)
23736
+ Completed 200 OK in 78ms (Views: 4.6ms | ActiveRecord: 1.5ms)
23737
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23738
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
23740
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23742
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23744
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23746
+  (0.1ms) begin transaction
23747
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23748
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
23750
+  (0.1ms) commit transaction
23751
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
23752
+  (0.1ms) begin transaction
23753
+ SQL (0.2ms) 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]]
23754
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23755
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
23757
+  (0.1ms) begin transaction
23758
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
23760
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23762
+ SQL (0.4ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23764
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23766
+  (0.1ms) begin transaction
23767
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
23768
+  (0.1ms) commit transaction
23769
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 4], ["auditable_type", "GeneralModel"]]
23770
+ Espinita::Audit Load (0.2ms) 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
+  (0.1ms) begin transaction
23772
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23774
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23776
+  (0.1ms) begin transaction
23777
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23778
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
23780
+  (0.1ms) commit transaction
23781
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
23782
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23784
+  (0.1ms) begin transaction
23785
+ SQL (0.3ms) 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]]
23786
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23787
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
23789
+  (0.1ms) begin transaction
23790
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23791
+ SQL (0.3ms) 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: 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23794
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
23795
+ Espinita::Audit Load (0.1ms) 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"]]
23796
+ Espinita::Audit Load (0.1ms) 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
+  (0.2ms) begin transaction
23798
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
23800
+  (0.1ms) begin transaction
23801
+ SQL (0.3ms) 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]]
23802
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23803
+ SQL (0.3ms) 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: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
+  (0.1ms) commit transaction
23805
+  (0.1ms) begin transaction
23806
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23807
+ SQL (0.3ms) 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: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
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
23810
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23812
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23814
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23816
+  (0.1ms) begin transaction
23817
+ SQL (0.3ms) 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]]
23818
+  (0.1ms) commit transaction
23819
+  (0.1ms) begin transaction
23820
+ SQL (0.3ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 8 [["updated_at", Sun, 16 Mar 2014 20:04:42 UTC +00:00]]
23821
+  (0.1ms) commit transaction
23822
+  (0.2ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
23823
+  (0.2ms) begin transaction
23824
+ SQL (0.4ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23826
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
23828
+  (0.1ms) begin transaction
23829
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:04:42 UTC +00:00]]
23830
+  (0.1ms) commit transaction
23831
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
23832
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23834
+  (0.1ms) begin transaction
23835
+ SQL (0.3ms) 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]]
23836
+  (0.1ms) commit transaction
23837
+  (0.1ms) begin transaction
23838
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23839
+ SQL (0.3ms) 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", 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23842
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
23843
+ Espinita::Audit Load (0.1ms) 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"]]
23844
+ Espinita::Audit Load (0.1ms) 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
+  (0.5ms) CREATE 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) 
23846
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
23848
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
23850
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
23851
+  (0.1ms) begin transaction
23852
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
23854
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23855
+ Processing by AuditsController#audit as HTML
23856
+  (0.1ms) begin transaction
23857
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23859
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
23862
+ Rendered text template (0.0ms)
23863
+ Completed 200 OK in 48ms (Views: 4.8ms | ActiveRecord: 1.4ms)
23864
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23865
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
23867
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23869
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23871
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23873
+  (0.1ms) begin transaction
23874
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23875
+ SQL (0.2ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:06 UTC +00:00]]
23877
+  (0.1ms) commit transaction
23878
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
23879
+  (0.1ms) begin transaction
23880
+ SQL (0.3ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23882
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
23884
+  (0.1ms) begin transaction
23885
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23886
+ SQL (0.3ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
23889
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.2ms) 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"]]
23891
+  (0.2ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
23892
+  (0.1ms) begin transaction
23893
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23895
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23897
+  (0.1ms) begin transaction
23898
+ SQL (0.4ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
23899
+  (0.1ms) commit transaction
23900
+ Espinita::Audit Load (0.2ms) 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"]]
23901
+  (0.1ms) begin transaction
23902
+ SQL (0.3ms) 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]]
23903
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23904
+ SQL (0.4ms) 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: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
+  (0.1ms) commit transaction
23906
+  (0.1ms) begin transaction
23907
+ SQL (0.4ms) 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
+  (0.1ms) commit transaction
23909
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
23910
+ Espinita::Audit Load (0.2ms) 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"]]
23911
+  (0.1ms) begin transaction
23912
+ SQL (0.2ms) 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]]
23913
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23914
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
23916
+  (0.1ms) begin transaction
23917
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23918
+ SQL (0.4ms) 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: 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
23921
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
23922
+ Espinita::Audit Load (0.1ms) 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"]]
23923
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
23925
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23927
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23929
+  (0.1ms) begin transaction
23930
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23931
+ SQL (0.2ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
23933
+  (0.1ms) commit transaction
23934
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
23935
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23937
+  (0.1ms) begin transaction
23938
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) commit transaction
23940
+  (0.0ms) begin transaction
23941
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23943
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23945
+  (0.1ms) begin transaction
23946
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23947
+ SQL (0.4ms) 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
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
23949
+  (0.1ms) commit transaction
23950
+ Espinita::Audit Load (0.1ms) 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"]]
23951
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23952
+ Espinita::Audit Load (0.1ms) 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"]]
23953
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23954
+ Espinita::Audit Load (0.1ms) 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"]]
23955
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
23956
+  (0.1ms) begin transaction
23957
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
23959
+  (0.1ms) begin transaction
23960
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9 [["updated_at", Sun, 16 Mar 2014 20:05:55 UTC +00:00]]
23961
+  (0.1ms) commit transaction
23962
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
23963
+  (0.1ms) begin transaction
23964
+ SQL (0.2ms) 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]]
23965
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23966
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
23968
+  (0.1ms) begin transaction
23969
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
23971
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
23972
+ Espinita::Audit Load (0.1ms) 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"]]
23973
+ Espinita::Audit Load (0.0ms) 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
+  (0.1ms) begin transaction
23975
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
23977
+  (0.0ms) begin transaction
23978
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23979
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:05:55 UTC +00:00]]
23981
+  (0.1ms) commit transaction
23982
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
23983
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
23985
+  (0.7ms) CREATE 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) 
23986
+  (0.3ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
23988
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
23990
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
23991
+  (0.1ms) begin transaction
23992
+ SQL (3.1ms) 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
+  (0.1ms) commit transaction
23994
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
23995
+ Processing by AuditsController#audit as HTML
23996
+  (0.1ms) begin transaction
23997
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
23999
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24002
+ Rendered text template (0.1ms)
24003
+ Completed 200 OK in 139812ms (Views: 5.3ms | ActiveRecord: 1.5ms)
24004
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24005
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24007
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24009
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24011
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24013
+  (0.1ms) begin transaction
24014
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24015
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:22 UTC +00:00]]
24017
+  (0.1ms) commit transaction
24018
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24019
+  (0.1ms) begin transaction
24020
+ SQL (0.3ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24022
+ SQL (0.4ms) 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", 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
+  (0.1ms) commit transaction
24024
+  (0.1ms) begin transaction
24025
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24026
+ SQL (0.3ms) 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", 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24029
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24030
+  (0.1ms) begin transaction
24031
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24033
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24035
+  (0.1ms) begin transaction
24036
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:27 UTC +00:00]]
24037
+  (0.1ms) commit transaction
24038
+ Espinita::Audit Load (0.1ms) 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"]]
24039
+  (0.1ms) begin transaction
24040
+ SQL (0.3ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24042
+ SQL (0.3ms) 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: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
+  (0.1ms) commit transaction
24044
+  (0.1ms) begin transaction
24045
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24047
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24048
+ Espinita::Audit Load (0.2ms) 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"]]
24049
+  (0.1ms) begin transaction
24050
+ SQL (0.2ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24052
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
24054
+  (0.1ms) begin transaction
24055
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24056
+ SQL (0.4ms) 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: 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24059
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
24060
+ Espinita::Audit Load (0.1ms) 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"]]
24061
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24063
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24065
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24067
+  (0.1ms) begin transaction
24068
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24069
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:29 UTC +00:00]]
24071
+  (0.1ms) commit transaction
24072
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24073
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24075
+  (0.1ms) begin transaction
24076
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) commit transaction
24078
+  (0.0ms) begin transaction
24079
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24081
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24083
+  (0.1ms) begin transaction
24084
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24085
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:30 UTC +00:00]]
24087
+  (0.1ms) commit transaction
24088
+ Espinita::Audit Load (0.1ms) 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"]]
24089
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24090
+ Espinita::Audit Load (0.1ms) 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"]]
24091
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24092
+ Espinita::Audit Load (0.1ms) 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"]]
24093
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24094
+  (0.1ms) begin transaction
24095
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24097
+  (0.0ms) begin transaction
24098
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9 [["updated_at", Sun, 16 Mar 2014 20:08:30 UTC +00:00]]
24099
+  (0.1ms) commit transaction
24100
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
24101
+  (0.1ms) begin transaction
24102
+ SQL (0.2ms) 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]]
24103
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24104
+ SQL (0.2ms) 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: 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
+  (0.1ms) commit transaction
24106
+  (0.0ms) begin transaction
24107
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
24109
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24110
+ Espinita::Audit Load (0.1ms) 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"]]
24111
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24113
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24115
+  (0.0ms) begin transaction
24116
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24117
+ SQL (0.4ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:31 UTC +00:00]]
24119
+  (0.1ms) commit transaction
24120
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24121
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24123
+  (0.5ms) CREATE 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) 
24124
+  (0.1ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24126
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24128
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24129
+  (0.1ms) begin transaction
24130
+ SQL (2.6ms) 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
+  (0.1ms) commit transaction
24132
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24133
+ Processing by AuditsController#audit as HTML
24134
+  (0.1ms) begin transaction
24135
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24137
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24140
+ Rendered text template (0.0ms)
24141
+ Completed 200 OK in 5844ms (Views: 4.6ms | ActiveRecord: 1.4ms)
24142
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24143
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24145
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24147
+ SQL (0.3ms) 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
+  (0.7ms) CREATE 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) 
24149
+  (0.3ms) 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
+  (0.3ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24151
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24153
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24154
+  (0.1ms) begin transaction
24155
+ SQL (3.5ms) 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
+  (0.1ms) commit transaction
24157
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24158
+ Processing by AuditsController#audit as HTML
24159
+  (0.1ms) begin transaction
24160
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24162
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24165
+ Rendered text template (0.0ms)
24166
+ Completed 200 OK in 48ms (Views: 4.5ms | ActiveRecord: 1.4ms)
24167
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24168
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24170
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24172
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24174
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24176
+  (0.1ms) begin transaction
24177
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24178
+ SQL (0.2ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:08:46 UTC +00:00]]
24180
+  (0.1ms) commit transaction
24181
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24182
+  (0.1ms) begin transaction
24183
+ SQL (0.3ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24185
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24187
+  (0.1ms) begin transaction
24188
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24189
+ SQL (0.3ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24192
+ Espinita::Audit Load (0.1ms) 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
+  (0.2ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24194
+  (0.1ms) begin transaction
24195
+ SQL (0.3ms) 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]]
24196
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24197
+ SQL (0.4ms) 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: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
+  (0.1ms) commit transaction
24199
+  (0.1ms) begin transaction
24200
+ SQL (0.4ms) 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
+  (0.1ms) commit transaction
24202
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24204
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24206
+ SQL (0.2ms) 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
+  (0.2ms) commit transaction
24208
+  (0.1ms) begin transaction
24209
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 5 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
24210
+  (0.1ms) commit transaction
24211
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24212
+ Espinita::Audit Load (0.2ms) 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
+  (0.1ms) begin transaction
24214
+ SQL (0.2ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24216
+ SQL (0.4ms) 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
+  (0.1ms) commit transaction
24218
+  (0.1ms) begin transaction
24219
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24220
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 6 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
24222
+  (0.1ms) commit transaction
24223
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 6], ["auditable_type", "GeneralModel"]]
24224
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24226
+  (0.1ms) begin transaction
24227
+ SQL (0.2ms) 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]]
24228
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24229
+ SQL (0.2ms) 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:\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
+  (0.1ms) commit transaction
24231
+  (0.1ms) begin transaction
24232
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24233
+ SQL (0.2ms) 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: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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24236
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24237
+ Espinita::Audit Load (0.1ms) 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"]]
24238
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24240
+ SQL (0.4ms) 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
+  (0.1ms) commit transaction
24242
+  (0.1ms) begin transaction
24243
+ SQL (0.4ms) 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]]
24244
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24245
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24247
+  (0.1ms) begin transaction
24248
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24249
+ SQL (0.3ms) 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: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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24252
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24254
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24256
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24258
+  (0.1ms) begin transaction
24259
+ SQL (0.3ms) 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]]
24260
+  (0.1ms) commit transaction
24261
+  (0.0ms) begin transaction
24262
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 9 [["updated_at", Sun, 16 Mar 2014 20:11:03 UTC +00:00]]
24263
+  (0.1ms) commit transaction
24264
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 9], ["auditable_type", "GeneralModel"]]
24265
+  (0.1ms) begin transaction
24266
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 10 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24268
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24270
+  (0.1ms) begin transaction
24271
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 10 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:03 UTC +00:00]]
24272
+  (0.1ms) commit transaction
24273
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24274
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24276
+  (0.1ms) begin transaction
24277
+ SQL (0.2ms) 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]]
24278
+  (0.1ms) commit transaction
24279
+  (0.0ms) begin transaction
24280
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24281
+ SQL (0.3ms) 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:\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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24284
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24285
+ Espinita::Audit Load (0.1ms) 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"]]
24286
+ Espinita::Audit Load (0.1ms) 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
+  (0.4ms) CREATE 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) 
24288
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24290
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24292
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24293
+  (0.1ms) begin transaction
24294
+ SQL (4.6ms) 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
+  (0.1ms) commit transaction
24296
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24297
+ Processing by AuditsController#audit as HTML
24298
+  (0.1ms) begin transaction
24299
+ SQL (0.3ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24301
+ SQL (0.5ms) 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
+ SQL (0.4ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24304
+ Rendered text template (0.1ms)
24305
+ Completed 200 OK in 61ms (Views: 7.9ms | ActiveRecord: 1.8ms)
24306
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24307
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24309
+ Espinita::Audit Load (0.2ms) 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
+  (0.1ms) begin transaction
24311
+ SQL (0.4ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24313
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24315
+  (0.1ms) begin transaction
24316
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24317
+ SQL (0.4ms) 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
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:07 UTC +00:00]]
24319
+  (0.1ms) commit transaction
24320
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24321
+  (0.1ms) begin transaction
24322
+ SQL (0.2ms) 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]]
24323
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24324
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24326
+  (0.1ms) begin transaction
24327
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24328
+ SQL (0.3ms) 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", 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24331
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24332
+  (0.1ms) begin transaction
24333
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24335
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24337
+  (0.1ms) begin transaction
24338
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:11:11 UTC +00:00]]
24339
+  (0.1ms) commit transaction
24340
+ Espinita::Audit Load (0.1ms) 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"]]
24341
+  (0.1ms) begin transaction
24342
+ SQL (0.4ms) 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]]
24343
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24344
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24346
+  (0.1ms) begin transaction
24347
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24349
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24350
+ Espinita::Audit Load (0.4ms) 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"]]
24351
+  (0.1ms) begin transaction
24352
+ SQL (0.2ms) INSERT INTO "general_models" ("created_at", "name", "position", "settings", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24354
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24356
+  (0.1ms) begin transaction
24357
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24359
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24361
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24363
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24365
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24367
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24369
+ Espinita::Audit Load (0.2ms) 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
+  (0.1ms) begin transaction
24371
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24373
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24375
+  (0.1ms) begin transaction
24376
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24377
+ SQL (0.4ms) 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
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 7 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
24379
+  (0.1ms) commit transaction
24380
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24381
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24383
+  (0.1ms) begin transaction
24384
+ SQL (0.3ms) 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]]
24385
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24386
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24388
+  (0.1ms) begin transaction
24389
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24390
+ SQL (0.3ms) 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: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
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24393
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
24394
+ Espinita::Audit Load (0.1ms) 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"]]
24395
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24397
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24399
+  (0.1ms) begin transaction
24400
+ SQL (0.3ms) 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]]
24401
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24402
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24404
+  (0.1ms) begin transaction
24405
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24406
+ SQL (0.3ms) 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: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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24409
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24411
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24413
+ Espinita::Audit Load (0.1ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24415
+  (0.1ms) begin transaction
24416
+ SQL (0.4ms) 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]]
24417
+  (0.1ms) commit transaction
24418
+  (0.0ms) begin transaction
24419
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:14:26 UTC +00:00]]
24420
+  (0.1ms) commit transaction
24421
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24422
+  (0.1ms) begin transaction
24423
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24425
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24427
+  (0.1ms) begin transaction
24428
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 11 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:26 UTC +00:00]]
24429
+  (0.0ms) commit transaction
24430
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24431
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24433
+  (0.1ms) begin transaction
24434
+ SQL (0.2ms) 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]]
24435
+  (0.1ms) commit transaction
24436
+  (0.1ms) begin transaction
24437
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24438
+ SQL (0.3ms) 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: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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24441
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
24442
+ Espinita::Audit Load (0.2ms) 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"]]
24443
+ Espinita::Audit Load (0.1ms) 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
+  (0.5ms) CREATE 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) 
24445
+  (0.1ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24447
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24449
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24450
+  (0.1ms) begin transaction
24451
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
24453
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24454
+ Processing by AuditsController#audit as HTML
24455
+  (0.1ms) begin transaction
24456
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24458
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24461
+ Rendered text template (0.0ms)
24462
+ Completed 200 OK in 47ms (Views: 4.7ms | ActiveRecord: 1.4ms)
24463
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24464
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24466
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24468
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24470
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24472
+  (0.1ms) begin transaction
24473
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24474
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:30 UTC +00:00]]
24476
+  (0.1ms) commit transaction
24477
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24478
+  (0.1ms) begin transaction
24479
+ SQL (0.2ms) 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]]
24480
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24481
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24483
+  (0.1ms) begin transaction
24484
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24485
+ SQL (0.2ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24488
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24489
+  (0.1ms) begin transaction
24490
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24492
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24494
+  (0.1ms) begin transaction
24495
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
24496
+  (0.1ms) commit transaction
24497
+ Espinita::Audit Load (0.1ms) 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"]]
24498
+  (0.1ms) begin transaction
24499
+ SQL (0.3ms) 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]]
24500
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24501
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24503
+  (0.1ms) begin transaction
24504
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
24506
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24507
+ Espinita::Audit Load (0.3ms) 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"]]
24508
+  (0.1ms) begin transaction
24509
+ SQL (0.3ms) 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]]
24510
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24511
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24513
+  (0.1ms) begin transaction
24514
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
24516
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24518
+  (0.1ms) begin transaction
24519
+ SQL (0.2ms) 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]]
24520
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24521
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24523
+  (0.1ms) begin transaction
24524
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24525
+ SQL (0.3ms) 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: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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24528
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24529
+ Espinita::Audit Load (0.1ms) 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"]]
24530
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24532
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24534
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24536
+  (0.1ms) begin transaction
24537
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24538
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
24540
+  (0.1ms) commit transaction
24541
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
24542
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24544
+  (0.1ms) begin transaction
24545
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) commit transaction
24547
+  (0.0ms) begin transaction
24548
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24550
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24552
+  (0.1ms) begin transaction
24553
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24554
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
24556
+  (0.1ms) commit transaction
24557
+ Espinita::Audit Load (0.1ms) 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"]]
24558
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24559
+ Espinita::Audit Load (0.1ms) 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"]]
24560
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24561
+ Espinita::Audit Load (0.1ms) 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"]]
24562
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24563
+  (0.1ms) begin transaction
24564
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24566
+  (0.0ms) begin transaction
24567
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:14:33 UTC +00:00]]
24568
+  (0.0ms) commit transaction
24569
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24570
+  (0.1ms) begin transaction
24571
+ SQL (0.2ms) 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]]
24572
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24573
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24575
+  (0.0ms) begin transaction
24576
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24578
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24579
+ Espinita::Audit Load (0.1ms) 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"]]
24580
+ Espinita::Audit Load (0.1ms) 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
+  (0.2ms) begin transaction
24582
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24584
+  (0.0ms) begin transaction
24585
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24586
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:33 UTC +00:00]]
24588
+  (0.1ms) commit transaction
24589
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
24590
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24592
+  (0.5ms) CREATE 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) 
24593
+  (0.2ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24595
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24597
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24598
+  (0.1ms) begin transaction
24599
+ SQL (2.6ms) 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
+  (0.1ms) commit transaction
24601
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24602
+ Processing by AuditsController#audit as HTML
24603
+  (0.1ms) begin transaction
24604
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24606
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24609
+ Rendered text template (0.0ms)
24610
+ Completed 200 OK in 52ms (Views: 4.5ms | ActiveRecord: 1.5ms)
24611
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24612
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24614
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24616
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24618
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24620
+  (0.1ms) begin transaction
24621
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24622
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:47 UTC +00:00]]
24624
+  (0.1ms) commit transaction
24625
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24626
+  (0.1ms) begin transaction
24627
+ SQL (0.2ms) 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]]
24628
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24629
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24631
+  (0.1ms) begin transaction
24632
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24633
+ SQL (0.2ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24636
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24637
+  (0.1ms) begin transaction
24638
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24640
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24642
+  (0.1ms) begin transaction
24643
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
24644
+  (0.1ms) commit transaction
24645
+ Espinita::Audit Load (0.1ms) 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"]]
24646
+  (0.1ms) begin transaction
24647
+ SQL (0.3ms) 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]]
24648
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24649
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24651
+  (0.1ms) begin transaction
24652
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24654
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24655
+ Espinita::Audit Load (0.2ms) 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"]]
24656
+  (0.1ms) begin transaction
24657
+ SQL (0.3ms) 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]]
24658
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24659
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24661
+  (0.1ms) begin transaction
24662
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24664
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24666
+  (0.1ms) begin transaction
24667
+ SQL (0.3ms) 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]]
24668
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24669
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24671
+  (0.1ms) begin transaction
24672
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24673
+ SQL (0.3ms) 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: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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24676
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24677
+ Espinita::Audit Load (0.1ms) 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"]]
24678
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24680
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24682
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24684
+  (0.1ms) begin transaction
24685
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24686
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
24688
+  (0.1ms) commit transaction
24689
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
24690
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24692
+  (0.1ms) begin transaction
24693
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) commit transaction
24695
+  (0.0ms) begin transaction
24696
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24698
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24700
+  (0.1ms) begin transaction
24701
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24702
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
24704
+  (0.1ms) commit transaction
24705
+ Espinita::Audit Load (0.1ms) 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"]]
24706
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24707
+ Espinita::Audit Load (0.1ms) 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"]]
24708
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24709
+ Espinita::Audit Load (0.1ms) 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"]]
24710
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24711
+  (0.1ms) begin transaction
24712
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24714
+  (0.0ms) begin transaction
24715
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:14:53 UTC +00:00]]
24716
+  (0.1ms) commit transaction
24717
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24718
+  (0.1ms) begin transaction
24719
+ SQL (0.2ms) 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]]
24720
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24721
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24723
+  (0.0ms) begin transaction
24724
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24726
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24727
+ Espinita::Audit Load (0.1ms) 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"]]
24728
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24730
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24732
+  (0.0ms) begin transaction
24733
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24734
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:14:53 UTC +00:00]]
24736
+  (0.1ms) commit transaction
24737
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
24738
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24740
+  (0.5ms) CREATE 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) 
24741
+  (0.2ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24743
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24745
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24746
+  (0.1ms) begin transaction
24747
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
24749
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24750
+ Processing by AuditsController#audit as HTML
24751
+  (0.1ms) begin transaction
24752
+ SQL (0.3ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24754
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24757
+ Rendered text template (0.0ms)
24758
+ Completed 200 OK in 48ms (Views: 4.6ms | ActiveRecord: 1.5ms)
24759
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24760
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24762
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24764
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24766
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24768
+  (0.1ms) begin transaction
24769
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24770
+ SQL (0.2ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:23 UTC +00:00]]
24772
+  (0.1ms) commit transaction
24773
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24774
+  (0.1ms) begin transaction
24775
+ SQL (0.3ms) 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]]
24776
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24777
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24779
+  (0.1ms) begin transaction
24780
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24781
+ SQL (0.3ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24784
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24785
+  (0.1ms) begin transaction
24786
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24788
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24790
+  (0.1ms) begin transaction
24791
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
24792
+  (0.0ms) commit transaction
24793
+ Espinita::Audit Load (0.1ms) 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"]]
24794
+  (0.1ms) begin transaction
24795
+ SQL (0.3ms) 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]]
24796
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24797
+ SQL (0.3ms) 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: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
+  (0.1ms) commit transaction
24799
+  (0.1ms) begin transaction
24800
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24802
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24803
+ Espinita::Audit Load (0.2ms) 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"]]
24804
+  (0.1ms) begin transaction
24805
+ SQL (0.3ms) 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]]
24806
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24807
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24809
+  (0.1ms) begin transaction
24810
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24812
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24814
+  (0.1ms) begin transaction
24815
+ SQL (0.3ms) 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]]
24816
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24817
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24819
+  (0.1ms) begin transaction
24820
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24821
+ SQL (0.3ms) 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: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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24824
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24825
+ Espinita::Audit Load (0.1ms) 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"]]
24826
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24828
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24830
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24832
+  (0.1ms) begin transaction
24833
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24834
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
24836
+  (0.1ms) commit transaction
24837
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
24838
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24840
+  (0.1ms) begin transaction
24841
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.0ms) commit transaction
24843
+  (0.0ms) begin transaction
24844
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24846
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24848
+  (0.1ms) begin transaction
24849
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24850
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
24852
+  (0.1ms) commit transaction
24853
+ Espinita::Audit Load (0.1ms) 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"]]
24854
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24855
+ Espinita::Audit Load (0.1ms) 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"]]
24856
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24857
+ Espinita::Audit Load (0.1ms) 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"]]
24858
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
24859
+  (0.1ms) begin transaction
24860
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24862
+  (0.0ms) begin transaction
24863
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:15:26 UTC +00:00]]
24864
+  (0.1ms) commit transaction
24865
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
24866
+  (0.1ms) begin transaction
24867
+ SQL (0.3ms) 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]]
24868
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24869
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24871
+  (0.0ms) begin transaction
24872
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
24874
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
24875
+ Espinita::Audit Load (0.1ms) 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"]]
24876
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24878
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24880
+  (0.0ms) begin transaction
24881
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24882
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:26 UTC +00:00]]
24884
+  (0.1ms) commit transaction
24885
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
24886
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24888
+  (0.5ms) CREATE 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) 
24889
+  (0.1ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
24891
+  (0.2ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
24893
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
24894
+  (0.1ms) begin transaction
24895
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
24897
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24898
+ Processing by AuditsController#audit as HTML
24899
+  (0.1ms) begin transaction
24900
+ SQL (0.4ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24902
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
24905
+ Rendered text template (0.1ms)
24906
+ Completed 200 OK in 67ms (Views: 7.5ms | ActiveRecord: 2.6ms)
24907
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
24908
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
24910
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24912
+ SQL (0.2ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24914
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24916
+  (0.1ms) begin transaction
24917
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24918
+ SQL (0.2ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:15:59 UTC +00:00]]
24920
+  (0.1ms) commit transaction
24921
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
24922
+  (0.1ms) begin transaction
24923
+ SQL (0.2ms) 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]]
24924
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24925
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
24927
+  (0.1ms) begin transaction
24928
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24929
+ SQL (0.2ms) 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", 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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24932
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
24933
+  (0.1ms) begin transaction
24934
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24936
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24938
+  (0.1ms) begin transaction
24939
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
24940
+  (0.1ms) commit transaction
24941
+ Espinita::Audit Load (0.1ms) 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"]]
24942
+  (0.1ms) begin transaction
24943
+ SQL (0.3ms) 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]]
24944
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24945
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24947
+  (0.1ms) begin transaction
24948
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
24950
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
24951
+ Espinita::Audit Load (0.2ms) 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"]]
24952
+  (0.1ms) begin transaction
24953
+ SQL (0.2ms) 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]]
24954
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24955
+ SQL (0.4ms) 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: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
+  (0.1ms) commit transaction
24957
+  (0.1ms) begin transaction
24958
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
24960
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24962
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24964
+  (0.1ms) begin transaction
24965
+ SQL (0.2ms) 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]]
24966
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24967
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
24969
+  (0.1ms) begin transaction
24970
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24971
+ SQL (0.3ms) 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: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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
24974
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
24975
+ Espinita::Audit Load (0.1ms) 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"]]
24976
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
24978
+ SQL (0.5ms) 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
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24980
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24982
+  (0.1ms) begin transaction
24983
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24984
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
24986
+  (0.1ms) commit transaction
24987
+  (0.2ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
24988
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
24990
+  (0.1ms) begin transaction
24991
+ SQL (0.2ms) INSERT INTO "users" ("created_at", "email", "last_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["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
+  (0.1ms) commit transaction
24993
+  (0.0ms) begin transaction
24994
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
24996
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
24998
+  (0.1ms) begin transaction
24999
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25000
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:00 UTC +00:00]]
25002
+  (0.1ms) commit transaction
25003
+ Espinita::Audit Load (0.1ms) 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"]]
25004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25005
+ Espinita::Audit Load (0.1ms) 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"]]
25006
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25007
+ Espinita::Audit Load (0.1ms) 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"]]
25008
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25009
+  (0.1ms) begin transaction
25010
+ SQL (0.4ms) 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
+  (0.1ms) commit transaction
25012
+  (0.1ms) begin transaction
25013
+ SQL (0.3ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:16:00 UTC +00:00]]
25014
+  (0.1ms) commit transaction
25015
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
25016
+  (0.1ms) begin transaction
25017
+ SQL (0.2ms) 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]]
25018
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25019
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
25021
+  (0.1ms) begin transaction
25022
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
25024
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
25025
+ Espinita::Audit Load (0.1ms) 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"]]
25026
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
25028
+ SQL (0.3ms) 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
+  (0.1ms) commit transaction
25030
+  (0.0ms) begin transaction
25031
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25032
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:16:01 UTC +00:00]]
25034
+  (0.1ms) commit transaction
25035
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
25036
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
25038
+  (0.5ms) CREATE 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) 
25039
+  (0.1ms) 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
+  (0.2ms) CREATE INDEX "index_general_models_on_user_id" ON "general_models" ("user_id")
25041
+  (0.1ms) 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
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_auditable_id_and_auditable_type" ON "espinita_audits" ("auditable_id", "auditable_type")
25043
+  (0.1ms) CREATE INDEX "index_espinita_audits_on_user_id_and_user_type" ON "espinita_audits" ("user_id", "user_type")
25044
+  (0.1ms) begin transaction
25045
+ SQL (2.7ms) 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
+  (0.1ms) commit transaction
25047
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
25048
+ Processing by AuditsController#audit as HTML
25049
+  (0.1ms) begin transaction
25050
+ SQL (0.3ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 1 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25052
+ SQL (0.3ms) 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
+ SQL (0.3ms) UPDATE "espinita_audits" SET "updated_at" = ?, "audited_changes" = ? WHERE "espinita_audits"."id" = 1 [["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
+  (0.1ms) commit transaction
25055
+ Rendered text template (0.0ms)
25056
+ Completed 200 OK in 47ms (Views: 4.5ms | ActiveRecord: 1.4ms)
25057
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits"
25058
+ Espinita::Audit Load (0.2ms) 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
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
25060
+ Espinita::Audit Load (0.2ms) 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
+  (0.1ms) begin transaction
25062
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25064
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25066
+  (0.1ms) begin transaction
25067
+  (0.2ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 2 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25068
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 2 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
25070
+  (0.1ms) commit transaction
25071
+ Espinita::Audit Load (0.1ms) 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", 2], ["auditable_type", "GeneralModel"]]
25072
+  (0.1ms) begin transaction
25073
+ SQL (0.3ms) 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]]
25074
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25075
+ SQL (0.2ms) 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", 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
+  (0.1ms) commit transaction
25077
+  (0.1ms) begin transaction
25078
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 3 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25079
+ SQL (0.2ms) 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", 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
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25082
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 3], ["auditable_type", "GeneralModel"]]
25083
+  (0.1ms) begin transaction
25084
+ SQL (0.4ms) 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
+  (35.7ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 4 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25086
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25088
+  (0.1ms) begin transaction
25089
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 4 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
25090
+  (0.0ms) commit transaction
25091
+ Espinita::Audit Load (0.1ms) 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"]]
25092
+  (0.1ms) begin transaction
25093
+ SQL (0.3ms) 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]]
25094
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 5 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25095
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
25097
+  (0.1ms) begin transaction
25098
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
25100
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 5], ["auditable_type", "GeneralModel"]]
25101
+ Espinita::Audit Load (0.2ms) 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"]]
25102
+  (0.1ms) begin transaction
25103
+ SQL (0.2ms) 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]]
25104
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 6 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25105
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
25107
+  (0.1ms) begin transaction
25108
+ SQL (0.2ms) 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
+  (0.0ms) commit transaction
25110
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
25112
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
25114
+  (0.1ms) begin transaction
25115
+ SQL (0.4ms) 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]]
25116
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25117
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
25119
+  (0.1ms) begin transaction
25120
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 7 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25121
+ SQL (0.3ms) 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: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
+ SQL (0.1ms) 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
+  (0.1ms) commit transaction
25124
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 7], ["auditable_type", "GeneralModel"]]
25125
+ Espinita::Audit Load (0.1ms) 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"]]
25126
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
25128
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25130
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25132
+  (0.1ms) begin transaction
25133
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 8 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25134
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 8 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
25136
+  (0.1ms) commit transaction
25137
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 8], ["auditable_type", "GeneralModel"]]
25138
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]
25140
+  (0.1ms) begin transaction
25141
+ SQL (0.2ms) 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]]
25142
+  (0.1ms) commit transaction
25143
+  (0.0ms) begin transaction
25144
+ SQL (0.2ms) 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
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25146
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25148
+  (0.1ms) begin transaction
25149
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 9 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25150
+ SQL (0.3ms) 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
+ SQL (0.1ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 9 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
25152
+  (0.1ms) commit transaction
25153
+ Espinita::Audit Load (0.1ms) 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"]]
25154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25155
+ Espinita::Audit Load (0.1ms) 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"]]
25156
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25157
+ Espinita::Audit Load (0.1ms) 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"]]
25158
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 2]]
25159
+  (0.1ms) begin transaction
25160
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25162
+  (0.0ms) begin transaction
25163
+ SQL (0.2ms) UPDATE "general_models" SET "updated_at" = ? WHERE "general_models"."id" = 10 [["updated_at", Sun, 16 Mar 2014 20:18:10 UTC +00:00]]
25164
+  (0.0ms) commit transaction
25165
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 10], ["auditable_type", "GeneralModel"]]
25166
+  (0.1ms) begin transaction
25167
+ SQL (0.3ms) 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]]
25168
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 11 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25169
+ SQL (0.2ms) 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: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
+  (0.1ms) commit transaction
25171
+  (0.0ms) begin transaction
25172
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25174
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 11], ["auditable_type", "GeneralModel"]]
25175
+ Espinita::Audit Load (0.1ms) 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"]]
25176
+ Espinita::Audit Load (0.1ms) 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
+  (0.1ms) begin transaction
25178
+ SQL (0.2ms) 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
+  (0.1ms) commit transaction
25180
+  (0.0ms) begin transaction
25181
+  (0.1ms) SELECT MAX("espinita_audits"."version") AS max_id FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = 12 AND "espinita_audits"."auditable_type" = 'GeneralModel'
25182
+ SQL (0.3ms) 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
+ SQL (0.2ms) UPDATE "general_models" SET "name" = ?, "updated_at" = ? WHERE "general_models"."id" = 12 [["name", "Foo"], ["updated_at", Sat, 15 Mar 2014 20:18:10 UTC +00:00]]
25184
+  (0.1ms) commit transaction
25185
+  (0.1ms) SELECT COUNT(*) FROM "espinita_audits" WHERE "espinita_audits"."auditable_id" = ? AND "espinita_audits"."auditable_type" = ? [["auditable_id", 12], ["auditable_type", "GeneralModel"]]
25186
+ Espinita::Audit Load (0.1ms) 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
+ Espinita::Audit Load (0.1ms) 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"]]