spec/dummy/log/test.log in audited_views-0.0.5 vs spec/dummy/log/test.log in audited_views-0.0.6
- old
+ new
@@ -1,83 +1,83 @@
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "audits"[0m
- [1m[35m (0.2ms)[0m [1m[34mSELECT sqlite_version(*)[0m
- [1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "audits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar, "associated_id" integer, "associated_type" varchar, "user_id" integer, "user_type" varchar, "username" varchar, "action" varchar, "audited_changes" text, "version" integer DEFAULT 0, "comment" varchar, "remote_address" varchar, "request_uuid" varchar, "created_at" datetime)[0m
- [1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "associated_index" ON "audits" ("associated_id", "associated_type")[0m
- [1m[35m (1.5ms)[0m [1m[35mCREATE INDEX "auditable_index" ON "audits" ("auditable_id", "auditable_type")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_audits_on_created_at" ON "audits" ("created_at")[0m
- [1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_audits_on_request_uuid" ON "audits" ("request_uuid")[0m
- [1m[35m (1.3ms)[0m [1m[35mCREATE INDEX "user_index" ON "audits" ("user_id", "user_type")[0m
- [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "products"[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "title" varchar, "price" decimal, "active" boolean, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
+ [1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
+ [1m[35m (133.0ms)[0m [1m[35mCREATE TABLE "audits" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "auditable_id" integer, "auditable_type" varchar, "associated_id" integer, "associated_type" varchar, "user_id" integer, "user_type" varchar, "username" varchar, "action" varchar, "audited_changes" text, "version" integer DEFAULT 0, "comment" varchar, "remote_address" varchar, "request_uuid" varchar, "created_at" datetime)[0m
+ [1m[35m (36.3ms)[0m [1m[35mCREATE INDEX "associated_index" ON "audits" ("associated_id", "associated_type")[0m
+ [1m[35m (24.8ms)[0m [1m[35mCREATE INDEX "auditable_index" ON "audits" ("auditable_id", "auditable_type")[0m
+ [1m[35m (84.6ms)[0m [1m[35mCREATE INDEX "index_audits_on_created_at" ON "audits" ("created_at")[0m
+ [1m[35m (80.4ms)[0m [1m[35mCREATE INDEX "index_audits_on_request_uuid" ON "audits" ("request_uuid")[0m
+ [1m[35m (24.8ms)[0m [1m[35mCREATE INDEX "user_index" ON "audits" ("user_id", "user_type")[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "products"[0m
+ [1m[35m (28.5ms)[0m [1m[35mCREATE TABLE "products" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "sku" varchar, "title" varchar, "price" decimal, "active" boolean, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
+ [1m[35m (21.7ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[35m (19.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
- [1m[35m (1.0ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170507191539)[0m
- [1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
+ [1m[35m (12.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20170507191539)[0m
+ [1m[35m (11.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
(20170507023018),
(20170507023113);
[0m
- [1m[35m (1.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
- [1m[35m (0.3ms)[0m [1m[36mbegin transaction[0m
- [1m[36mActiveRecord::InternalMetadata Create (1.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-11-02 02:33:21.760012"], ["updated_at", "2018-11-02 02:33:21.760012"]]
- [1m[35m (1.4ms)[0m [1m[36mcommit transaction[0m
- [1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (15.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2018-11-15 16:51:07.723358"], ["updated_at", "2018-11-15 16:51:07.723358"]]
+ [1m[35m (11.8ms)[0m [1m[36mcommit transaction[0m
+ [1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (0.6ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-02 02:33:25.004094"], ["updated_at", "2018-11-02 02:33:25.004094"]]
+ [1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-15 16:51:09.720596"], ["updated_at", "2018-11-15 16:51:09.720596"]]
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mProduct Create (0.3ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-02 02:33:25.030110"], ["updated_at", "2018-11-02 02:33:25.030110"]]
- [1m[35m (0.3ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
- [1m[36mAudited::Audit Create (0.6ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "1d43f5f3-6e68-42d8-b1fb-da4e4b58e02d"], ["created_at", "2018-11-02 02:33:25.072335"]]
- [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/products/1" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
+ [1m[36mProduct Create (0.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-15 16:51:09.733874"], ["updated_at", "2018-11-15 16:51:09.733874"]]
+ [1m[35m (0.2ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
+ [1m[36mAudited::Audit Create (0.2ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "0c657f02-998f-4dc3-ae08-88083a1de25a"], ["created_at", "2018-11-15 16:51:09.758284"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/products/1" for 127.0.0.1 at 2018-11-15 14:51:09 -0200
Processing by ProductsController#show as HTML
Parameters: {"id"=>"1"}
- [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mProduct Load (0.2ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Rendering products/show.html.erb within layouts/application
- [1m[36mAudited::Audit Load (0.3ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
+ [1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (10.9ms)
- Rendered products/show.html.erb within layouts/application (21.8ms)
-Completed 200 OK in 243ms (Views: 238.3ms | ActiveRecord: 0.6ms)
-Started GET "/products/1?show_log=true" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
+ Rendered /home/douglas/code/audited_views/app/views/application/_controls.html.erb (50.7ms)
+ Rendered products/show.html.erb within layouts/application (56.4ms)
+Completed 200 OK in 186ms (Views: 183.0ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
+ [1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-15 16:51:09.963703"], ["updated_at", "2018-11-15 16:51:09.963703"]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mProduct Create (0.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-15 16:51:09.964744"], ["updated_at", "2018-11-15 16:51:09.964744"]]
+ [1m[35m (0.1ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
+ [1m[36mAudited::Audit Create (0.2ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "f294e080-c136-4d5e-b434-3d7027740958"], ["created_at", "2018-11-15 16:51:09.966485"]]
+ [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+Started GET "/products/1" for 127.0.0.1 at 2018-11-15 14:51:09 -0200
Processing by ProductsController#show as HTML
- Parameters: {"show_log"=>"true", "id"=>"1"}
+ Parameters: {"id"=>"1"}
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Rendering products/show.html.erb within layouts/application
[1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? ORDER BY "audits"."version" ASC[0m [["auditable_id", 1], ["auditable_type", "Product"]]
- [1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_audit_record.html.erb (5.6ms)
- Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_audits.html.erb (13.2ms)
- Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (21.5ms)
- Rendered products/show.html.erb within layouts/application (22.0ms)
-Completed 200 OK in 24ms (Views: 22.4ms | ActiveRecord: 0.7ms)
- [1m[35m (0.5ms)[0m [1m[31mrollback transaction[0m
- [1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
- [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mUser Create (0.3ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "user@domain.com"], ["created_at", "2018-11-02 02:33:25.370446"], ["updated_at", "2018-11-02 02:33:25.370446"]]
- [1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
- [1m[36mProduct Create (0.1ms)[0m [1m[32mINSERT INTO "products" ("sku", "title", "price", "active", "description", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["sku", "001"], ["title", "Smartphone"], ["price", 450.0], ["active", "t"], ["description", "Smartphone ABC"], ["created_at", "2018-11-02 02:33:25.371857"], ["updated_at", "2018-11-02 02:33:25.371857"]]
- [1m[35m (0.1ms)[0m [1m[34mSELECT MAX("audits"."version") FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ?[0m [["auditable_id", 1], ["auditable_type", "Product"]]
- [1m[36mAudited::Audit Create (0.6ms)[0m [1m[32mINSERT INTO "audits" ("auditable_id", "auditable_type", "user_id", "user_type", "action", "audited_changes", "version", "request_uuid", "created_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["auditable_id", 1], ["auditable_type", "Product"], ["user_id", 1], ["user_type", "User"], ["action", "create"], ["audited_changes", "---\nsku: '001'\ntitle: Smartphone\nprice: !ruby/object:BigDecimal 18:0.45e3\nactive: true\ndescription: Smartphone ABC\n"], ["version", 1], ["request_uuid", "8a79d021-e6f8-4801-81ff-eae8b8b20fa4"], ["created_at", "2018-11-02 02:33:25.374072"]]
- [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
-Started GET "/products/1" for 127.0.0.1 at 2018-11-01 23:33:25 -0300
+ Rendered /home/douglas/code/audited_views/app/views/application/_controls.html.erb (1.9ms)
+ Rendered products/show.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 4ms (Views: 2.9ms | ActiveRecord: 0.3ms)
+Started GET "/products/1?show_log=true" for 127.0.0.1 at 2018-11-15 14:51:09 -0200
Processing by ProductsController#show as HTML
- Parameters: {"id"=>"1"}
+ Parameters: {"show_log"=>"true", "id"=>"1"}
[1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
Rendering products/show.html.erb within layouts/application
- [1m[36mAudited::Audit Load (0.3ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
+ [1m[36mAudited::Audit Load (0.2ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? AND "audits"."action" = ? ORDER BY "audits"."version" ASC LIMIT ?[0m [["auditable_id", 1], ["auditable_type", "Product"], ["action", "create"], ["LIMIT", 1]]
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
- Rendered /Users/douglas.lise/code/douglas/audited_views/app/views/application/_controls.html.erb (2.2ms)
- Rendered products/show.html.erb within layouts/application (2.6ms)
-Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.4ms)
- [1m[35m (0.6ms)[0m [1m[31mrollback transaction[0m
+ [1m[36mAudited::Audit Load (0.1ms)[0m [1m[34mSELECT "audits".* FROM "audits" WHERE "audits"."auditable_id" = ? AND "audits"."auditable_type" = ? ORDER BY "audits"."version" ASC[0m [["auditable_id", 1], ["auditable_type", "Product"]]
+ [1m[36mCACHE User Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ [1m[36mProduct Load (0.1ms)[0m [1m[34mSELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
+ Rendered /home/douglas/code/audited_views/app/views/application/_audit_record.html.erb (3.4ms)
+ Rendered /home/douglas/code/audited_views/app/views/application/_audits.html.erb (5.2ms)
+ Rendered /home/douglas/code/audited_views/app/views/application/_controls.html.erb (7.9ms)
+ Rendered products/show.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.5ms)
+ [1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m