(0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:49:22.538218"], ["updated_at", "2016-04-23 10:49:22.538218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:49:22.558875"], ["updated_at", "2016-04-23 10:49:22.558875"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:49:22.569286"], ["updated_at", "2016-04-23 10:49:22.569286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:49:22.570552"], ["updated_at", "2016-04-23 10:49:22.570552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:49:22.576064"], ["updated_at", "2016-04-23 10:49:22.576064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:49:22.577507"], ["updated_at", "2016-04-23 10:49:22.577507"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:49:22.674515"], ["updated_at", "2016-04-23 10:49:22.674515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:49:22.677568"], ["updated_at", "2016-04-23 10:49:22.677568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:49:22.682174"], ["updated_at", "2016-04-23 10:49:22.682174"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:49:22.683529"], ["updated_at", "2016-04-23 10:49:22.683529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:49:22.684666"], ["updated_at", "2016-04-23 10:49:22.684666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:49:22.694508"], ["updated_at", "2016-04-23 10:49:22.694508"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:49:22.695929"], ["updated_at", "2016-04-23 10:49:22.695929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:49:22.703078"], ["updated_at", "2016-04-23 10:49:22.703078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:49:22.704501"], ["updated_at", "2016-04-23 10:49:22.704501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:49:22.713232"], ["updated_at", "2016-04-23 10:49:22.713232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 9]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:49:22.720324"], ["updated_at", "2016-04-23 10:49:22.720324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:49:22.723016"], ["updated_at", "2016-04-23 10:49:22.723016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:49:22.724359"], ["updated_at", "2016-04-23 10:49:22.724359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:49:22.728264"], ["updated_at", "2016-04-23 10:49:22.728264"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:49:22.729621"], ["updated_at", "2016-04-23 10:49:22.729621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:49:22.730689"], ["updated_at", "2016-04-23 10:49:22.730689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:49:22.734292"], ["updated_at", "2016-04-23 10:49:22.734292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:49:22.735513"], ["updated_at", "2016-04-23 10:49:22.735513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."id" IN (42, 43) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" IN (42, 43)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.51ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:49:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.03ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.71ms) Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:54:58.364833"], ["updated_at", "2016-04-23 10:54:58.364833"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:54:58.382923"], ["updated_at", "2016-04-23 10:54:58.382923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:54:58.395474"], ["updated_at", "2016-04-23 10:54:58.395474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:54:58.396734"], ["updated_at", "2016-04-23 10:54:58.396734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:54:58.402450"], ["updated_at", "2016-04-23 10:54:58.402450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:54:58.403876"], ["updated_at", "2016-04-23 10:54:58.403876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.81ms) Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:54:58 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:54:58.592424"], ["updated_at", "2016-04-23 10:54:58.592424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:54:58.593965"], ["updated_at", "2016-04-23 10:54:58.593965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:54:58.595142"], ["updated_at", "2016-04-23 10:54:58.595142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:54:58.608399"], ["updated_at", "2016-04-23 10:54:58.608399"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:54:58.609898"], ["updated_at", "2016-04-23 10:54:58.609898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:54:58.626726"], ["updated_at", "2016-04-23 10:54:58.626726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:54:58.633845"], ["updated_at", "2016-04-23 10:54:58.633845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:54:58.635105"], ["updated_at", "2016-04-23 10:54:58.635105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:54:58.641975"], ["updated_at", "2016-04-23 10:54:58.641975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:54:58.643901"], ["updated_at", "2016-04-23 10:54:58.643901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:54:58.651812"], ["updated_at", "2016-04-23 10:54:58.651812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:54:58.654722"], ["updated_at", "2016-04-23 10:54:58.654722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:54:58.657775"], ["updated_at", "2016-04-23 10:54:58.657775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:54:58.661345"], ["updated_at", "2016-04-23 10:54:58.661345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:54:58.662674"], ["updated_at", "2016-04-23 10:54:58.662674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:54:58.663767"], ["updated_at", "2016-04-23 10:54:58.663767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:54:58.668106"], ["updated_at", "2016-04-23 10:54:58.668106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:54:58.669369"], ["updated_at", "2016-04-23 10:54:58.669369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 403 Forbidden in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:55:36.145320"], ["updated_at", "2016-04-23 10:55:36.145320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:55:36.171794"], ["updated_at", "2016-04-23 10:55:36.171794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:55:36.186328"], ["updated_at", "2016-04-23 10:55:36.186328"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:55:36.187982"], ["updated_at", "2016-04-23 10:55:36.187982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:55:36.194214"], ["updated_at", "2016-04-23 10:55:36.194214"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:55:36.195733"], ["updated_at", "2016-04-23 10:55:36.195733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:55:36.387646"], ["updated_at", "2016-04-23 10:55:36.387646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:55:36.389033"], ["updated_at", "2016-04-23 10:55:36.389033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:55:36.393656"], ["updated_at", "2016-04-23 10:55:36.393656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:55:36.395435"], ["updated_at", "2016-04-23 10:55:36.395435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:55:36.396757"], ["updated_at", "2016-04-23 10:55:36.396757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:55:36.404306"], ["updated_at", "2016-04-23 10:55:36.404306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:55:36.405824"], ["updated_at", "2016-04-23 10:55:36.405824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:55:36.417175"], ["updated_at", "2016-04-23 10:55:36.417175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:55:36.427509"], ["updated_at", "2016-04-23 10:55:36.427509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:55:36.428947"], ["updated_at", "2016-04-23 10:55:36.428947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:55:36.436034"], ["updated_at", "2016-04-23 10:55:36.436034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:55:36.437442"], ["updated_at", "2016-04-23 10:55:36.437442"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:55:36.438650"], ["updated_at", "2016-04-23 10:55:36.438650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:55:36.446717"], ["updated_at", "2016-04-23 10:55:36.446717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:55:36.449458"], ["updated_at", "2016-04-23 10:55:36.449458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:55:36.451178"], ["updated_at", "2016-04-23 10:55:36.451178"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:55:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.92ms) Completed 200 OK in 19ms (Views: 17.9ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.1ms) Completed 403 Forbidden in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.99ms) Completed 200 OK in 30ms (Views: 21.2ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:22.700657"], ["updated_at", "2016-04-23 10:56:22.700657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:22.708647"], ["updated_at", "2016-04-23 10:56:22.708647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:22.723374"], ["updated_at", "2016-04-23 10:56:22.723374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:56:22.724732"], ["updated_at", "2016-04-23 10:56:22.724732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:22.731228"], ["updated_at", "2016-04-23 10:56:22.731228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:56:22.732603"], ["updated_at", "2016-04-23 10:56:22.732603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:56:22.823470"], ["updated_at", "2016-04-23 10:56:22.823470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:22.825095"], ["updated_at", "2016-04-23 10:56:22.825095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:56:22.826310"], ["updated_at", "2016-04-23 10:56:22.826310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:56:22.829859"], ["updated_at", "2016-04-23 10:56:22.829859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:56:22.831161"], ["updated_at", "2016-04-23 10:56:22.831161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:56:22.835042"], ["updated_at", "2016-04-23 10:56:22.835042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:56:22.839321"], ["updated_at", "2016-04-23 10:56:22.839321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:22.840807"], ["updated_at", "2016-04-23 10:56:22.840807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:22.855537"], ["updated_at", "2016-04-23 10:56:22.855537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:22.857316"], ["updated_at", "2016-04-23 10:56:22.857316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:22.876899"], ["updated_at", "2016-04-23 10:56:22.876899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:22.878496"], ["updated_at", "2016-04-23 10:56:22.878496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:56:22.879879"], ["updated_at", "2016-04-23 10:56:22.879879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:22.887469"], ["updated_at", "2016-04-23 10:56:22.887469"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:22.894553"], ["updated_at", "2016-04-23 10:56:22.894553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:22.895988"], ["updated_at", "2016-04-23 10:56:22.895988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:56:51 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:56:51.933827"], ["updated_at", "2016-04-23 10:56:51.933827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:56:51.936982"], ["updated_at", "2016-04-23 10:56:51.936982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:56:51.944818"], ["updated_at", "2016-04-23 10:56:51.944818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:51.946223"], ["updated_at", "2016-04-23 10:56:51.946223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:56:51.947300"], ["updated_at", "2016-04-23 10:56:51.947300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:51.959959"], ["updated_at", "2016-04-23 10:56:51.959959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:51.961500"], ["updated_at", "2016-04-23 10:56:51.961500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:51.984519"], ["updated_at", "2016-04-23 10:56:51.984519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:51.987051"], ["updated_at", "2016-04-23 10:56:51.987051"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:51.997137"], ["updated_at", "2016-04-23 10:56:51.997137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:56:51.998565"], ["updated_at", "2016-04-23 10:56:51.998565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:56:52.002229"], ["updated_at", "2016-04-23 10:56:52.002229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:56:52.010996"], ["updated_at", "2016-04-23 10:56:52.010996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:52.012506"], ["updated_at", "2016-04-23 10:56:52.012506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:56:52.013623"], ["updated_at", "2016-04-23 10:56:52.013623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:56:52.022113"], ["updated_at", "2016-04-23 10:56:52.022113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:56:52.025103"], ["updated_at", "2016-04-23 10:56:52.025103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:56:52.026541"], ["updated_at", "2016-04-23 10:56:52.026541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (22.28ms) Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:52.339676"], ["updated_at", "2016-04-23 10:56:52.339676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:52.348259"], ["updated_at", "2016-04-23 10:56:52.348259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:56:52.349808"], ["updated_at", "2016-04-23 10:56:52.349808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:52.357474"], ["updated_at", "2016-04-23 10:56:52.357474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:56:52.358879"], ["updated_at", "2016-04-23 10:56:52.358879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:56:52.379259"], ["updated_at", "2016-04-23 10:56:52.379259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:20 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.6ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:21.414968"], ["updated_at", "2016-04-23 10:57:21.414968"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:57:21.424219"], ["updated_at", "2016-04-23 10:57:21.424219"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:21.438213"], ["updated_at", "2016-04-23 10:57:21.438213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:57:21.439648"], ["updated_at", "2016-04-23 10:57:21.439648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:57:21.449508"], ["updated_at", "2016-04-23 10:57:21.449508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:21.456509"], ["updated_at", "2016-04-23 10:57:21.456509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:57:21.457868"], ["updated_at", "2016-04-23 10:57:21.457868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:21.461739"], ["updated_at", "2016-04-23 10:57:21.461739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:21.463102"], ["updated_at", "2016-04-23 10:57:21.463102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:57:21.464285"], ["updated_at", "2016-04-23 10:57:21.464285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:57:21.471551"], ["updated_at", "2016-04-23 10:57:21.471551"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:57:21.474926"], ["updated_at", "2016-04-23 10:57:21.474926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:21.476330"], ["updated_at", "2016-04-23 10:57:21.476330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:57:21.480030"], ["updated_at", "2016-04-23 10:57:21.480030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:21.481477"], ["updated_at", "2016-04-23 10:57:21.481477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:57:21.482539"], ["updated_at", "2016-04-23 10:57:21.482539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:57:21.487598"], ["updated_at", "2016-04-23 10:57:21.487598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:57:21.488904"], ["updated_at", "2016-04-23 10:57:21.488904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.13ms) Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:21.673740"], ["updated_at", "2016-04-23 10:57:21.673740"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:21.681655"], ["updated_at", "2016-04-23 10:57:21.681655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:21.691087"], ["updated_at", "2016-04-23 10:57:21.691087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:57:21.692489"], ["updated_at", "2016-04-23 10:57:21.692489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:21.698425"], ["updated_at", "2016-04-23 10:57:21.698425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:57:21.699721"], ["updated_at", "2016-04-23 10:57:21.699721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.82ms) Completed 403 Forbidden in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 42], ["created_at", "2016-04-23 10:57:45.789410"], ["updated_at", "2016-04-23 10:57:45.789410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 43], ["created_at", "2016-04-23 10:57:45.792796"], ["updated_at", "2016-04-23 10:57:45.792796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('42', '43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('42', '43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:57:46.366915"], ["updated_at", "2016-04-23 10:57:46.366915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:46.368294"], ["updated_at", "2016-04-23 10:57:46.368294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:57:46.369358"], ["updated_at", "2016-04-23 10:57:46.369358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:57:46.375403"], ["updated_at", "2016-04-23 10:57:46.375403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:46.436702"], ["updated_at", "2016-04-23 10:57:46.436702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:57:46.438360"], ["updated_at", "2016-04-23 10:57:46.438360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:46.459960"], ["updated_at", "2016-04-23 10:57:46.459960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:57:46.461956"], ["updated_at", "2016-04-23 10:57:46.461956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (2.9ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:46.479357"], ["updated_at", "2016-04-23 10:57:46.479357"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:57:46.484397"], ["updated_at", "2016-04-23 10:57:46.484397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:57:46.490789"], ["updated_at", "2016-04-23 10:57:46.490789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:46.492412"], ["updated_at", "2016-04-23 10:57:46.492412"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:57:46.495841"], ["updated_at", "2016-04-23 10:57:46.495841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:57:46.511145"], ["updated_at", "2016-04-23 10:57:46.511145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.3ms) rollback transaction  (1.3ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:57:46.522105"], ["updated_at", "2016-04-23 10:57:46.522105"]]  (3.7ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:57:46.529161"], ["updated_at", "2016-04-23 10:57:46.529161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (1.5ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:46.756694"], ["updated_at", "2016-04-23 10:57:46.756694"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:46.763203"], ["updated_at", "2016-04-23 10:57:46.763203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:57:46.764609"], ["updated_at", "2016-04-23 10:57:46.764609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:46.772908"], ["updated_at", "2016-04-23 10:57:46.772908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:57:46.774413"], ["updated_at", "2016-04-23 10:57:46.774413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:57:46.787406"], ["updated_at", "2016-04-23 10:57:46.787406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:46 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:57:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.75ms) Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:37.608201"], ["updated_at", "2016-04-23 10:58:37.608201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:37.615946"], ["updated_at", "2016-04-23 10:58:37.615946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:58:37.617277"], ["updated_at", "2016-04-23 10:58:37.617277"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:37.623441"], ["updated_at", "2016-04-23 10:58:37.623441"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:58:37.625092"], ["updated_at", "2016-04-23 10:58:37.625092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:37.649199"], ["updated_at", "2016-04-23 10:58:37.649199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:37 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.6ms) Completed 200 OK in 14ms (Views: 13.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:58:37.921050"], ["updated_at", "2016-04-23 10:58:37.921050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 10:58:37.922440"], ["updated_at", "2016-04-23 10:58:37.922440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:58:37.925708"], ["updated_at", "2016-04-23 10:58:37.925708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:37.927285"], ["updated_at", "2016-04-23 10:58:37.927285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:58:37.928382"], ["updated_at", "2016-04-23 10:58:37.928382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:58:37.932270"], ["updated_at", "2016-04-23 10:58:37.932270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:37.933523"], ["updated_at", "2016-04-23 10:58:37.933523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:58:37.937046"], ["updated_at", "2016-04-23 10:58:37.937046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:37.944920"], ["updated_at", "2016-04-23 10:58:37.944920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:37.946377"], ["updated_at", "2016-04-23 10:58:37.946377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:37.956112"], ["updated_at", "2016-04-23 10:58:37.956112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:37.957501"], ["updated_at", "2016-04-23 10:58:37.957501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:58:37.958668"], ["updated_at", "2016-04-23 10:58:37.958668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:37.965781"], ["updated_at", "2016-04-23 10:58:37.965781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:37.967189"], ["updated_at", "2016-04-23 10:58:37.967189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:37.971572"], ["updated_at", "2016-04-23 10:58:37.971572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:58:37.973231"], ["updated_at", "2016-04-23 10:58:37.973231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:37.979790"], ["updated_at", "2016-04-23 10:58:37.979790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.53ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.56ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (26.18ms) Completed 200 OK in 39ms (Views: 32.8ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:53.641142"], ["updated_at", "2016-04-23 10:58:53.641142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 10:58:53.642865"], ["updated_at", "2016-04-23 10:58:53.642865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:54.025579"], ["updated_at", "2016-04-23 10:58:54.025579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:54.027060"], ["updated_at", "2016-04-23 10:58:54.027060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:54.035854"], ["updated_at", "2016-04-23 10:58:54.035854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:54.037218"], ["updated_at", "2016-04-23 10:58:54.037218"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 10:58:54.038498"], ["updated_at", "2016-04-23 10:58:54.038498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 10:58:54.046595"], ["updated_at", "2016-04-23 10:58:54.046595"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:54.048438"], ["updated_at", "2016-04-23 10:58:54.048438"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 10:58:54.052498"], ["updated_at", "2016-04-23 10:58:54.052498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:58:54.059979"], ["updated_at", "2016-04-23 10:58:54.059979"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:58:54.062729"], ["updated_at", "2016-04-23 10:58:54.062729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:54.063988"], ["updated_at", "2016-04-23 10:58:54.063988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 10:58:54.066965"], ["updated_at", "2016-04-23 10:58:54.066965"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 10:58:54.069924"], ["updated_at", "2016-04-23 10:58:54.069924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 10:58:54.074637"], ["updated_at", "2016-04-23 10:58:54.074637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 10:58:54.075995"], ["updated_at", "2016-04-23 10:58:54.075995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 10:58:54.077086"], ["updated_at", "2016-04-23 10:58:54.077086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 20:58:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:54.183179"], ["updated_at", "2016-04-23 10:58:54.183179"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:54.282905"], ["updated_at", "2016-04-23 10:58:54.282905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:54.293196"], ["updated_at", "2016-04-23 10:58:54.293196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:58:54.294484"], ["updated_at", "2016-04-23 10:58:54.294484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 10:58:54.301012"], ["updated_at", "2016-04-23 10:58:54.301012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 10:58:54.302710"], ["updated_at", "2016-04-23 10:58:54.302710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:01:11 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:01:11.773939"], ["updated_at", "2016-04-23 11:01:11.773939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:01:11.777333"], ["updated_at", "2016-04-23 11:01:11.777333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:01:11.778503"], ["updated_at", "2016-04-23 11:01:11.778503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:01:11.786895"], ["updated_at", "2016-04-23 11:01:11.786895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:01:11.788268"], ["updated_at", "2016-04-23 11:01:11.788268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:01:11.792117"], ["updated_at", "2016-04-23 11:01:11.792117"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:01:11.798908"], ["updated_at", "2016-04-23 11:01:11.798908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:01:11.800253"], ["updated_at", "2016-04-23 11:01:11.800253"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:01:11.806987"], ["updated_at", "2016-04-23 11:01:11.806987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:01:11.808565"], ["updated_at", "2016-04-23 11:01:11.808565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:01:11.818232"], ["updated_at", "2016-04-23 11:01:11.818232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:01:11.825421"], ["updated_at", "2016-04-23 11:01:11.825421"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:01:11.827191"], ["updated_at", "2016-04-23 11:01:11.827191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:01:11.828388"], ["updated_at", "2016-04-23 11:01:11.828388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:01:11.835438"], ["updated_at", "2016-04-23 11:01:11.835438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:01:11.836747"], ["updated_at", "2016-04-23 11:01:11.836747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:01:11.840346"], ["updated_at", "2016-04-23 11:01:11.840346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:01:11.841664"], ["updated_at", "2016-04-23 11:01:11.841664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:01:11.851570"], ["updated_at", "2016-04-23 11:01:11.851570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:01:11.862709"], ["updated_at", "2016-04-23 11:01:11.862709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:01:11.864029"], ["updated_at", "2016-04-23 11:01:11.864029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:01:11.871527"], ["updated_at", "2016-04-23 11:01:11.871527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:01:11.873022"], ["updated_at", "2016-04-23 11:01:11.873022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:01:11.882647"], ["updated_at", "2016-04-23 11:01:11.882647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.98ms) Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.18ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:02:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:02:21.564657"], ["updated_at", "2016-04-23 11:02:21.564657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:02:21.584734"], ["updated_at", "2016-04-23 11:02:21.584734"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:02:21.586030"], ["updated_at", "2016-04-23 11:02:21.586030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:02:21.592975"], ["updated_at", "2016-04-23 11:02:21.592975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:02:21.594239"], ["updated_at", "2016-04-23 11:02:21.594239"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:02:21.599761"], ["updated_at", "2016-04-23 11:02:21.599761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:02:21.763909"], ["updated_at", "2016-04-23 11:02:21.763909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:02:21.766347"], ["updated_at", "2016-04-23 11:02:21.766347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:02:21.778064"], ["updated_at", "2016-04-23 11:02:21.778064"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:02:21.779442"], ["updated_at", "2016-04-23 11:02:21.779442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:02:21.780627"], ["updated_at", "2016-04-23 11:02:21.780627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:02:21.788205"], ["updated_at", "2016-04-23 11:02:21.788205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:02:21.789517"], ["updated_at", "2016-04-23 11:02:21.789517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:02:21.796313"], ["updated_at", "2016-04-23 11:02:21.796313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:02:21.803456"], ["updated_at", "2016-04-23 11:02:21.803456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:02:21.804868"], ["updated_at", "2016-04-23 11:02:21.804868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:02:21.808634"], ["updated_at", "2016-04-23 11:02:21.808634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:02:21.809892"], ["updated_at", "2016-04-23 11:02:21.809892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:02:21.813541"], ["updated_at", "2016-04-23 11:02:21.813541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:02:21.814913"], ["updated_at", "2016-04-23 11:02:21.814913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:02:21.815991"], ["updated_at", "2016-04-23 11:02:21.815991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:02:21.820126"], ["updated_at", "2016-04-23 11:02:21.820126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:02:21.823655"], ["updated_at", "2016-04-23 11:02:21.823655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:02:21.825691"], ["updated_at", "2016-04-23 11:02:21.825691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.41ms) Completed 200 OK in 18ms (Views: 17.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:03:04.722040"], ["updated_at", "2016-04-23 11:03:04.722040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:03:04.725704"], ["updated_at", "2016-04-23 11:03:04.725704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:03:04.734865"], ["updated_at", "2016-04-23 11:03:04.734865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:03:04.742991"], ["updated_at", "2016-04-23 11:03:04.742991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:03:04.746484"], ["updated_at", "2016-04-23 11:03:04.746484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:03:04.768167"], ["updated_at", "2016-04-23 11:03:04.768167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:03:04.769994"], ["updated_at", "2016-04-23 11:03:04.769994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:03:04.771155"], ["updated_at", "2016-04-23 11:03:04.771155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:03:04.780866"], ["updated_at", "2016-04-23 11:03:04.780866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:03:04.782293"], ["updated_at", "2016-04-23 11:03:04.782293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:03:04.789016"], ["updated_at", "2016-04-23 11:03:04.789016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:03:04.790546"], ["updated_at", "2016-04-23 11:03:04.790546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:03:04.794787"], ["updated_at", "2016-04-23 11:03:04.794787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:03:04.803623"], ["updated_at", "2016-04-23 11:03:04.803623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:03:04.804986"], ["updated_at", "2016-04-23 11:03:04.804986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:03:04.808782"], ["updated_at", "2016-04-23 11:03:04.808782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:03:04.810201"], ["updated_at", "2016-04-23 11:03:04.810201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:03:04.811273"], ["updated_at", "2016-04-23 11:03:04.811273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:03:04.989250"], ["updated_at", "2016-04-23 11:03:04.989250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:03:05.002782"], ["updated_at", "2016-04-23 11:03:05.002782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:03:05.004351"], ["updated_at", "2016-04-23 11:03:05.004351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:03:05.011517"], ["updated_at", "2016-04-23 11:03:05.011517"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:03:05.013479"], ["updated_at", "2016-04-23 11:03:05.013479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:03:05.026048"], ["updated_at", "2016-04-23 11:03:05.026048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.87ms) Completed 200 OK in 19ms (Views: 18.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:03:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.18ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (29.08ms) Completed 200 OK in 41ms (Views: 32.6ms | ActiveRecord: 1.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:10:43.786272"], ["updated_at", "2016-04-23 11:10:43.786272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:10:43.787935"], ["updated_at", "2016-04-23 11:10:43.787935"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:10:43.795973"], ["updated_at", "2016-04-23 11:10:43.795973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:10:43.797285"], ["updated_at", "2016-04-23 11:10:43.797285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:10:43.798520"], ["updated_at", "2016-04-23 11:10:43.798520"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:10:43.806775"], ["updated_at", "2016-04-23 11:10:43.806775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:10:43.808353"], ["updated_at", "2016-04-23 11:10:43.808353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:10:43.813869"], ["updated_at", "2016-04-23 11:10:43.813869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:10:43.815409"], ["updated_at", "2016-04-23 11:10:43.815409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:10:43.827441"], ["updated_at", "2016-04-23 11:10:43.827441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:10:43.829085"], ["updated_at", "2016-04-23 11:10:43.829085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:10:43.830191"], ["updated_at", "2016-04-23 11:10:43.830191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:10:43.839360"], ["updated_at", "2016-04-23 11:10:43.839360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:10:43.846760"], ["updated_at", "2016-04-23 11:10:43.846760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:10:43.848138"], ["updated_at", "2016-04-23 11:10:43.848138"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:10:43.856764"], ["updated_at", "2016-04-23 11:10:43.856764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:10:43.858505"], ["updated_at", "2016-04-23 11:10:43.858505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:10:43.861611"], ["updated_at", "2016-04-23 11:10:43.861611"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:10:43.925529"], ["updated_at", "2016-04-23 11:10:43.925529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:10:44.018107"], ["updated_at", "2016-04-23 11:10:44.018107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:10:44.025839"], ["updated_at", "2016-04-23 11:10:44.025839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:10:44.027190"], ["updated_at", "2016-04-23 11:10:44.027190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:10:44.034059"], ["updated_at", "2016-04-23 11:10:44.034059"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:10:44.035974"], ["updated_at", "2016-04-23 11:10:44.035974"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.18ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:11:52 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:11:53.019991"], ["updated_at", "2016-04-23 11:11:53.019991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:11:53.023587"], ["updated_at", "2016-04-23 11:11:53.023587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:11:53.024916"], ["updated_at", "2016-04-23 11:11:53.024916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:11:53.042742"], ["updated_at", "2016-04-23 11:11:53.042742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:11:53.044071"], ["updated_at", "2016-04-23 11:11:53.044071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:11:53.052687"], ["updated_at", "2016-04-23 11:11:53.052687"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:11:53.054862"], ["updated_at", "2016-04-23 11:11:53.054862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:11:53.061524"], ["updated_at", "2016-04-23 11:11:53.061524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:11:53.063371"], ["updated_at", "2016-04-23 11:11:53.063371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:11:53.074743"], ["updated_at", "2016-04-23 11:11:53.074743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:11:53.082871"], ["updated_at", "2016-04-23 11:11:53.082871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:11:53.084558"], ["updated_at", "2016-04-23 11:11:53.084558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:11:53.087230"], ["updated_at", "2016-04-23 11:11:53.087230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:11:53.095175"], ["updated_at", "2016-04-23 11:11:53.095175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:11:53.096628"], ["updated_at", "2016-04-23 11:11:53.096628"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:11:53.104694"], ["updated_at", "2016-04-23 11:11:53.104694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:11:53.106166"], ["updated_at", "2016-04-23 11:11:53.106166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:11:53.109394"], ["updated_at", "2016-04-23 11:11:53.109394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:11:53.129685"], ["updated_at", "2016-04-23 11:11:53.129685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:11:53.138425"], ["updated_at", "2016-04-23 11:11:53.138425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:11:53.139782"], ["updated_at", "2016-04-23 11:11:53.139782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:11:53.145244"], ["updated_at", "2016-04-23 11:11:53.145244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:11:53.146539"], ["updated_at", "2016-04-23 11:11:53.146539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:11:53.152170"], ["updated_at", "2016-04-23 11:11:53.152170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.03ms) Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:28.220358"], ["updated_at", "2016-04-23 11:12:28.220358"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:28.226600"], ["updated_at", "2016-04-23 11:12:28.226600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:12:28.227962"], ["updated_at", "2016-04-23 11:12:28.227962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:28.257932"], ["updated_at", "2016-04-23 11:12:28.257932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:12:28.259498"], ["updated_at", "2016-04-23 11:12:28.259498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:28.266379"], ["updated_at", "2016-04-23 11:12:28.266379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:28.267777"], ["updated_at", "2016-04-23 11:12:28.267777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:28.275905"], ["updated_at", "2016-04-23 11:12:28.275905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:28.282732"], ["updated_at", "2016-04-23 11:12:28.282732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:28.284037"], ["updated_at", "2016-04-23 11:12:28.284037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:12:28.287941"], ["updated_at", "2016-04-23 11:12:28.287941"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:12:28.289183"], ["updated_at", "2016-04-23 11:12:28.289183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (1.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:12:28.294113"], ["updated_at", "2016-04-23 11:12:28.294113"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:28.295475"], ["updated_at", "2016-04-23 11:12:28.295475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:12:28.296560"], ["updated_at", "2016-04-23 11:12:28.296560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:12:28.300787"], ["updated_at", "2016-04-23 11:12:28.300787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:28.302197"], ["updated_at", "2016-04-23 11:12:28.302197"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:12:28.304840"], ["updated_at", "2016-04-23 11:12:28.304840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.22ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.5ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:28.481179"], ["updated_at", "2016-04-23 11:12:28.481179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:28.492340"], ["updated_at", "2016-04-23 11:12:28.492340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:12:28.493605"], ["updated_at", "2016-04-23 11:12:28.493605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:28.499135"], ["updated_at", "2016-04-23 11:12:28.499135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:12:28.500508"], ["updated_at", "2016-04-23 11:12:28.500508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:28.511438"], ["updated_at", "2016-04-23 11:12:28.511438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.4ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:59.384481"], ["updated_at", "2016-04-23 11:12:59.384481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:59.399957"], ["updated_at", "2016-04-23 11:12:59.399957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:59.405476"], ["updated_at", "2016-04-23 11:12:59.405476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:12:59.406860"], ["updated_at", "2016-04-23 11:12:59.406860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:12:59.415006"], ["updated_at", "2016-04-23 11:12:59.415006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:12:59.416330"], ["updated_at", "2016-04-23 11:12:59.416330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.34ms) Completed 200 OK in 14ms (Views: 13.5ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.18ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:12:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:12:59.722299"], ["updated_at", "2016-04-23 11:12:59.722299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:12:59.723646"], ["updated_at", "2016-04-23 11:12:59.723646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:12:59.727706"], ["updated_at", "2016-04-23 11:12:59.727706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:59.729114"], ["updated_at", "2016-04-23 11:12:59.729114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:12:59.730149"], ["updated_at", "2016-04-23 11:12:59.730149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:59.734223"], ["updated_at", "2016-04-23 11:12:59.734223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:59.748498"], ["updated_at", "2016-04-23 11:12:59.748498"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:59.749977"], ["updated_at", "2016-04-23 11:12:59.749977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:59.753630"], ["updated_at", "2016-04-23 11:12:59.753630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:59.754991"], ["updated_at", "2016-04-23 11:12:59.754991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:12:59.756047"], ["updated_at", "2016-04-23 11:12:59.756047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:59.763624"], ["updated_at", "2016-04-23 11:12:59.763624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:12:59.765003"], ["updated_at", "2016-04-23 11:12:59.765003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:12:59.773122"], ["updated_at", "2016-04-23 11:12:59.773122"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:12:59.774766"], ["updated_at", "2016-04-23 11:12:59.774766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:12:59.784381"], ["updated_at", "2016-04-23 11:12:59.784381"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:12:59.787190"], ["updated_at", "2016-04-23 11:12:59.787190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:12:59.788571"], ["updated_at", "2016-04-23 11:12:59.788571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:22:13.696972"], ["updated_at", "2016-04-23 11:22:13.696972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:22:14.177282"], ["updated_at", "2016-04-23 11:22:14.177282"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:22:14.187959"], ["updated_at", "2016-04-23 11:22:14.187959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:22:14.189256"], ["updated_at", "2016-04-23 11:22:14.189256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:22:14.202247"], ["updated_at", "2016-04-23 11:22:14.202247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:22:14.203690"], ["updated_at", "2016-04-23 11:22:14.203690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:22:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:22:14.301846"], ["updated_at", "2016-04-23 11:22:14.301846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:22:14.329962"], ["updated_at", "2016-04-23 11:22:14.329962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:22:14.331384"], ["updated_at", "2016-04-23 11:22:14.331384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:22:14.338082"], ["updated_at", "2016-04-23 11:22:14.338082"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:22:14.339560"], ["updated_at", "2016-04-23 11:22:14.339560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:22:14.340881"], ["updated_at", "2016-04-23 11:22:14.340881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:22:14.349318"], ["updated_at", "2016-04-23 11:22:14.349318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:22:14.350797"], ["updated_at", "2016-04-23 11:22:14.350797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:22:14.354554"], ["updated_at", "2016-04-23 11:22:14.354554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:22:14.355920"], ["updated_at", "2016-04-23 11:22:14.355920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:22:14.364496"], ["updated_at", "2016-04-23 11:22:14.364496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:22:14.367315"], ["updated_at", "2016-04-23 11:22:14.367315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:22:14.368555"], ["updated_at", "2016-04-23 11:22:14.368555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:22:14.371890"], ["updated_at", "2016-04-23 11:22:14.371890"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:22:14.374975"], ["updated_at", "2016-04-23 11:22:14.374975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:22:14.379841"], ["updated_at", "2016-04-23 11:22:14.379841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:22:14.381329"], ["updated_at", "2016-04-23 11:22:14.381329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:22:14.382541"], ["updated_at", "2016-04-23 11:22:14.382541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.07ms) Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.42ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.2ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.62ms) Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (1.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.89ms) Completed 200 OK in 26ms (Views: 20.1ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:23:05.053004"], ["updated_at", "2016-04-23 11:23:05.053004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:23:05.054811"], ["updated_at", "2016-04-23 11:23:05.054811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:23:05.070673"], ["updated_at", "2016-04-23 11:23:05.070673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:23:05.072038"], ["updated_at", "2016-04-23 11:23:05.072038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:23:05.073196"], ["updated_at", "2016-04-23 11:23:05.073196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:23:05.086988"], ["updated_at", "2016-04-23 11:23:05.086988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:23:05.088417"], ["updated_at", "2016-04-23 11:23:05.088417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:23:05.095311"], ["updated_at", "2016-04-23 11:23:05.095311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:23:05.096653"], ["updated_at", "2016-04-23 11:23:05.096653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:23:05.103175"], ["updated_at", "2016-04-23 11:23:05.103175"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:23:05.113095"], ["updated_at", "2016-04-23 11:23:05.113095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:23:05.115667"], ["updated_at", "2016-04-23 11:23:05.115667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:23:05.116977"], ["updated_at", "2016-04-23 11:23:05.116977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:23:05.120731"], ["updated_at", "2016-04-23 11:23:05.120731"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:23:05.122011"], ["updated_at", "2016-04-23 11:23:05.122011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:23:05.123090"], ["updated_at", "2016-04-23 11:23:05.123090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:23:05.127241"], ["updated_at", "2016-04-23 11:23:05.127241"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:23:05.128741"], ["updated_at", "2016-04-23 11:23:05.128741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Parker Leannon MD"], ["created_at", "2016-04-23 11:23:05.133126"], ["updated_at", "2016-04-23 11:23:05.133126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:23:05.134576"], ["updated_at", "2016-04-23 11:23:05.134576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:23:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:23:05.349849"], ["updated_at", "2016-04-23 11:23:05.349849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:23:05.358330"], ["updated_at", "2016-04-23 11:23:05.358330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:23:05.360875"], ["updated_at", "2016-04-23 11:23:05.360875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:23:05.366745"], ["updated_at", "2016-04-23 11:23:05.366745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:23:05.368344"], ["updated_at", "2016-04-23 11:23:05.368344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:23:05.379336"], ["updated_at", "2016-04-23 11:23:05.379336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.6ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Leopoldo Moore"], ["created_at", "2016-04-23 11:24:33.436676"], ["updated_at", "2016-04-23 11:24:33.436676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:24:33.443866"], ["updated_at", "2016-04-23 11:24:33.443866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.84ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.42ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:24:33.534615"], ["updated_at", "2016-04-23 11:24:33.534615"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:24:33.540558"], ["updated_at", "2016-04-23 11:24:33.540558"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:24:33.550921"], ["updated_at", "2016-04-23 11:24:33.550921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:24:33.552397"], ["updated_at", "2016-04-23 11:24:33.552397"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:24:33.555313"], ["updated_at", "2016-04-23 11:24:33.555313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:24:33.561669"], ["updated_at", "2016-04-23 11:24:33.561669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:24:33.564038"], ["updated_at", "2016-04-23 11:24:33.564038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:24:33.583146"], ["updated_at", "2016-04-23 11:24:33.583146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:24:33.593199"], ["updated_at", "2016-04-23 11:24:33.593199"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:24:33.594580"], ["updated_at", "2016-04-23 11:24:33.594580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:24:33.601637"], ["updated_at", "2016-04-23 11:24:33.601637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:24:33.603330"], ["updated_at", "2016-04-23 11:24:33.603330"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:24:33.606248"], ["updated_at", "2016-04-23 11:24:33.606248"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:24:33.614928"], ["updated_at", "2016-04-23 11:24:33.614928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:24:33.616411"], ["updated_at", "2016-04-23 11:24:33.616411"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:24:33.620742"], ["updated_at", "2016-04-23 11:24:33.620742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:24:33.623494"], ["updated_at", "2016-04-23 11:24:33.623494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:24:33.624864"], ["updated_at", "2016-04-23 11:24:33.624864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:24:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:24:33.760689"], ["updated_at", "2016-04-23 11:24:33.760689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:24:33.769749"], ["updated_at", "2016-04-23 11:24:33.769749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:24:33.771082"], ["updated_at", "2016-04-23 11:24:33.771082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:24:33.777656"], ["updated_at", "2016-04-23 11:24:33.777656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:24:33.778994"], ["updated_at", "2016-04-23 11:24:33.778994"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:24:33.784597"], ["updated_at", "2016-04-23 11:24:33.784597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.43ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.5ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.36ms) Completed 200 OK in 26ms (Views: 19.6ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:25:21.642292"], ["updated_at", "2016-04-23 11:25:21.642292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:25:21.650280"], ["updated_at", "2016-04-23 11:25:21.650280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:25:21.651664"], ["updated_at", "2016-04-23 11:25:21.651664"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:25:21.658095"], ["updated_at", "2016-04-23 11:25:21.658095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:25:21.659428"], ["updated_at", "2016-04-23 11:25:21.659428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:25:21.664888"], ["updated_at", "2016-04-23 11:25:21.664888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:25:21.666320"], ["updated_at", "2016-04-23 11:25:21.666320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:25:21.667373"], ["updated_at", "2016-04-23 11:25:21.667373"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:25:21.673603"], ["updated_at", "2016-04-23 11:25:21.673603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:25:21.675067"], ["updated_at", "2016-04-23 11:25:21.675067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:25:21.676217"], ["updated_at", "2016-04-23 11:25:21.676217"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:25:21.688293"], ["updated_at", "2016-04-23 11:25:21.688293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:25:21.689752"], ["updated_at", "2016-04-23 11:25:21.689752"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:25:21.699462"], ["updated_at", "2016-04-23 11:25:21.699462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:25:21.700769"], ["updated_at", "2016-04-23 11:25:21.700769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:25:21.707366"], ["updated_at", "2016-04-23 11:25:21.707366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:25:21.708668"], ["updated_at", "2016-04-23 11:25:21.708668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:25:21.712390"], ["updated_at", "2016-04-23 11:25:21.712390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Una O'Kon"], ["created_at", "2016-04-23 11:25:21.720376"], ["updated_at", "2016-04-23 11:25:21.720376"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:25:21.722133"], ["updated_at", "2016-04-23 11:25:21.722133"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.3ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:25:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:25:21.832911"], ["updated_at", "2016-04-23 11:25:21.832911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:25:21.845286"], ["updated_at", "2016-04-23 11:25:21.845286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:25:21.852439"], ["updated_at", "2016-04-23 11:25:21.852439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:25:21.853769"], ["updated_at", "2016-04-23 11:25:21.853769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:25:21.859420"], ["updated_at", "2016-04-23 11:25:21.859420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:25:21.860780"], ["updated_at", "2016-04-23 11:25:21.860780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:26:32.678827"], ["updated_at", "2016-04-23 11:26:32.678827"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:26:32.688207"], ["updated_at", "2016-04-23 11:26:32.688207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:26:32.700441"], ["updated_at", "2016-04-23 11:26:32.700441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:26:32.701807"], ["updated_at", "2016-04-23 11:26:32.701807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:26:32.707435"], ["updated_at", "2016-04-23 11:26:32.707435"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:26:32.708773"], ["updated_at", "2016-04-23 11:26:32.708773"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:26:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.41ms) Completed 403 Forbidden in 6ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:26:32.897652"], ["updated_at", "2016-04-23 11:26:32.897652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:26:32.926811"], ["updated_at", "2016-04-23 11:26:32.926811"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:26:32.928261"], ["updated_at", "2016-04-23 11:26:32.928261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:26:32.936777"], ["updated_at", "2016-04-23 11:26:32.936777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:26:32.938389"], ["updated_at", "2016-04-23 11:26:32.938389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:26:32.940148"], ["updated_at", "2016-04-23 11:26:32.940148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:26:32.947363"], ["updated_at", "2016-04-23 11:26:32.947363"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:26:32.948937"], ["updated_at", "2016-04-23 11:26:32.948937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:26:32.953003"], ["updated_at", "2016-04-23 11:26:32.953003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:26:32.954331"], ["updated_at", "2016-04-23 11:26:32.954331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:26:32.961185"], ["updated_at", "2016-04-23 11:26:32.961185"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:26:32.962540"], ["updated_at", "2016-04-23 11:26:32.962540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:26:32.965255"], ["updated_at", "2016-04-23 11:26:32.965255"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:26:32.968864"], ["updated_at", "2016-04-23 11:26:32.968864"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:26:32.970425"], ["updated_at", "2016-04-23 11:26:32.970425"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:26:32.972227"], ["updated_at", "2016-04-23 11:26:32.972227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:26:32.976013"], ["updated_at", "2016-04-23 11:26:32.976013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:26:32.977307"], ["updated_at", "2016-04-23 11:26:32.977307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Felicita Kunze"], ["created_at", "2016-04-23 11:26:33.022800"], ["updated_at", "2016-04-23 11:26:33.022800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:26:33.024303"], ["updated_at", "2016-04-23 11:26:33.024303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.5ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.07ms) Completed 403 Forbidden in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.15ms) Completed 200 OK in 27ms (Views: 20.2ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Tavares Morar"], ["created_at", "2016-04-23 11:30:48.937772"], ["updated_at", "2016-04-23 11:30:48.937772"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:30:48.943618"], ["updated_at", "2016-04-23 11:30:48.943618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:30:48.997030"], ["updated_at", "2016-04-23 11:30:48.997030"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:30:48.998546"], ["updated_at", "2016-04-23 11:30:48.998546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:30:48.999754"], ["updated_at", "2016-04-23 11:30:48.999754"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:30:49.009336"], ["updated_at", "2016-04-23 11:30:49.009336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:30:49.010902"], ["updated_at", "2016-04-23 11:30:49.010902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:30:49.025760"], ["updated_at", "2016-04-23 11:30:49.025760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:30:49.027106"], ["updated_at", "2016-04-23 11:30:49.027106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:30:49.030975"], ["updated_at", "2016-04-23 11:30:49.030975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:30:49.034257"], ["updated_at", "2016-04-23 11:30:49.034257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:30:49.035627"], ["updated_at", "2016-04-23 11:30:49.035627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:30:49.046095"], ["updated_at", "2016-04-23 11:30:49.046095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:30:49.047515"], ["updated_at", "2016-04-23 11:30:49.047515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:30:49.048641"], ["updated_at", "2016-04-23 11:30:49.048641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:30:49.057306"], ["updated_at", "2016-04-23 11:30:49.057306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:30:49.058776"], ["updated_at", "2016-04-23 11:30:49.058776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:30:49.062404"], ["updated_at", "2016-04-23 11:30:49.062404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:30:49.069694"], ["updated_at", "2016-04-23 11:30:49.069694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:30:49.071040"], ["updated_at", "2016-04-23 11:30:49.071040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:30:49.155445"], ["updated_at", "2016-04-23 11:30:49.155445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:30:49.162920"], ["updated_at", "2016-04-23 11:30:49.162920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:30:49.164316"], ["updated_at", "2016-04-23 11:30:49.164316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:30:49.169812"], ["updated_at", "2016-04-23 11:30:49.169812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:30:49.171276"], ["updated_at", "2016-04-23 11:30:49.171276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:30:49.183155"], ["updated_at", "2016-04-23 11:30:49.183155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:30:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:31:16.731773"], ["updated_at", "2016-04-23 11:31:16.731773"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:31:16.736145"], ["updated_at", "2016-04-23 11:31:16.736145"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:31:16.745478"], ["updated_at", "2016-04-23 11:31:16.745478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:31:16.746865"], ["updated_at", "2016-04-23 11:31:16.746865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:31:16.747949"], ["updated_at", "2016-04-23 11:31:16.747949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:31:16.751405"], ["updated_at", "2016-04-23 11:31:16.751405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:31:16.756940"], ["updated_at", "2016-04-23 11:31:16.756940"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:31:16.758724"], ["updated_at", "2016-04-23 11:31:16.758724"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:31:16.762449"], ["updated_at", "2016-04-23 11:31:16.762449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:31:16.777977"], ["updated_at", "2016-04-23 11:31:16.777977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:31:16.779564"], ["updated_at", "2016-04-23 11:31:16.779564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:31:16.780886"], ["updated_at", "2016-04-23 11:31:16.780886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:31:16.788044"], ["updated_at", "2016-04-23 11:31:16.788044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:31:16.789517"], ["updated_at", "2016-04-23 11:31:16.789517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:31:16.793283"], ["updated_at", "2016-04-23 11:31:16.793283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:31:16.794744"], ["updated_at", "2016-04-23 11:31:16.794744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:31:16.803522"], ["updated_at", "2016-04-23 11:31:16.803522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:31:16.805392"], ["updated_at", "2016-04-23 11:31:16.805392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Trenton Robel"], ["created_at", "2016-04-23 11:31:16.824308"], ["updated_at", "2016-04-23 11:31:16.824308"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:31:16.825813"], ["updated_at", "2016-04-23 11:31:16.825813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.56ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:16 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:31:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:31:17.130999"], ["updated_at", "2016-04-23 11:31:17.130999"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:31:17.149298"], ["updated_at", "2016-04-23 11:31:17.149298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:31:17.154590"], ["updated_at", "2016-04-23 11:31:17.154590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:31:17.156081"], ["updated_at", "2016-04-23 11:31:17.156081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:31:17.161765"], ["updated_at", "2016-04-23 11:31:17.161765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:31:17.163108"], ["updated_at", "2016-04-23 11:31:17.163108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (2.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:33:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.04ms) Completed 403 Forbidden in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:33:05.877536"], ["updated_at", "2016-04-23 11:33:05.877536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:33:05.884819"], ["updated_at", "2016-04-23 11:33:05.884819"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:33:05.886668"], ["updated_at", "2016-04-23 11:33:05.886668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:33:05.912284"], ["updated_at", "2016-04-23 11:33:05.912284"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:33:05.913641"], ["updated_at", "2016-04-23 11:33:05.913641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:33:05.922621"], ["updated_at", "2016-04-23 11:33:05.922621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:33:05.924003"], ["updated_at", "2016-04-23 11:33:05.924003"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:33:05.929199"], ["updated_at", "2016-04-23 11:33:05.929199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:33:05.930512"], ["updated_at", "2016-04-23 11:33:05.930512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:33:05.939299"], ["updated_at", "2016-04-23 11:33:05.939299"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:33:05.947637"], ["updated_at", "2016-04-23 11:33:05.947637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:33:05.949244"], ["updated_at", "2016-04-23 11:33:05.949244"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:33:05.953725"], ["updated_at", "2016-04-23 11:33:05.953725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:33:05.956500"], ["updated_at", "2016-04-23 11:33:05.956500"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:33:05.957803"], ["updated_at", "2016-04-23 11:33:05.957803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:33:05.961962"], ["updated_at", "2016-04-23 11:33:05.961962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:33:05.963299"], ["updated_at", "2016-04-23 11:33:05.963299"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:33:05.964384"], ["updated_at", "2016-04-23 11:33:05.964384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kallie Hintz"], ["created_at", "2016-04-23 11:33:05.968690"], ["updated_at", "2016-04-23 11:33:05.968690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:33:05.970061"], ["updated_at", "2016-04-23 11:33:05.970061"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:33:06.112175"], ["updated_at", "2016-04-23 11:33:06.112175"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:33:06.117005"], ["updated_at", "2016-04-23 11:33:06.117005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:33:06.118497"], ["updated_at", "2016-04-23 11:33:06.118497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:33:06.124137"], ["updated_at", "2016-04-23 11:33:06.124137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:33:06.125439"], ["updated_at", "2016-04-23 11:33:06.125439"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:33:06.131216"], ["updated_at", "2016-04-23 11:33:06.131216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.38ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:37:22.875443"], ["updated_at", "2016-04-23 11:37:22.875443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:37:22.888383"], ["updated_at", "2016-04-23 11:37:22.888383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:37:22.894689"], ["updated_at", "2016-04-23 11:37:22.894689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:37:22.896025"], ["updated_at", "2016-04-23 11:37:22.896025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:37:22.901510"], ["updated_at", "2016-04-23 11:37:22.901510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:37:22.902769"], ["updated_at", "2016-04-23 11:37:22.902769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:37:22 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.03ms) Completed 403 Forbidden in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.24ms) Completed 200 OK in 22ms (Views: 21.1ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:37:23.176311"], ["updated_at", "2016-04-23 11:37:23.176311"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:37:23.192389"], ["updated_at", "2016-04-23 11:37:23.192389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:37:23.195540"], ["updated_at", "2016-04-23 11:37:23.195540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:37:23.202746"], ["updated_at", "2016-04-23 11:37:23.202746"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:37:23.204100"], ["updated_at", "2016-04-23 11:37:23.204100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:37:23.211626"], ["updated_at", "2016-04-23 11:37:23.211626"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:37:23.213096"], ["updated_at", "2016-04-23 11:37:23.213096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:37:23.217365"], ["updated_at", "2016-04-23 11:37:23.217365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:37:23.218898"], ["updated_at", "2016-04-23 11:37:23.218898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:37:23.220227"], ["updated_at", "2016-04-23 11:37:23.220227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:37:23.231667"], ["updated_at", "2016-04-23 11:37:23.231667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:37:23.233247"], ["updated_at", "2016-04-23 11:37:23.233247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:37:23.234521"], ["updated_at", "2016-04-23 11:37:23.234521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:37:23.238286"], ["updated_at", "2016-04-23 11:37:23.238286"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:37:23.240470"], ["updated_at", "2016-04-23 11:37:23.240470"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:37:23.245836"], ["updated_at", "2016-04-23 11:37:23.245836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:37:23.248393"], ["updated_at", "2016-04-23 11:37:23.248393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:37:23.249692"], ["updated_at", "2016-04-23 11:37:23.249692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Rosetta Lebsack"], ["created_at", "2016-04-23 11:37:23.276512"], ["updated_at", "2016-04-23 11:37:23.276512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:37:23.278080"], ["updated_at", "2016-04-23 11:37:23.278080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.02ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.53ms) Completed 403 Forbidden in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:06.153420"], ["updated_at", "2016-04-23 11:38:06.153420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:06.168005"], ["updated_at", "2016-04-23 11:38:06.168005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:38:06.169283"], ["updated_at", "2016-04-23 11:38:06.169283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:06.180479"], ["updated_at", "2016-04-23 11:38:06.180479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:38:06.182034"], ["updated_at", "2016-04-23 11:38:06.182034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:06.190377"], ["updated_at", "2016-04-23 11:38:06.190377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (8.4ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:38:06.437319"], ["updated_at", "2016-04-23 11:38:06.437319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:06.438786"], ["updated_at", "2016-04-23 11:38:06.438786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:38:06.442502"], ["updated_at", "2016-04-23 11:38:06.442502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:38:06.446366"], ["updated_at", "2016-04-23 11:38:06.446366"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:06.449305"], ["updated_at", "2016-04-23 11:38:06.449305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:38:06.450726"], ["updated_at", "2016-04-23 11:38:06.450726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:38:06.454158"], ["updated_at", "2016-04-23 11:38:06.454158"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:38:06.455554"], ["updated_at", "2016-04-23 11:38:06.455554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:06.462585"], ["updated_at", "2016-04-23 11:38:06.462585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:38:06.463992"], ["updated_at", "2016-04-23 11:38:06.463992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:06.477015"], ["updated_at", "2016-04-23 11:38:06.477015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:06.485993"], ["updated_at", "2016-04-23 11:38:06.485993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:06.487410"], ["updated_at", "2016-04-23 11:38:06.487410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:38:06.488546"], ["updated_at", "2016-04-23 11:38:06.488546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:06.495715"], ["updated_at", "2016-04-23 11:38:06.495715"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:06.497145"], ["updated_at", "2016-04-23 11:38:06.497145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:06.503936"], ["updated_at", "2016-04-23 11:38:06.503936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:06.505339"], ["updated_at", "2016-04-23 11:38:06.505339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.14ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Peter Schinner"], ["created_at", "2016-04-23 11:38:06.626346"], ["updated_at", "2016-04-23 11:38:06.626346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:38:06.628041"], ["updated_at", "2016-04-23 11:38:06.628041"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.63ms) Completed 200 OK in 26ms (Views: 19.8ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Jack Herzog"], ["created_at", "2016-04-23 11:38:29.244442"], ["updated_at", "2016-04-23 11:38:29.244442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:38:29.248850"], ["updated_at", "2016-04-23 11:38:29.248850"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:38:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:38:29.313192"], ["updated_at", "2016-04-23 11:38:29.313192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:29.314689"], ["updated_at", "2016-04-23 11:38:29.314689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:38:29.321836"], ["updated_at", "2016-04-23 11:38:29.321836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:38:29.325039"], ["updated_at", "2016-04-23 11:38:29.325039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:29.326315"], ["updated_at", "2016-04-23 11:38:29.326315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:38:29.327398"], ["updated_at", "2016-04-23 11:38:29.327398"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:38:29.331978"], ["updated_at", "2016-04-23 11:38:29.331978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:38:29.333251"], ["updated_at", "2016-04-23 11:38:29.333251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:29.337191"], ["updated_at", "2016-04-23 11:38:29.337191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:38:29.338845"], ["updated_at", "2016-04-23 11:38:29.338845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:38:29.339996"], ["updated_at", "2016-04-23 11:38:29.339996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:29.349887"], ["updated_at", "2016-04-23 11:38:29.349887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:38:29.351205"], ["updated_at", "2016-04-23 11:38:29.351205"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:29.366298"], ["updated_at", "2016-04-23 11:38:29.366298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:29.373906"], ["updated_at", "2016-04-23 11:38:29.373906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:29.375331"], ["updated_at", "2016-04-23 11:38:29.375331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:38:29.379096"], ["updated_at", "2016-04-23 11:38:29.379096"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:38:29.380482"], ["updated_at", "2016-04-23 11:38:29.380482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:29.521585"], ["updated_at", "2016-04-23 11:38:29.521585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:29.526730"], ["updated_at", "2016-04-23 11:38:29.526730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:38:29.528083"], ["updated_at", "2016-04-23 11:38:29.528083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:29.533593"], ["updated_at", "2016-04-23 11:38:29.533593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:38:29.534966"], ["updated_at", "2016-04-23 11:38:29.534966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:38:29.545096"], ["updated_at", "2016-04-23 11:38:29.545096"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.44ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:42:08.240928"], ["updated_at", "2016-04-23 11:42:08.240928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:42:08.247083"], ["updated_at", "2016-04-23 11:42:08.247083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:42:08.257449"], ["updated_at", "2016-04-23 11:42:08.257449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:42:08.258818"], ["updated_at", "2016-04-23 11:42:08.258818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:42:08.259983"], ["updated_at", "2016-04-23 11:42:08.259983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:42:08.272345"], ["updated_at", "2016-04-23 11:42:08.272345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:42:08.273708"], ["updated_at", "2016-04-23 11:42:08.273708"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:42:08.283181"], ["updated_at", "2016-04-23 11:42:08.283181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:42:08.284510"], ["updated_at", "2016-04-23 11:42:08.284510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:42:08.292259"], ["updated_at", "2016-04-23 11:42:08.292259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:42:08.300163"], ["updated_at", "2016-04-23 11:42:08.300163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:42:08.301480"], ["updated_at", "2016-04-23 11:42:08.301480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:42:08.304872"], ["updated_at", "2016-04-23 11:42:08.304872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:42:08.306447"], ["updated_at", "2016-04-23 11:42:08.306447"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:42:08.308108"], ["updated_at", "2016-04-23 11:42:08.308108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:42:08.312604"], ["updated_at", "2016-04-23 11:42:08.312604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:42:08.313880"], ["updated_at", "2016-04-23 11:42:08.313880"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:42:08.316637"], ["updated_at", "2016-04-23 11:42:08.316637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:42:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.6ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Alysha Yundt"], ["created_at", "2016-04-23 11:42:08.460459"], ["updated_at", "2016-04-23 11:42:08.460459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:42:08.462367"], ["updated_at", "2016-04-23 11:42:08.462367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Viola Pfannerstill"], ["created_at", "2016-04-23 11:42:08.481655"], ["updated_at", "2016-04-23 11:42:08.481655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:42:08.483126"], ["updated_at", "2016-04-23 11:42:08.483126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:42:08.491419"], ["updated_at", "2016-04-23 11:42:08.491419"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:42:08.502316"], ["updated_at", "2016-04-23 11:42:08.502316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:42:08.507428"], ["updated_at", "2016-04-23 11:42:08.507428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:42:08.509313"], ["updated_at", "2016-04-23 11:42:08.509313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:42:08.516062"], ["updated_at", "2016-04-23 11:42:08.516062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:42:08.517380"], ["updated_at", "2016-04-23 11:42:08.517380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.57ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:44:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Sophie Hettinger"], ["created_at", "2016-04-23 11:44:39.890371"], ["updated_at", "2016-04-23 11:44:39.890371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:44:39.896940"], ["updated_at", "2016-04-23 11:44:39.896940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Angeline Fisher"], ["created_at", "2016-04-23 11:44:39.923487"], ["updated_at", "2016-04-23 11:44:39.923487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Murphy Inc"], ["body", "Perspiciatis quae molestias est praesentium fugiat ut."], ["created_at", "2016-04-23 11:44:39.925145"], ["updated_at", "2016-04-23 11:44:39.925145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:44:39.935859"], ["updated_at", "2016-04-23 11:44:39.935859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:44:39.955496"], ["updated_at", "2016-04-23 11:44:39.955496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:44:39.957184"], ["updated_at", "2016-04-23 11:44:39.957184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:44:39.965235"], ["updated_at", "2016-04-23 11:44:39.965235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:44:39.967329"], ["updated_at", "2016-04-23 11:44:39.967329"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:44:39.975337"], ["updated_at", "2016-04-23 11:44:39.975337"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:44:39.977581"], ["updated_at", "2016-04-23 11:44:39.977581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:44:39.981428"], ["updated_at", "2016-04-23 11:44:39.981428"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:44:39.982847"], ["updated_at", "2016-04-23 11:44:39.982847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:44:39.984071"], ["updated_at", "2016-04-23 11:44:39.984071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:44:39.992917"], ["updated_at", "2016-04-23 11:44:39.992917"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:44:39.994415"], ["updated_at", "2016-04-23 11:44:39.994415"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:44:39.997333"], ["updated_at", "2016-04-23 11:44:39.997333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:44:40.001540"], ["updated_at", "2016-04-23 11:44:40.001540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:44:40.002862"], ["updated_at", "2016-04-23 11:44:40.002862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:44:40.003975"], ["updated_at", "2016-04-23 11:44:40.003975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:44:40.008829"], ["updated_at", "2016-04-23 11:44:40.008829"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:44:40.010508"], ["updated_at", "2016-04-23 11:44:40.010508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.47ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:44:40.197451"], ["updated_at", "2016-04-23 11:44:40.197451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:44:40.204832"], ["updated_at", "2016-04-23 11:44:40.204832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:44:40.217766"], ["updated_at", "2016-04-23 11:44:40.217766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:44:40.219102"], ["updated_at", "2016-04-23 11:44:40.219102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:44:40.225747"], ["updated_at", "2016-04-23 11:44:40.225747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:44:40.227257"], ["updated_at", "2016-04-23 11:44:40.227257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.53ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:45:36.234779"], ["updated_at", "2016-04-23 11:45:36.234779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:45:36.238034"], ["updated_at", "2016-04-23 11:45:36.238034"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:45:36.246388"], ["updated_at", "2016-04-23 11:45:36.246388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:45:36.247799"], ["updated_at", "2016-04-23 11:45:36.247799"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:45:36.249130"], ["updated_at", "2016-04-23 11:45:36.249130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:45:36.255433"], ["updated_at", "2016-04-23 11:45:36.255433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:45:36.260614"], ["updated_at", "2016-04-23 11:45:36.260614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:45:36.262258"], ["updated_at", "2016-04-23 11:45:36.262258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:45:36.265335"], ["updated_at", "2016-04-23 11:45:36.265335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:45:36.290419"], ["updated_at", "2016-04-23 11:45:36.290419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:45:36.291988"], ["updated_at", "2016-04-23 11:45:36.291988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:45:36.293074"], ["updated_at", "2016-04-23 11:45:36.293074"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:45:36.301252"], ["updated_at", "2016-04-23 11:45:36.301252"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:45:36.304245"], ["updated_at", "2016-04-23 11:45:36.304245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:45:36.311190"], ["updated_at", "2016-04-23 11:45:36.311190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:45:36.312512"], ["updated_at", "2016-04-23 11:45:36.312512"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:45:36.316679"], ["updated_at", "2016-04-23 11:45:36.316679"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:45:36.318054"], ["updated_at", "2016-04-23 11:45:36.318054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.41ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (25.59ms) Completed 200 OK in 27ms (Views: 26.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:45:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dolly Stokes"], ["created_at", "2016-04-23 11:45:36.609790"], ["updated_at", "2016-04-23 11:45:36.609790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Beatty-Corwin"], ["body", "Suscipit voluptate molestias qui nam."], ["created_at", "2016-04-23 11:45:36.611737"], ["updated_at", "2016-04-23 11:45:36.611737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Liam Senger"], ["created_at", "2016-04-23 11:45:36.617807"], ["updated_at", "2016-04-23 11:45:36.617807"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:45:36.620589"], ["updated_at", "2016-04-23 11:45:36.620589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:45:36.651583"], ["updated_at", "2016-04-23 11:45:36.651583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:45:36.663428"], ["updated_at", "2016-04-23 11:45:36.663428"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:45:36.664795"], ["updated_at", "2016-04-23 11:45:36.664795"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:45:36.671985"], ["updated_at", "2016-04-23 11:45:36.671985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:45:36.673410"], ["updated_at", "2016-04-23 11:45:36.673410"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.5ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:45:36.775634"], ["updated_at", "2016-04-23 11:45:36.775634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Elizabeth Leffler II"], ["created_at", "2016-04-23 11:47:23.199632"], ["updated_at", "2016-04-23 11:47:23.199632"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Renner, Wyman and Steuber"], ["body", "Non velit quia est aliquid recusandae aut."], ["created_at", "2016-04-23 11:47:23.207137"], ["updated_at", "2016-04-23 11:47:23.207137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Humberto Lesch"], ["created_at", "2016-04-23 11:47:23.219117"], ["updated_at", "2016-04-23 11:47:23.219117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:47:23.220906"], ["updated_at", "2016-04-23 11:47:23.220906"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.52ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 18ms (Views: 18.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.1ms) Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:47:23.435227"], ["updated_at", "2016-04-23 11:47:23.435227"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:47:23.443433"], ["updated_at", "2016-04-23 11:47:23.443433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:47:23.455071"], ["updated_at", "2016-04-23 11:47:23.455071"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:47:23.457334"], ["updated_at", "2016-04-23 11:47:23.457334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:47:23.462991"], ["updated_at", "2016-04-23 11:47:23.462991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:47:23.464251"], ["updated_at", "2016-04-23 11:47:23.464251"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:47:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:47:23.601983"], ["updated_at", "2016-04-23 11:47:23.601983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:47:23.603635"], ["updated_at", "2016-04-23 11:47:23.603635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:47:23.607962"], ["updated_at", "2016-04-23 11:47:23.607962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:47:23.610823"], ["updated_at", "2016-04-23 11:47:23.610823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:47:23.612151"], ["updated_at", "2016-04-23 11:47:23.612151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:47:23.613289"], ["updated_at", "2016-04-23 11:47:23.613289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:47:23.616781"], ["updated_at", "2016-04-23 11:47:23.616781"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:47:23.618090"], ["updated_at", "2016-04-23 11:47:23.618090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:47:23.623025"], ["updated_at", "2016-04-23 11:47:23.623025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:47:23.624514"], ["updated_at", "2016-04-23 11:47:23.624514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:47:23.625622"], ["updated_at", "2016-04-23 11:47:23.625622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.7ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:47:23.642343"], ["updated_at", "2016-04-23 11:47:23.642343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:47:23.643732"], ["updated_at", "2016-04-23 11:47:23.643732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:47:23.651125"], ["updated_at", "2016-04-23 11:47:23.651125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:47:23.652458"], ["updated_at", "2016-04-23 11:47:23.652458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:47:23.660921"], ["updated_at", "2016-04-23 11:47:23.660921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:47:23.662390"], ["updated_at", "2016-04-23 11:47:23.662390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:47:23.666132"], ["updated_at", "2016-04-23 11:47:23.666132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.03ms) Completed 403 Forbidden in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.64ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.54ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Myron Zemlak"], ["created_at", "2016-04-23 11:48:30.076462"], ["updated_at", "2016-04-23 11:48:30.076462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Carroll-Hermiston"], ["body", "Consequatur atque neque magnam."], ["created_at", "2016-04-23 11:48:30.084741"], ["updated_at", "2016-04-23 11:48:30.084741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Filiberto Schneider"], ["created_at", "2016-04-23 11:48:30.093251"], ["updated_at", "2016-04-23 11:48:30.093251"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:48:30.094683"], ["updated_at", "2016-04-23 11:48:30.094683"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:48:30.218867"], ["updated_at", "2016-04-23 11:48:30.218867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:48:30.220336"], ["updated_at", "2016-04-23 11:48:30.220336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:48:30.221721"], ["updated_at", "2016-04-23 11:48:30.221721"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:48:30.230640"], ["updated_at", "2016-04-23 11:48:30.230640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:48:30.233946"], ["updated_at", "2016-04-23 11:48:30.233946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:48:30.237832"], ["updated_at", "2016-04-23 11:48:30.237832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:48:30.239290"], ["updated_at", "2016-04-23 11:48:30.239290"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:48:30.244774"], ["updated_at", "2016-04-23 11:48:30.244774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:48:30.246121"], ["updated_at", "2016-04-23 11:48:30.246121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:48:30.253616"], ["updated_at", "2016-04-23 11:48:30.253616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:48:30.260803"], ["updated_at", "2016-04-23 11:48:30.260803"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:48:30.262196"], ["updated_at", "2016-04-23 11:48:30.262196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:48:30.263302"], ["updated_at", "2016-04-23 11:48:30.263302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:48:30.271204"], ["updated_at", "2016-04-23 11:48:30.271204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:48:30.272485"], ["updated_at", "2016-04-23 11:48:30.272485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:48:30.279317"], ["updated_at", "2016-04-23 11:48:30.279317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:48:30.282114"], ["updated_at", "2016-04-23 11:48:30.282114"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:48:30.285630"], ["updated_at", "2016-04-23 11:48:30.285630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.62ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:48:30 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:48:30.384557"], ["updated_at", "2016-04-23 11:48:30.384557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:48:30.390177"], ["updated_at", "2016-04-23 11:48:30.390177"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:48:30.391484"], ["updated_at", "2016-04-23 11:48:30.391484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:48:30.397136"], ["updated_at", "2016-04-23 11:48:30.397136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:48:30.399906"], ["updated_at", "2016-04-23 11:48:30.399906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:48:30.494302"], ["updated_at", "2016-04-23 11:48:30.494302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.72ms) Completed 200 OK in 26ms (Views: 20.0ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:50:04.632267"], ["updated_at", "2016-04-23 11:50:04.632267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:50:04.640797"], ["updated_at", "2016-04-23 11:50:04.640797"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:04.642229"], ["updated_at", "2016-04-23 11:50:04.642229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:50:04.646231"], ["updated_at", "2016-04-23 11:50:04.646231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:50:04.647535"], ["updated_at", "2016-04-23 11:50:04.647535"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:50:04.651710"], ["updated_at", "2016-04-23 11:50:04.651710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:04.653072"], ["updated_at", "2016-04-23 11:50:04.653072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:50:04.654231"], ["updated_at", "2016-04-23 11:50:04.654231"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:04.661652"], ["updated_at", "2016-04-23 11:50:04.661652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:04.663127"], ["updated_at", "2016-04-23 11:50:04.663127"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:50:04.664259"], ["updated_at", "2016-04-23 11:50:04.664259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:04.684792"], ["updated_at", "2016-04-23 11:50:04.684792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:50:04.686094"], ["updated_at", "2016-04-23 11:50:04.686094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:04.692825"], ["updated_at", "2016-04-23 11:50:04.692825"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:04.701812"], ["updated_at", "2016-04-23 11:50:04.701812"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:04.703250"], ["updated_at", "2016-04-23 11:50:04.703250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:04.710450"], ["updated_at", "2016-04-23 11:50:04.710450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:04.711855"], ["updated_at", "2016-04-23 11:50:04.711855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:04.727120"], ["updated_at", "2016-04-23 11:50:04.727120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:04.826270"], ["updated_at", "2016-04-23 11:50:04.826270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:04.831314"], ["updated_at", "2016-04-23 11:50:04.831314"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:50:04.832698"], ["updated_at", "2016-04-23 11:50:04.832698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:04.838296"], ["updated_at", "2016-04-23 11:50:04.838296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:50:04.839590"], ["updated_at", "2016-04-23 11:50:04.839590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:04 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Cary Sawayn"], ["created_at", "2016-04-23 11:50:04.945790"], ["updated_at", "2016-04-23 11:50:04.945790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:50:04.947257"], ["updated_at", "2016-04-23 11:50:04.947257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ferne Berge"], ["created_at", "2016-04-23 11:50:04.967170"], ["updated_at", "2016-04-23 11:50:04.967170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Bosco and Sons"], ["body", "Explicabo magni voluptatem eos cupiditate."], ["created_at", "2016-04-23 11:50:04.970023"], ["updated_at", "2016-04-23 11:50:04.970023"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.7ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.57ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.82ms) Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:25.171283"], ["updated_at", "2016-04-23 11:50:25.171283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:25.178454"], ["updated_at", "2016-04-23 11:50:25.178454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:50:25.179912"], ["updated_at", "2016-04-23 11:50:25.179912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:25.196883"], ["updated_at", "2016-04-23 11:50:25.196883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:50:25.198202"], ["updated_at", "2016-04-23 11:50:25.198202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:25.205225"], ["updated_at", "2016-04-23 11:50:25.205225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:25.213677"], ["updated_at", "2016-04-23 11:50:25.213677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:25.215082"], ["updated_at", "2016-04-23 11:50:25.215082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:50:25.219226"], ["updated_at", "2016-04-23 11:50:25.219226"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:50:25.220714"], ["updated_at", "2016-04-23 11:50:25.220714"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:50:25.228336"], ["updated_at", "2016-04-23 11:50:25.228336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:50:25.229614"], ["updated_at", "2016-04-23 11:50:25.229614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:50:25.236280"], ["updated_at", "2016-04-23 11:50:25.236280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:25.238149"], ["updated_at", "2016-04-23 11:50:25.238149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:50:25.239261"], ["updated_at", "2016-04-23 11:50:25.239261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:50:25.242664"], ["updated_at", "2016-04-23 11:50:25.242664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:50:25.245268"], ["updated_at", "2016-04-23 11:50:25.245268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:50:25.246619"], ["updated_at", "2016-04-23 11:50:25.246619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:25.263402"], ["updated_at", "2016-04-23 11:50:25.263402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:25.268815"], ["updated_at", "2016-04-23 11:50:25.268815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:50:25.270196"], ["updated_at", "2016-04-23 11:50:25.270196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:25.275474"], ["updated_at", "2016-04-23 11:50:25.275474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:50:25.276736"], ["updated_at", "2016-04-23 11:50:25.276736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:50:25.387116"], ["updated_at", "2016-04-23 11:50:25.387116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:50:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.98ms) Completed 200 OK in 15ms (Views: 14.4ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Dina Cummings"], ["created_at", "2016-04-23 11:50:25.544524"], ["updated_at", "2016-04-23 11:50:25.544524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:50:25.545947"], ["updated_at", "2016-04-23 11:50:25.545947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kayli Haley"], ["created_at", "2016-04-23 11:50:25.556274"], ["updated_at", "2016-04-23 11:50:25.556274"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Cassin-Blick"], ["body", "Provident sequi nesciunt explicabo perspiciatis rerum repudiandae vel."], ["created_at", "2016-04-23 11:50:25.558013"], ["updated_at", "2016-04-23 11:50:25.558013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.21ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (22.36ms) Completed 200 OK in 36ms (Views: 26.7ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.05ms) Completed 403 Forbidden in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:40.547174"], ["updated_at", "2016-04-23 11:55:40.547174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:40.562841"], ["updated_at", "2016-04-23 11:55:40.562841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:55:40.564188"], ["updated_at", "2016-04-23 11:55:40.564188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:40.571086"], ["updated_at", "2016-04-23 11:55:40.571086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:55:40.572538"], ["updated_at", "2016-04-23 11:55:40.572538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:40.581130"], ["updated_at", "2016-04-23 11:55:40.581130"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:40.751184"], ["updated_at", "2016-04-23 11:55:40.751184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:40.754101"], ["updated_at", "2016-04-23 11:55:40.754101"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:40.764662"], ["updated_at", "2016-04-23 11:55:40.764662"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:40.766184"], ["updated_at", "2016-04-23 11:55:40.766184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:55:40.767620"], ["updated_at", "2016-04-23 11:55:40.767620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:40.776153"], ["updated_at", "2016-04-23 11:55:40.776153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:40.777652"], ["updated_at", "2016-04-23 11:55:40.777652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:40.781453"], ["updated_at", "2016-04-23 11:55:40.781453"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:40.790729"], ["updated_at", "2016-04-23 11:55:40.790729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:55:40.792115"], ["updated_at", "2016-04-23 11:55:40.792115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:55:40.799248"], ["updated_at", "2016-04-23 11:55:40.799248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (8.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:55:40.810477"], ["updated_at", "2016-04-23 11:55:40.810477"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:40.812598"], ["updated_at", "2016-04-23 11:55:40.812598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:55:40.815626"], ["updated_at", "2016-04-23 11:55:40.815626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:55:40.816970"], ["updated_at", "2016-04-23 11:55:40.816970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:55:40.822787"], ["updated_at", "2016-04-23 11:55:40.822787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:40.824283"], ["updated_at", "2016-04-23 11:55:40.824283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:55:40.825345"], ["updated_at", "2016-04-23 11:55:40.825345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Frederick O'Connell"], ["created_at", "2016-04-23 11:55:40.829911"], ["updated_at", "2016-04-23 11:55:40.829911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:55:40.831309"], ["updated_at", "2016-04-23 11:55:40.831309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Donavon Kovacek"], ["created_at", "2016-04-23 11:55:40.834477"], ["updated_at", "2016-04-23 11:55:40.834477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "O'Connell-Kohler"], ["body", "Molestias dolorum porro aliquam voluptas rem."], ["created_at", "2016-04-23 11:55:40.836262"], ["updated_at", "2016-04-23 11:55:40.836262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:56.846596"], ["updated_at", "2016-04-23 11:55:56.846596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:56.852646"], ["updated_at", "2016-04-23 11:55:56.852646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:56.884104"], ["updated_at", "2016-04-23 11:55:56.884104"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:56.892886"], ["updated_at", "2016-04-23 11:55:56.892886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:56.894309"], ["updated_at", "2016-04-23 11:55:56.894309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:55:56.895560"], ["updated_at", "2016-04-23 11:55:56.895560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:56.903147"], ["updated_at", "2016-04-23 11:55:56.903147"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:55:56.904558"], ["updated_at", "2016-04-23 11:55:56.904558"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:55:56.908111"], ["updated_at", "2016-04-23 11:55:56.908111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:55:56.909353"], ["updated_at", "2016-04-23 11:55:56.909353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:55:56.916164"], ["updated_at", "2016-04-23 11:55:56.916164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:55:56.919421"], ["updated_at", "2016-04-23 11:55:56.919421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:56.920756"], ["updated_at", "2016-04-23 11:55:56.920756"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:55:56.925224"], ["updated_at", "2016-04-23 11:55:56.925224"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:55:56.928333"], ["updated_at", "2016-04-23 11:55:56.928333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:55:56.931043"], ["updated_at", "2016-04-23 11:55:56.931043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:55:56.935253"], ["updated_at", "2016-04-23 11:55:56.935253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:55:56.936526"], ["updated_at", "2016-04-23 11:55:56.936526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Emile Doyle"], ["created_at", "2016-04-23 11:55:56.980441"], ["updated_at", "2016-04-23 11:55:56.980441"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:55:56.981881"], ["updated_at", "2016-04-23 11:55:56.981881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Cleo O'Conner"], ["created_at", "2016-04-23 11:55:57.010560"], ["updated_at", "2016-04-23 11:55:57.010560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Becker Group"], ["body", "Deserunt dolor magnam dolores labore aut."], ["created_at", "2016-04-23 11:55:57.012201"], ["updated_at", "2016-04-23 11:55:57.012201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.42ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:57.215249"], ["updated_at", "2016-04-23 11:55:57.215249"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:57.245257"], ["updated_at", "2016-04-23 11:55:57.245257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:57.263327"], ["updated_at", "2016-04-23 11:55:57.263327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:55:57.265866"], ["updated_at", "2016-04-23 11:55:57.265866"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:55:57.275393"], ["updated_at", "2016-04-23 11:55:57.275393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:55:57.277258"], ["updated_at", "2016-04-23 11:55:57.277258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.4ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Imogene Gibson"], ["created_at", "2016-04-23 11:57:35.081229"], ["updated_at", "2016-04-23 11:57:35.081229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:57:35.087785"], ["updated_at", "2016-04-23 11:57:35.087785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Halie Hermiston"], ["created_at", "2016-04-23 11:57:35.114719"], ["updated_at", "2016-04-23 11:57:35.114719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Collier, Rutherford and Pagac"], ["body", "Optio vel alias dolore quis iure saepe quam repellendus."], ["created_at", "2016-04-23 11:57:35.116341"], ["updated_at", "2016-04-23 11:57:35.116341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:57:35.227902"], ["updated_at", "2016-04-23 11:57:35.227902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:57:35.229898"], ["updated_at", "2016-04-23 11:57:35.229898"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:57:35.237978"], ["updated_at", "2016-04-23 11:57:35.237978"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:57:35.242233"], ["updated_at", "2016-04-23 11:57:35.242233"]]  (0.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:57:35.244824"], ["updated_at", "2016-04-23 11:57:35.244824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:57:35.247595"], ["updated_at", "2016-04-23 11:57:35.247595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:57:35.251872"], ["updated_at", "2016-04-23 11:57:35.251872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:57:35.253150"], ["updated_at", "2016-04-23 11:57:35.253150"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:57:35.256416"], ["updated_at", "2016-04-23 11:57:35.256416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:57:35.257840"], ["updated_at", "2016-04-23 11:57:35.257840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:57:35.265597"], ["updated_at", "2016-04-23 11:57:35.265597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:57:35.266963"], ["updated_at", "2016-04-23 11:57:35.266963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:57:35.274528"], ["updated_at", "2016-04-23 11:57:35.274528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:57:35.284657"], ["updated_at", "2016-04-23 11:57:35.284657"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:57:35.286231"], ["updated_at", "2016-04-23 11:57:35.286231"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:57:35.290043"], ["updated_at", "2016-04-23 11:57:35.290043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:57:35.291424"], ["updated_at", "2016-04-23 11:57:35.291424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:57:35.292593"], ["updated_at", "2016-04-23 11:57:35.292593"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.2ms) Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:57:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:57:35.447405"], ["updated_at", "2016-04-23 11:57:35.447405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:57:35.455698"], ["updated_at", "2016-04-23 11:57:35.455698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:57:35.456989"], ["updated_at", "2016-04-23 11:57:35.456989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:57:35.463580"], ["updated_at", "2016-04-23 11:57:35.463580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:57:35.465026"], ["updated_at", "2016-04-23 11:57:35.465026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:57:35.560100"], ["updated_at", "2016-04-23 11:57:35.560100"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.45ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 21:59:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 403 Forbidden in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.59ms) Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:59:36.964681"], ["updated_at", "2016-04-23 11:59:36.964681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:59:36.973253"], ["updated_at", "2016-04-23 11:59:36.973253"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:59:36.974672"], ["updated_at", "2016-04-23 11:59:36.974672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:59:36.980516"], ["updated_at", "2016-04-23 11:59:36.980516"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 11:59:36.981840"], ["updated_at", "2016-04-23 11:59:36.981840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 11:59:37.070975"], ["updated_at", "2016-04-23 11:59:37.070975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.62ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:59:37.290978"], ["updated_at", "2016-04-23 11:59:37.290978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:59:37.292521"], ["updated_at", "2016-04-23 11:59:37.292521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:59:37.295448"], ["updated_at", "2016-04-23 11:59:37.295448"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:59:37.301652"], ["updated_at", "2016-04-23 11:59:37.301652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 11:59:37.303095"], ["updated_at", "2016-04-23 11:59:37.303095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:59:37.314075"], ["updated_at", "2016-04-23 11:59:37.314075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:59:37.315419"], ["updated_at", "2016-04-23 11:59:37.315419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:59:37.323789"], ["updated_at", "2016-04-23 11:59:37.323789"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:59:37.331801"], ["updated_at", "2016-04-23 11:59:37.331801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:59:37.333409"], ["updated_at", "2016-04-23 11:59:37.333409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 11:59:37.334690"], ["updated_at", "2016-04-23 11:59:37.334690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 11:59:37.341933"], ["updated_at", "2016-04-23 11:59:37.341933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 11:59:37.343298"], ["updated_at", "2016-04-23 11:59:37.343298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 11:59:37.349736"], ["updated_at", "2016-04-23 11:59:37.349736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 11:59:37.351095"], ["updated_at", "2016-04-23 11:59:37.351095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 11:59:37.352206"], ["updated_at", "2016-04-23 11:59:37.352206"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 11:59:37.357333"], ["updated_at", "2016-04-23 11:59:37.357333"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 11:59:37.359090"], ["updated_at", "2016-04-23 11:59:37.359090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mae Conroy"], ["created_at", "2016-04-23 11:59:37.363356"], ["updated_at", "2016-04-23 11:59:37.363356"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Bechtelar Inc"], ["body", "Aspernatur reprehenderit quia perferendis aut quod."], ["created_at", "2016-04-23 11:59:37.365120"], ["updated_at", "2016-04-23 11:59:37.365120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Judson Reichert"], ["created_at", "2016-04-23 11:59:37.370546"], ["updated_at", "2016-04-23 11:59:37.370546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 11:59:37.372037"], ["updated_at", "2016-04-23 11:59:37.372037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.12ms) Completed 200 OK in 26ms (Views: 19.2ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.46ms) Completed 422 Unprocessable Entity in 10ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:00:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Tatyana Predovic"], ["created_at", "2016-04-23 12:00:53.037301"], ["updated_at", "2016-04-23 12:00:53.037301"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Smith-Pfannerstill"], ["body", "Dolores at eos doloremque recusandae omnis sit occaecati velit."], ["created_at", "2016-04-23 12:00:53.045321"], ["updated_at", "2016-04-23 12:00:53.045321"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Olaf Stracke"], ["created_at", "2016-04-23 12:00:53.055832"], ["updated_at", "2016-04-23 12:00:53.055832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:00:53.057349"], ["updated_at", "2016-04-23 12:00:53.057349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:00:53.110876"], ["updated_at", "2016-04-23 12:00:53.110876"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:00:53.115489"], ["updated_at", "2016-04-23 12:00:53.115489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:00:53.125941"], ["updated_at", "2016-04-23 12:00:53.125941"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:00:53.129496"], ["updated_at", "2016-04-23 12:00:53.129496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:00:53.131019"], ["updated_at", "2016-04-23 12:00:53.131019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:00:53.135374"], ["updated_at", "2016-04-23 12:00:53.135374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:00:53.139667"], ["updated_at", "2016-04-23 12:00:53.139667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:00:53.140966"], ["updated_at", "2016-04-23 12:00:53.140966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:00:53.144622"], ["updated_at", "2016-04-23 12:00:53.144622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:00:53.146159"], ["updated_at", "2016-04-23 12:00:53.146159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:00:53.147345"], ["updated_at", "2016-04-23 12:00:53.147345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:00:53.154986"], ["updated_at", "2016-04-23 12:00:53.154986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:00:53.156467"], ["updated_at", "2016-04-23 12:00:53.156467"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:00:53.163793"], ["updated_at", "2016-04-23 12:00:53.163793"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:00:53.165226"], ["updated_at", "2016-04-23 12:00:53.165226"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:00:53.172022"], ["updated_at", "2016-04-23 12:00:53.172022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:00:53.173324"], ["updated_at", "2016-04-23 12:00:53.173324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:00:53.178736"], ["updated_at", "2016-04-23 12:00:53.178736"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:00:53.187547"], ["updated_at", "2016-04-23 12:00:53.187547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:00:53.197262"], ["updated_at", "2016-04-23 12:00:53.197262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:00:53.209699"], ["updated_at", "2016-04-23 12:00:53.209699"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:00:53.211135"], ["updated_at", "2016-04-23 12:00:53.211135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:00:53.217272"], ["updated_at", "2016-04-23 12:00:53.217272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:00:53.218949"], ["updated_at", "2016-04-23 12:00:53.218949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Freida Anderson"], ["created_at", "2016-04-23 12:02:01.135060"], ["updated_at", "2016-04-23 12:02:01.135060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Yost-Ratke"], ["body", "Sit commodi consequatur minima exercitationem."], ["created_at", "2016-04-23 12:02:01.141998"], ["updated_at", "2016-04-23 12:02:01.141998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Libby Lowe MD"], ["created_at", "2016-04-23 12:02:40.351397"], ["updated_at", "2016-04-23 12:02:40.351397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Wyman, Hammes and Nikolaus"], ["body", "Nisi aut nihil eligendi aut."], ["created_at", "2016-04-23 12:02:40.358136"], ["updated_at", "2016-04-23 12:02:40.358136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kenton Rosenbaum DVM"], ["created_at", "2016-04-23 12:03:06.495023"], ["updated_at", "2016-04-23 12:03:06.495023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Morissette, Lehner and Wehner"], ["body", "Magni asperiores voluptate iure."], ["created_at", "2016-04-23 12:03:06.501987"], ["updated_at", "2016-04-23 12:03:06.501987"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mark Daugherty"], ["created_at", "2016-04-23 12:04:00.330753"], ["updated_at", "2016-04-23 12:04:00.330753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:04:00.337652"], ["updated_at", "2016-04-23 12:04:00.337652"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Favian Carroll PhD"], ["created_at", "2016-04-23 12:04:00.362860"], ["updated_at", "2016-04-23 12:04:00.362860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Feil-Schiller"], ["body", "Ullam qui in minima dignissimos facilis dolores impedit harum."], ["created_at", "2016-04-23 12:04:00.364600"], ["updated_at", "2016-04-23 12:04:00.364600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (2.5ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Lue Shields"], ["created_at", "2016-04-23 12:04:25.585424"], ["updated_at", "2016-04-23 12:04:25.585424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Kuhn, Weber and King"], ["body", "Eos nam dolore animi."], ["created_at", "2016-04-23 12:04:25.592481"], ["updated_at", "2016-04-23 12:04:25.592481"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Kenyatta Morissette"], ["created_at", "2016-04-23 12:04:25.626590"], ["updated_at", "2016-04-23 12:04:25.626590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:04:25.628027"], ["updated_at", "2016-04-23 12:04:25.628027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Christopher Heaney I"], ["created_at", "2016-04-23 12:06:07.510093"], ["updated_at", "2016-04-23 12:06:07.510093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:06:07.517012"], ["updated_at", "2016-04-23 12:06:07.517012"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Laurine West"], ["created_at", "2016-04-23 12:06:07.545408"], ["updated_at", "2016-04-23 12:06:07.545408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Balistreri-Towne"], ["body", "Perspiciatis officia quidem aut ab tenetur rerum."], ["created_at", "2016-04-23 12:06:07.547407"], ["updated_at", "2016-04-23 12:06:07.547407"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Abelardo Corwin"], ["created_at", "2016-04-23 12:13:28.693555"], ["updated_at", "2016-04-23 12:13:28.693555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:13:28.707040"], ["updated_at", "2016-04-23 12:13:28.707040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nova Corwin"], ["created_at", "2016-04-23 12:13:28.732479"], ["updated_at", "2016-04-23 12:13:28.732479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Blanda Inc"], ["body", "Doloremque autem consequatur corrupti."], ["created_at", "2016-04-23 12:13:28.734123"], ["updated_at", "2016-04-23 12:13:28.734123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Sheridan Jerde"], ["created_at", "2016-04-23 12:13:55.475651"], ["updated_at", "2016-04-23 12:13:55.475651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:13:55.482523"], ["updated_at", "2016-04-23 12:13:55.482523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Cindy Conroy"], ["created_at", "2016-04-23 12:13:55.506739"], ["updated_at", "2016-04-23 12:13:55.506739"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Wilkinson Inc"], ["body", "Eaque est qui quos aliquam et numquam est ut."], ["created_at", "2016-04-23 12:13:55.508381"], ["updated_at", "2016-04-23 12:13:55.508381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Jettie Shields"], ["created_at", "2016-04-23 12:14:05.925983"], ["updated_at", "2016-04-23 12:14:05.925983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Kuhn, Sawayn and Rolfson"], ["body", "Et dolor atque magnam nam dolor."], ["created_at", "2016-04-23 12:14:05.932952"], ["updated_at", "2016-04-23 12:14:05.932952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Mercedes Cruickshank"], ["created_at", "2016-04-23 12:14:05.979844"], ["updated_at", "2016-04-23 12:14:05.979844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:14:05.981266"], ["updated_at", "2016-04-23 12:14:05.981266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Antone Reichel"], ["created_at", "2016-04-23 12:16:14.080203"], ["updated_at", "2016-04-23 12:16:14.080203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Gleason Group"], ["body", "Quia qui rem tempora eum voluptas."], ["created_at", "2016-04-23 12:16:14.086869"], ["updated_at", "2016-04-23 12:16:14.086869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Danika Reinger"], ["created_at", "2016-04-23 12:16:14.130065"], ["updated_at", "2016-04-23 12:16:14.130065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:16:14.131543"], ["updated_at", "2016-04-23 12:16:14.131543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Deshaun Wiza"], ["created_at", "2016-04-23 12:16:43.654000"], ["updated_at", "2016-04-23 12:16:43.654000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Sanford-Feest"], ["body", "Eius fuga architecto dolore quisquam."], ["created_at", "2016-04-23 12:16:43.660777"], ["updated_at", "2016-04-23 12:16:43.660777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Melvina Johnson"], ["created_at", "2016-04-23 12:16:43.703884"], ["updated_at", "2016-04-23 12:16:43.703884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:16:43.705296"], ["updated_at", "2016-04-23 12:16:43.705296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Jasmin Jacobi"], ["created_at", "2016-04-23 12:18:00.965725"], ["updated_at", "2016-04-23 12:18:00.965725"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:18:00.972671"], ["updated_at", "2016-04-23 12:18:00.972671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Helmer Leffler V"], ["created_at", "2016-04-23 12:18:01.001362"], ["updated_at", "2016-04-23 12:18:01.001362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Hudson, Harber and Gulgowski"], ["body", "In vitae expedita ut est officiis aperiam nostrum ullam."], ["created_at", "2016-04-23 12:18:01.003188"], ["updated_at", "2016-04-23 12:18:01.003188"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Tristian Marvin"], ["created_at", "2016-04-23 12:18:53.819216"], ["updated_at", "2016-04-23 12:18:53.819216"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Rogahn Inc"], ["body", "Deserunt rerum ab sapiente sit."], ["created_at", "2016-04-23 12:18:53.826401"], ["updated_at", "2016-04-23 12:18:53.826401"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Devante Stiedemann"], ["created_at", "2016-04-23 12:19:22.541058"], ["updated_at", "2016-04-23 12:19:22.541058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Wilkinson, Ledner and Herzog"], ["body", "Aliquid voluptate officiis rerum assumenda velit non."], ["created_at", "2016-04-23 12:19:22.548232"], ["updated_at", "2016-04-23 12:19:22.548232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Hilbert Stamm"], ["created_at", "2016-04-23 12:19:54.081422"], ["updated_at", "2016-04-23 12:19:54.081422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Davis and Sons"], ["body", "Non dolore aut soluta provident."], ["created_at", "2016-04-23 12:19:54.088339"], ["updated_at", "2016-04-23 12:19:54.088339"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Maria Okuneva"], ["created_at", "2016-04-23 12:20:02.216508"], ["updated_at", "2016-04-23 12:20:02.216508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Renner LLC"], ["body", "Inventore error omnis perferendis quia aspernatur nisi ab."], ["created_at", "2016-04-23 12:20:02.223612"], ["updated_at", "2016-04-23 12:20:02.223612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Pete Hackett"], ["created_at", "2016-04-23 12:20:53.242872"], ["updated_at", "2016-04-23 12:20:53.242872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Reinger-Torphy"], ["body", "Cum totam aut sit dolore quo id consequatur deleniti."], ["created_at", "2016-04-23 12:20:53.250085"], ["updated_at", "2016-04-23 12:20:53.250085"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Maxie Bernier"], ["created_at", "2016-04-23 12:21:29.880181"], ["updated_at", "2016-04-23 12:21:29.880181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Upton, Zieme and Casper"], ["body", "Dolorem et eum voluptate vitae voluptatum est vero."], ["created_at", "2016-04-23 12:21:29.887477"], ["updated_at", "2016-04-23 12:21:29.887477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Belle Beahan"], ["created_at", "2016-04-23 12:22:51.220738"], ["updated_at", "2016-04-23 12:22:51.220738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Fadel Inc"], ["body", "Voluptas iusto molestiae neque dicta."], ["created_at", "2016-04-23 12:22:51.228292"], ["updated_at", "2016-04-23 12:22:51.228292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Katrine Monahan DDS"], ["created_at", "2016-04-23 12:25:37.769125"], ["updated_at", "2016-04-23 12:25:37.769125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Koepp, Pouros and Thompson"], ["body", "Quo nihil impedit ea iusto est."], ["created_at", "2016-04-23 12:25:37.775977"], ["updated_at", "2016-04-23 12:25:37.775977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Aglae Bradtke"], ["created_at", "2016-04-23 12:28:24.132709"], ["updated_at", "2016-04-23 12:28:24.132709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Lang, Weimann and Kilback"], ["body", "In totam sit aut deleniti."], ["created_at", "2016-04-23 12:28:24.139666"], ["updated_at", "2016-04-23 12:28:24.139666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Pietro Labadie"], ["created_at", "2016-04-23 12:28:53.268359"], ["updated_at", "2016-04-23 12:28:53.268359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Nikolaus, Kerluke and Simonis"], ["body", "Hic et dicta qui voluptatem atque distinctio dolor sit."], ["created_at", "2016-04-23 12:28:53.276195"], ["updated_at", "2016-04-23 12:28:53.276195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Edward Douglas"], ["created_at", "2016-04-23 12:37:30.172237"], ["updated_at", "2016-04-23 12:37:30.172237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "DuBuque, Brakus and Cartwright"], ["body", "Velit quia sit odit possimus corrupti nostrum."], ["created_at", "2016-04-23 12:37:30.178941"], ["updated_at", "2016-04-23 12:37:30.178941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 1], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id") VALUES (?, ?) [["id", 2], ["post_id", 24]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mariah Feest"], ["created_at", "2016-04-23 12:41:21.799470"], ["updated_at", "2016-04-23 12:41:21.799470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Considine, Blick and Walker"], ["body", "Ut quos eum ipsa qui commodi harum qui."], ["created_at", "2016-04-23 12:41:21.806322"], ["updated_at", "2016-04-23 12:41:21.806322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Rossie Zieme"], ["created_at", "2016-04-23 12:41:44.559889"], ["updated_at", "2016-04-23 12:41:44.559889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Eichmann-Spinka"], ["body", "Excepturi autem corrupti non consequatur."], ["created_at", "2016-04-23 12:41:44.566628"], ["updated_at", "2016-04-23 12:41:44.566628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Catharine Streich"], ["created_at", "2016-04-23 12:42:11.016041"], ["updated_at", "2016-04-23 12:42:11.016041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Torphy-Thiel"], ["body", "Voluptas aut nesciunt hic non."], ["created_at", "2016-04-23 12:42:11.023049"], ["updated_at", "2016-04-23 12:42:11.023049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.2ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:57:16.929188"], ["updated_at", "2016-04-23 12:57:16.929188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:57:16.933080"], ["updated_at", "2016-04-23 12:57:16.933080"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:57:16.948100"], ["updated_at", "2016-04-23 12:57:16.948100"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:57:16.955565"], ["updated_at", "2016-04-23 12:57:16.955565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:57:16.958876"], ["updated_at", "2016-04-23 12:57:16.958876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:57:16.962976"], ["updated_at", "2016-04-23 12:57:16.962976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:57:16.964305"], ["updated_at", "2016-04-23 12:57:16.964305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:57:16.965407"], ["updated_at", "2016-04-23 12:57:16.965407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:57:16.972423"], ["updated_at", "2016-04-23 12:57:16.972423"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:57:16.974146"], ["updated_at", "2016-04-23 12:57:16.974146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:57:17.356918"], ["updated_at", "2016-04-23 12:57:17.356918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:57:17.358349"], ["updated_at", "2016-04-23 12:57:17.358349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:57:17.366079"], ["updated_at", "2016-04-23 12:57:17.366079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:57:17.367490"], ["updated_at", "2016-04-23 12:57:17.367490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:57:17.371840"], ["updated_at", "2016-04-23 12:57:17.371840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:57:17.373250"], ["updated_at", "2016-04-23 12:57:17.373250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:57:17.374772"], ["updated_at", "2016-04-23 12:57:17.374772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:57:17.382949"], ["updated_at", "2016-04-23 12:57:17.382949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Talon Klein"], ["created_at", "2016-04-23 12:57:17.441769"], ["updated_at", "2016-04-23 12:57:17.441769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:57:17.443319"], ["updated_at", "2016-04-23 12:57:17.443319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Onie Christiansen"], ["created_at", "2016-04-23 12:57:17.465946"], ["updated_at", "2016-04-23 12:57:17.465946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Glover-Blanda"], ["body", "Odio optio qui non vitae qui tenetur et."], ["created_at", "2016-04-23 12:57:17.467639"], ["updated_at", "2016-04-23 12:57:17.467639"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.5ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.44ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.09ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:57:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:57:17.664330"], ["updated_at", "2016-04-23 12:57:17.664330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:57:17.671963"], ["updated_at", "2016-04-23 12:57:17.671963"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:57:17.673517"], ["updated_at", "2016-04-23 12:57:17.673517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:57:17.680081"], ["updated_at", "2016-04-23 12:57:17.680081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:57:17.681792"], ["updated_at", "2016-04-23 12:57:17.681792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:57:17.788407"], ["updated_at", "2016-04-23 12:57:17.788407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.9ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.19ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.81ms) Completed 200 OK in 26ms (Views: 19.1ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:16 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:16.676473"], ["updated_at", "2016-04-23 12:58:16.676473"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:16.694031"], ["updated_at", "2016-04-23 12:58:16.694031"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:58:16.696136"], ["updated_at", "2016-04-23 12:58:16.696136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:16.708223"], ["updated_at", "2016-04-23 12:58:16.708223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:58:16.709497"], ["updated_at", "2016-04-23 12:58:16.709497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:16.726067"], ["updated_at", "2016-04-23 12:58:16.726067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Kevon Haley"], ["created_at", "2016-04-23 12:58:16.903089"], ["updated_at", "2016-04-23 12:58:16.903089"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Marks-Casper"], ["body", "Delectus reiciendis ut natus iure voluptatum quasi."], ["created_at", "2016-04-23 12:58:16.907559"], ["updated_at", "2016-04-23 12:58:16.907559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Christa Langosh"], ["created_at", "2016-04-23 12:58:16.932861"], ["updated_at", "2016-04-23 12:58:16.932861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:58:16.934308"], ["updated_at", "2016-04-23 12:58:16.934308"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:58:16.940914"], ["updated_at", "2016-04-23 12:58:16.940914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:58:16.943600"], ["updated_at", "2016-04-23 12:58:16.943600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:16.944917"], ["updated_at", "2016-04-23 12:58:16.944917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:16.947862"], ["updated_at", "2016-04-23 12:58:16.947862"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:16.949233"], ["updated_at", "2016-04-23 12:58:16.949233"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:58:16.950380"], ["updated_at", "2016-04-23 12:58:16.950380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:16.958149"], ["updated_at", "2016-04-23 12:58:16.958149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:16.959471"], ["updated_at", "2016-04-23 12:58:16.959471"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:16.963736"], ["updated_at", "2016-04-23 12:58:16.963736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:16.965285"], ["updated_at", "2016-04-23 12:58:16.965285"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:16.973263"], ["updated_at", "2016-04-23 12:58:16.973263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:58:16.974589"], ["updated_at", "2016-04-23 12:58:16.974589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:16.981887"], ["updated_at", "2016-04-23 12:58:16.981887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:58:16.989910"], ["updated_at", "2016-04-23 12:58:16.989910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:58:16.991432"], ["updated_at", "2016-04-23 12:58:16.991432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:58:16.994618"], ["updated_at", "2016-04-23 12:58:16.994618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:16.995917"], ["updated_at", "2016-04-23 12:58:16.995917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:58:16.997099"], ["updated_at", "2016-04-23 12:58:16.997099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.3ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.3ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dallas Kirlin"], ["created_at", "2016-04-23 12:58:31.471156"], ["updated_at", "2016-04-23 12:58:31.471156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Medhurst, Harvey and VonRueden"], ["body", "Voluptatum dolores ipsa error vel praesentium."], ["created_at", "2016-04-23 12:58:31.478614"], ["updated_at", "2016-04-23 12:58:31.478614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Miss Ona McCullough"], ["created_at", "2016-04-23 12:58:31.517390"], ["updated_at", "2016-04-23 12:58:31.517390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:58:31.518889"], ["updated_at", "2016-04-23 12:58:31.518889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.28ms) Completed 403 Forbidden in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:58:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.44ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:58:31.825325"], ["updated_at", "2016-04-23 12:58:31.825325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:31.826759"], ["updated_at", "2016-04-23 12:58:31.826759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:58:31.827906"], ["updated_at", "2016-04-23 12:58:31.827906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:58:31.835309"], ["updated_at", "2016-04-23 12:58:31.835309"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:58:31.837136"], ["updated_at", "2016-04-23 12:58:31.837136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:31.842142"], ["updated_at", "2016-04-23 12:58:31.842142"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:31.852458"], ["updated_at", "2016-04-23 12:58:31.852458"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:58:31.854646"], ["updated_at", "2016-04-23 12:58:31.854646"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:31.865854"], ["updated_at", "2016-04-23 12:58:31.865854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:31.867526"], ["updated_at", "2016-04-23 12:58:31.867526"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:58:31.868690"], ["updated_at", "2016-04-23 12:58:31.868690"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:31.879156"], ["updated_at", "2016-04-23 12:58:31.879156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:31.880540"], ["updated_at", "2016-04-23 12:58:31.880540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:58:31.890222"], ["updated_at", "2016-04-23 12:58:31.890222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:58:31.891619"], ["updated_at", "2016-04-23 12:58:31.891619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:58:31.896564"], ["updated_at", "2016-04-23 12:58:31.896564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:58:31.898047"], ["updated_at", "2016-04-23 12:58:31.898047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:58:31.901715"], ["updated_at", "2016-04-23 12:58:31.901715"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:31.928753"], ["updated_at", "2016-04-23 12:58:31.928753"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:31.937990"], ["updated_at", "2016-04-23 12:58:31.937990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:58:31.939331"], ["updated_at", "2016-04-23 12:58:31.939331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:31.945363"], ["updated_at", "2016-04-23 12:58:31.945363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:58:31.946864"], ["updated_at", "2016-04-23 12:58:31.946864"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:58:32.059698"], ["updated_at", "2016-04-23 12:58:32.059698"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.1ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.52ms) Completed 200 OK in 33ms (Views: 24.8ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:03.143153"], ["updated_at", "2016-04-23 12:59:03.143153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:03.144760"], ["updated_at", "2016-04-23 12:59:03.144760"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:03.154758"], ["updated_at", "2016-04-23 12:59:03.154758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:03.158005"], ["updated_at", "2016-04-23 12:59:03.158005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:03.159262"], ["updated_at", "2016-04-23 12:59:03.159262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:59:03.160328"], ["updated_at", "2016-04-23 12:59:03.160328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:03.165081"], ["updated_at", "2016-04-23 12:59:03.165081"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:59:03.166380"], ["updated_at", "2016-04-23 12:59:03.166380"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:03.173347"], ["updated_at", "2016-04-23 12:59:03.173347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:03.174935"], ["updated_at", "2016-04-23 12:59:03.174935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:59:03.176042"], ["updated_at", "2016-04-23 12:59:03.176042"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:03.195461"], ["updated_at", "2016-04-23 12:59:03.195461"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:03.196788"], ["updated_at", "2016-04-23 12:59:03.196788"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:03.200955"], ["updated_at", "2016-04-23 12:59:03.200955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:59:03.202300"], ["updated_at", "2016-04-23 12:59:03.202300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:03.211437"], ["updated_at", "2016-04-23 12:59:03.211437"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:03.219062"], ["updated_at", "2016-04-23 12:59:03.219062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:03.220377"], ["updated_at", "2016-04-23 12:59:03.220377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:03.373995"], ["updated_at", "2016-04-23 12:59:03.373995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:03.462475"], ["updated_at", "2016-04-23 12:59:03.462475"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:03.474690"], ["updated_at", "2016-04-23 12:59:03.474690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:03.475975"], ["updated_at", "2016-04-23 12:59:03.475975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:03.481746"], ["updated_at", "2016-04-23 12:59:03.481746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:03.482984"], ["updated_at", "2016-04-23 12:59:03.482984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.59ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.46ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Josefina Reilly"], ["created_at", "2016-04-23 12:59:03.575209"], ["updated_at", "2016-04-23 12:59:03.575209"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:59:03.576748"], ["updated_at", "2016-04-23 12:59:03.576748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Allison Rempel"], ["created_at", "2016-04-23 12:59:03.583785"], ["updated_at", "2016-04-23 12:59:03.583785"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Jakubowski, Greenholt and Stamm"], ["body", "Animi deleniti quia sint nam voluptas rem."], ["created_at", "2016-04-23 12:59:03.585730"], ["updated_at", "2016-04-23 12:59:03.585730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.12ms) Completed 403 Forbidden in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Domenick Hamill"], ["created_at", "2016-04-23 12:59:15.350233"], ["updated_at", "2016-04-23 12:59:15.350233"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Gerlach-Schroeder"], ["body", "Qui sed temporibus dolor id."], ["created_at", "2016-04-23 12:59:15.357183"], ["updated_at", "2016-04-23 12:59:15.357183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Franz Schultz"], ["created_at", "2016-04-23 12:59:15.388860"], ["updated_at", "2016-04-23 12:59:15.388860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:59:15.390440"], ["updated_at", "2016-04-23 12:59:15.390440"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:15.480958"], ["updated_at", "2016-04-23 12:59:15.480958"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:15.580865"], ["updated_at", "2016-04-23 12:59:15.580865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:15.593343"], ["updated_at", "2016-04-23 12:59:15.593343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:15.594656"], ["updated_at", "2016-04-23 12:59:15.594656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:15.610608"], ["updated_at", "2016-04-23 12:59:15.610608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:15.612047"], ["updated_at", "2016-04-23 12:59:15.612047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:15.679317"], ["updated_at", "2016-04-23 12:59:15.679317"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:15.680867"], ["updated_at", "2016-04-23 12:59:15.680867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:59:15.682053"], ["updated_at", "2016-04-23 12:59:15.682053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:15.686272"], ["updated_at", "2016-04-23 12:59:15.686272"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:59:15.687505"], ["updated_at", "2016-04-23 12:59:15.687505"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:15.693443"], ["updated_at", "2016-04-23 12:59:15.693443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:15.695093"], ["updated_at", "2016-04-23 12:59:15.695093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:15.699004"], ["updated_at", "2016-04-23 12:59:15.699004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:15.700348"], ["updated_at", "2016-04-23 12:59:15.700348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:15.708045"], ["updated_at", "2016-04-23 12:59:15.708045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:15.709479"], ["updated_at", "2016-04-23 12:59:15.709479"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:59:15.710910"], ["updated_at", "2016-04-23 12:59:15.710910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:15.718873"], ["updated_at", "2016-04-23 12:59:15.718873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:59:15.720372"], ["updated_at", "2016-04-23 12:59:15.720372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:15.729537"], ["updated_at", "2016-04-23 12:59:15.729537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:15.737270"], ["updated_at", "2016-04-23 12:59:15.737270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:15.740087"], ["updated_at", "2016-04-23 12:59:15.740087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:15.741616"], ["updated_at", "2016-04-23 12:59:15.741616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.15ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (2.21ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:31 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 22:59:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (21.59ms) Completed 200 OK in 36ms (Views: 29.0ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:32.175866"], ["updated_at", "2016-04-23 12:59:32.175866"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:32.189720"], ["updated_at", "2016-04-23 12:59:32.189720"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:32.191124"], ["updated_at", "2016-04-23 12:59:32.191124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:32.197911"], ["updated_at", "2016-04-23 12:59:32.197911"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 12:59:32.200614"], ["updated_at", "2016-04-23 12:59:32.200614"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 12:59:32.214112"], ["updated_at", "2016-04-23 12:59:32.214112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.1ms) Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Luz Cruickshank I"], ["created_at", "2016-04-23 12:59:32.508580"], ["updated_at", "2016-04-23 12:59:32.508580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Howe and Sons"], ["body", "Error culpa consequatur nobis consequatur perferendis placeat est."], ["created_at", "2016-04-23 12:59:32.513019"], ["updated_at", "2016-04-23 12:59:32.513019"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dallas Kessler PhD"], ["created_at", "2016-04-23 12:59:32.532276"], ["updated_at", "2016-04-23 12:59:32.532276"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 12:59:32.534361"], ["updated_at", "2016-04-23 12:59:32.534361"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:32.541204"], ["updated_at", "2016-04-23 12:59:32.541204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 12:59:32.542581"], ["updated_at", "2016-04-23 12:59:32.542581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:32.551163"], ["updated_at", "2016-04-23 12:59:32.551163"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:32.560643"], ["updated_at", "2016-04-23 12:59:32.560643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:32.562181"], ["updated_at", "2016-04-23 12:59:32.562181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:32.567548"], ["updated_at", "2016-04-23 12:59:32.567548"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 12:59:32.569195"], ["updated_at", "2016-04-23 12:59:32.569195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 12:59:32.578778"], ["updated_at", "2016-04-23 12:59:32.578778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:32.580457"], ["updated_at", "2016-04-23 12:59:32.580457"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 12:59:32.582592"], ["updated_at", "2016-04-23 12:59:32.582592"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:32.593277"], ["updated_at", "2016-04-23 12:59:32.593277"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:32.594707"], ["updated_at", "2016-04-23 12:59:32.594707"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:32.597749"], ["updated_at", "2016-04-23 12:59:32.597749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 12:59:32.603006"], ["updated_at", "2016-04-23 12:59:32.603006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 12:59:32.604703"], ["updated_at", "2016-04-23 12:59:32.604703"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 12:59:32.605906"], ["updated_at", "2016-04-23 12:59:32.605906"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 12:59:32.609788"], ["updated_at", "2016-04-23 12:59:32.609788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 12:59:32.611191"], ["updated_at", "2016-04-23 12:59:32.611191"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:02:19.682494"], ["updated_at", "2016-04-23 13:02:19.682494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:02:19.693511"], ["updated_at", "2016-04-23 13:02:19.693511"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:02:19.694979"], ["updated_at", "2016-04-23 13:02:19.694979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:02:19.700619"], ["updated_at", "2016-04-23 13:02:19.700619"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 13:02:19.703824"], ["updated_at", "2016-04-23 13:02:19.703824"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:02:19.709357"], ["updated_at", "2016-04-23 13:02:19.709357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:02:19.710733"], ["updated_at", "2016-04-23 13:02:19.710733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 13:02:19.711951"], ["updated_at", "2016-04-23 13:02:19.711951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:02:19.719146"], ["updated_at", "2016-04-23 13:02:19.719146"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:02:19.720698"], ["updated_at", "2016-04-23 13:02:19.720698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:02:19.733157"], ["updated_at", "2016-04-23 13:02:19.733157"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:02:19.736533"], ["updated_at", "2016-04-23 13:02:19.736533"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:02:19.741570"], ["updated_at", "2016-04-23 13:02:19.741570"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 13:02:19.743140"], ["updated_at", "2016-04-23 13:02:19.743140"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:02:19.752506"], ["updated_at", "2016-04-23 13:02:19.752506"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:02:19.754155"], ["updated_at", "2016-04-23 13:02:19.754155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 13:02:19.755579"], ["updated_at", "2016-04-23 13:02:19.755579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:02:19.764319"], ["updated_at", "2016-04-23 13:02:19.764319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:02:19.859298"], ["updated_at", "2016-04-23 13:02:19.859298"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:02:19.950108"], ["updated_at", "2016-04-23 13:02:19.950108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:02:19.955696"], ["updated_at", "2016-04-23 13:02:19.955696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:02:19.957282"], ["updated_at", "2016-04-23 13:02:19.957282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:02:19.963090"], ["updated_at", "2016-04-23 13:02:19.963090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:02:19.964450"], ["updated_at", "2016-04-23 13:02:19.964450"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (25.92ms) Completed 200 OK in 27ms (Views: 26.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.36ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:02:20 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Paolo Tillman"], ["created_at", "2016-04-23 13:02:20.102749"], ["updated_at", "2016-04-23 13:02:20.102749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 13:02:20.104538"], ["updated_at", "2016-04-23 13:02:20.104538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Veronica Macejkovic"], ["created_at", "2016-04-23 13:02:20.112823"], ["updated_at", "2016-04-23 13:02:20.112823"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Prosacco-Cummerata"], ["body", "Quod eos ut ipsam ab velit."], ["created_at", "2016-04-23 13:02:20.114984"], ["updated_at", "2016-04-23 13:02:20.114984"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.68ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.76ms) Completed 403 Forbidden in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:28:29.055613"], ["updated_at", "2016-04-23 13:28:29.055613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:28:29.068291"], ["updated_at", "2016-04-23 13:28:29.068291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:28:29.069906"], ["updated_at", "2016-04-23 13:28:29.069906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:28:29.087006"], ["updated_at", "2016-04-23 13:28:29.087006"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:28:29.088899"], ["updated_at", "2016-04-23 13:28:29.088899"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:28:29.492510"], ["updated_at", "2016-04-23 13:28:29.492510"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 13:28:29.493872"], ["updated_at", "2016-04-23 13:28:29.493872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:28:29.504367"], ["updated_at", "2016-04-23 13:28:29.504367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:28:29.505809"], ["updated_at", "2016-04-23 13:28:29.505809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 13:28:29.506922"], ["updated_at", "2016-04-23 13:28:29.506922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:28:29.514625"], ["updated_at", "2016-04-23 13:28:29.514625"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:28:29.522365"], ["updated_at", "2016-04-23 13:28:29.522365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:28:29.523669"], ["updated_at", "2016-04-23 13:28:29.523669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:28:29.532993"], ["updated_at", "2016-04-23 13:28:29.532993"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 13:28:29.534529"], ["updated_at", "2016-04-23 13:28:29.534529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:28:29.538062"], ["updated_at", "2016-04-23 13:28:29.538062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:28:29.539413"], ["updated_at", "2016-04-23 13:28:29.539413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 13:28:29.540469"], ["updated_at", "2016-04-23 13:28:29.540469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.21ms) Completed 200 OK in 33ms (Views: 25.9ms | ActiveRecord: 0.6ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.04ms) Completed 403 Forbidden in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 422 Unprocessable Entity in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Maximillia Bergnaum"], ["created_at", "2016-04-23 13:29:03.795899"], ["updated_at", "2016-04-23 13:29:03.795899"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Ernser and Sons"], ["body", "Est totam distinctio rerum deserunt mollitia."], ["created_at", "2016-04-23 13:29:03.802030"], ["updated_at", "2016-04-23 13:29:03.802030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Liam Dibbert"], ["created_at", "2016-04-23 13:29:03.829070"], ["updated_at", "2016-04-23 13:29:03.829070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 13:29:03.830775"], ["updated_at", "2016-04-23 13:29:03.830775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:29:03 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:29:03.911982"], ["updated_at", "2016-04-23 13:29:03.911982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:29:03.920001"], ["updated_at", "2016-04-23 13:29:03.920001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:29:03.921462"], ["updated_at", "2016-04-23 13:29:03.921462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:29:03.927028"], ["updated_at", "2016-04-23 13:29:03.927028"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:29:03.928911"], ["updated_at", "2016-04-23 13:29:03.928911"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:29:04.021377"], ["updated_at", "2016-04-23 13:29:04.021377"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:29:04.065398"], ["updated_at", "2016-04-23 13:29:04.065398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:29:04.068152"], ["updated_at", "2016-04-23 13:29:04.068152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:29:04.069658"], ["updated_at", "2016-04-23 13:29:04.069658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:29:04.074323"], ["updated_at", "2016-04-23 13:29:04.074323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:29:04.076192"], ["updated_at", "2016-04-23 13:29:04.076192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:29:04.080835"], ["updated_at", "2016-04-23 13:29:04.080835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:29:04.082201"], ["updated_at", "2016-04-23 13:29:04.082201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 13:29:04.083283"], ["updated_at", "2016-04-23 13:29:04.083283"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:29:04.092690"], ["updated_at", "2016-04-23 13:29:04.092690"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:29:04.094031"], ["updated_at", "2016-04-23 13:29:04.094031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:29:04.103313"], ["updated_at", "2016-04-23 13:29:04.103313"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 13:29:04.105074"], ["updated_at", "2016-04-23 13:29:04.105074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:29:04.113844"], ["updated_at", "2016-04-23 13:29:04.113844"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:29:04.121893"], ["updated_at", "2016-04-23 13:29:04.121893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 13:29:04.123271"], ["updated_at", "2016-04-23 13:29:04.123271"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:29:04.126709"], ["updated_at", "2016-04-23 13:29:04.126709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:29:04.128137"], ["updated_at", "2016-04-23 13:29:04.128137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 13:29:04.129260"], ["updated_at", "2016-04-23 13:29:04.129260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:53:28.469406"], ["updated_at", "2016-04-23 13:53:28.469406"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:28.473054"], ["updated_at", "2016-04-23 13:53:28.473054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 13:53:28.474294"], ["updated_at", "2016-04-23 13:53:28.474294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:53:28.482473"], ["updated_at", "2016-04-23 13:53:28.482473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 13:53:28.483893"], ["updated_at", "2016-04-23 13:53:28.483893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:28.492654"], ["updated_at", "2016-04-23 13:53:28.492654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:28.496182"], ["updated_at", "2016-04-23 13:53:28.496182"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:28.516112"], ["updated_at", "2016-04-23 13:53:28.516112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:28.517613"], ["updated_at", "2016-04-23 13:53:28.517613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:28.528540"], ["updated_at", "2016-04-23 13:53:28.528540"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:28.536307"], ["updated_at", "2016-04-23 13:53:28.536307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:28.537783"], ["updated_at", "2016-04-23 13:53:28.537783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 13:53:28.538915"], ["updated_at", "2016-04-23 13:53:28.538915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:28.546580"], ["updated_at", "2016-04-23 13:53:28.546580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 13:53:28.547933"], ["updated_at", "2016-04-23 13:53:28.547933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:53:28.556260"], ["updated_at", "2016-04-23 13:53:28.556260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:53:28.559039"], ["updated_at", "2016-04-23 13:53:28.559039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:28.560655"], ["updated_at", "2016-04-23 13:53:28.560655"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Daphne Gerhold"], ["created_at", "2016-04-23 13:53:28.645484"], ["updated_at", "2016-04-23 13:53:28.645484"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 13:53:28.647455"], ["updated_at", "2016-04-23 13:53:28.647455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Magali Schaefer"], ["created_at", "2016-04-23 13:53:28.650830"], ["updated_at", "2016-04-23 13:53:28.650830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Goyette-Blick"], ["body", "Quia dolorum aut id recusandae est beatae delectus."], ["created_at", "2016-04-23 13:53:28.652449"], ["updated_at", "2016-04-23 13:53:28.652449"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.36ms) Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:28.838028"], ["updated_at", "2016-04-23 13:53:28.838028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:28.843550"], ["updated_at", "2016-04-23 13:53:28.843550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:53:28.846160"], ["updated_at", "2016-04-23 13:53:28.846160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:28.851719"], ["updated_at", "2016-04-23 13:53:28.851719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:53:28.853169"], ["updated_at", "2016-04-23 13:53:28.853169"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:28.861171"], ["updated_at", "2016-04-23 13:53:28.861171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:53:53.638729"], ["updated_at", "2016-04-23 13:53:53.638729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:53.642304"], ["updated_at", "2016-04-23 13:53:53.642304"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:53:53.650943"], ["updated_at", "2016-04-23 13:53:53.650943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:53.658675"], ["updated_at", "2016-04-23 13:53:53.658675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 13:53:53.660143"], ["updated_at", "2016-04-23 13:53:53.660143"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:53.687557"], ["updated_at", "2016-04-23 13:53:53.687557"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:53.689305"], ["updated_at", "2016-04-23 13:53:53.689305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 13:53:53.690547"], ["updated_at", "2016-04-23 13:53:53.690547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:53.698652"], ["updated_at", "2016-04-23 13:53:53.698652"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:53.699990"], ["updated_at", "2016-04-23 13:53:53.699990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 13:53:53.707510"], ["updated_at", "2016-04-23 13:53:53.707510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:53.708981"], ["updated_at", "2016-04-23 13:53:53.708981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 13:53:53.713711"], ["updated_at", "2016-04-23 13:53:53.713711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 13:53:53.721804"], ["updated_at", "2016-04-23 13:53:53.721804"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 13:53:53.723551"], ["updated_at", "2016-04-23 13:53:53.723551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 13:53:53.724726"], ["updated_at", "2016-04-23 13:53:53.724726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 13:53:53.729702"], ["updated_at", "2016-04-23 13:53:53.729702"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 13:53:53.731112"], ["updated_at", "2016-04-23 13:53:53.731112"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Berta Stracke Jr."], ["created_at", "2016-04-23 13:53:53.736554"], ["updated_at", "2016-04-23 13:53:53.736554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 13:53:53.738180"], ["updated_at", "2016-04-23 13:53:53.738180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Antwon Robel"], ["created_at", "2016-04-23 13:53:53.756470"], ["updated_at", "2016-04-23 13:53:53.756470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Keebler, Padberg and Ebert"], ["body", "Excepturi quia ea voluptatem error delectus sint accusamus occaecati."], ["created_at", "2016-04-23 13:53:53.758324"], ["updated_at", "2016-04-23 13:53:53.758324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.53ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-23 23:53:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:54.043999"], ["updated_at", "2016-04-23 13:53:54.043999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:54.149621"], ["updated_at", "2016-04-23 13:53:54.149621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:54.155315"], ["updated_at", "2016-04-23 13:53:54.155315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:53:54.157405"], ["updated_at", "2016-04-23 13:53:54.157405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 13:53:54.163369"], ["updated_at", "2016-04-23 13:53:54.163369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 13:53:54.164815"], ["updated_at", "2016-04-23 13:53:54.164815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jules Beatty"], ["created_at", "2016-04-23 14:00:14.164986"], ["updated_at", "2016-04-23 14:00:14.164986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Ebert, Abbott and Torp"], ["body", "Dolore quisquam porro est impedit optio."], ["created_at", "2016-04-23 14:00:14.173302"], ["updated_at", "2016-04-23 14:00:14.173302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dudley Gulgowski"], ["created_at", "2016-04-23 14:00:14.211522"], ["updated_at", "2016-04-23 14:00:14.211522"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 14:00:14.213273"], ["updated_at", "2016-04-23 14:00:14.213273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:00:14.258743"], ["updated_at", "2016-04-23 14:00:14.258743"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:00:14.355024"], ["updated_at", "2016-04-23 14:00:14.355024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:00:14.367927"], ["updated_at", "2016-04-23 14:00:14.367927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:00:14.369202"], ["updated_at", "2016-04-23 14:00:14.369202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:00:14.375976"], ["updated_at", "2016-04-23 14:00:14.375976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:00:14.377306"], ["updated_at", "2016-04-23 14:00:14.377306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.39ms) Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.61ms) Completed 403 Forbidden in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.53ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.44ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:00:14.644512"], ["updated_at", "2016-04-23 14:00:14.644512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 14:00:14.646102"], ["updated_at", "2016-04-23 14:00:14.646102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:00:14.650867"], ["updated_at", "2016-04-23 14:00:14.650867"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:00:14.652564"], ["updated_at", "2016-04-23 14:00:14.652564"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 14:00:14.654076"], ["updated_at", "2016-04-23 14:00:14.654076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:00:14.657616"], ["updated_at", "2016-04-23 14:00:14.657616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:00:14.660148"], ["updated_at", "2016-04-23 14:00:14.660148"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:00:14.661551"], ["updated_at", "2016-04-23 14:00:14.661551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:00:14.664536"], ["updated_at", "2016-04-23 14:00:14.664536"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:00:14.665893"], ["updated_at", "2016-04-23 14:00:14.665893"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:00:14.671180"], ["updated_at", "2016-04-23 14:00:14.671180"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:00:14.673141"], ["updated_at", "2016-04-23 14:00:14.673141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 14:00:14.674432"], ["updated_at", "2016-04-23 14:00:14.674432"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:00:14.682849"], ["updated_at", "2016-04-23 14:00:14.682849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:00:14.684262"], ["updated_at", "2016-04-23 14:00:14.684262"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:00:14.692739"], ["updated_at", "2016-04-23 14:00:14.692739"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:00:14.700476"], ["updated_at", "2016-04-23 14:00:14.700476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 14:00:14.701920"], ["updated_at", "2016-04-23 14:00:14.701920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:13:17.755341"], ["updated_at", "2016-04-23 14:13:17.755341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:17.758712"], ["updated_at", "2016-04-23 14:13:17.758712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:13:17.767249"], ["updated_at", "2016-04-23 14:13:17.767249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:13:17.772621"], ["updated_at", "2016-04-23 14:13:17.772621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:17.773973"], ["updated_at", "2016-04-23 14:13:17.773973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 14:13:17.775097"], ["updated_at", "2016-04-23 14:13:17.775097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:13:17.784196"], ["updated_at", "2016-04-23 14:13:17.784196"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 14:13:17.786403"], ["updated_at", "2016-04-23 14:13:17.786403"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:17.791885"], ["updated_at", "2016-04-23 14:13:17.791885"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (1.3ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.5ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:17.828938"], ["updated_at", "2016-04-23 14:13:17.828938"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 14:13:17.832813"], ["updated_at", "2016-04-23 14:13:17.832813"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:18.220985"], ["updated_at", "2016-04-23 14:13:18.220985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:18.222682"], ["updated_at", "2016-04-23 14:13:18.222682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 14:13:18.223943"], ["updated_at", "2016-04-23 14:13:18.223943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:18.231647"], ["updated_at", "2016-04-23 14:13:18.231647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:18.232974"], ["updated_at", "2016-04-23 14:13:18.232974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:18.240576"], ["updated_at", "2016-04-23 14:13:18.240576"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:18.241882"], ["updated_at", "2016-04-23 14:13:18.241882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.42ms) Completed 200 OK in 15ms (Views: 14.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:18.405919"], ["updated_at", "2016-04-23 14:13:18.405919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:18.410893"], ["updated_at", "2016-04-23 14:13:18.410893"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:13:18.412640"], ["updated_at", "2016-04-23 14:13:18.412640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:18.426242"], ["updated_at", "2016-04-23 14:13:18.426242"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:13:18.427537"], ["updated_at", "2016-04-23 14:13:18.427537"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:18.446678"], ["updated_at", "2016-04-23 14:13:18.446678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.7ms) Completed 403 Forbidden in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Yesenia Nitzsche"], ["created_at", "2016-04-23 14:13:18.570024"], ["updated_at", "2016-04-23 14:13:18.570024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Anderson-Hills"], ["body", "Laboriosam quis placeat corporis."], ["created_at", "2016-04-23 14:13:18.571913"], ["updated_at", "2016-04-23 14:13:18.571913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Claudia Wyman"], ["created_at", "2016-04-23 14:13:18.589514"], ["updated_at", "2016-04-23 14:13:18.589514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 14:13:18.591053"], ["updated_at", "2016-04-23 14:13:18.591053"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.41ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:18 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:13:33.795083"], ["updated_at", "2016-04-23 14:13:33.795083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:33.798348"], ["updated_at", "2016-04-23 14:13:33.798348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 14:13:33.799653"], ["updated_at", "2016-04-23 14:13:33.799653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:13:33.808359"], ["updated_at", "2016-04-23 14:13:33.808359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 14:13:33.809768"], ["updated_at", "2016-04-23 14:13:33.809768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:33.816374"], ["updated_at", "2016-04-23 14:13:33.816374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:33.817796"], ["updated_at", "2016-04-23 14:13:33.817796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:33.845934"], ["updated_at", "2016-04-23 14:13:33.845934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:33.857302"], ["updated_at", "2016-04-23 14:13:33.857302"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 14:13:33.859024"], ["updated_at", "2016-04-23 14:13:33.859024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:33.866482"], ["updated_at", "2016-04-23 14:13:33.866482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:13:33.867819"], ["updated_at", "2016-04-23 14:13:33.867819"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:13:33.872119"], ["updated_at", "2016-04-23 14:13:33.872119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:33.873464"], ["updated_at", "2016-04-23 14:13:33.873464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 14:13:33.874628"], ["updated_at", "2016-04-23 14:13:33.874628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:13:33.883678"], ["updated_at", "2016-04-23 14:13:33.883678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:13:33.885126"], ["updated_at", "2016-04-23 14:13:33.885126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:13:33.889897"], ["updated_at", "2016-04-23 14:13:33.889897"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:33.945424"], ["updated_at", "2016-04-23 14:13:33.945424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:33.950540"], ["updated_at", "2016-04-23 14:13:33.950540"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:13:33.952385"], ["updated_at", "2016-04-23 14:13:33.952385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:33.959036"], ["updated_at", "2016-04-23 14:13:33.959036"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:13:33.960380"], ["updated_at", "2016-04-23 14:13:33.960380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:13:33.971066"], ["updated_at", "2016-04-23 14:13:33.971066"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Wendy Dickinson MD"], ["created_at", "2016-04-23 14:13:34.093600"], ["updated_at", "2016-04-23 14:13:34.093600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 14:13:34.095078"], ["updated_at", "2016-04-23 14:13:34.095078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Eulah Murphy"], ["created_at", "2016-04-23 14:13:34.127369"], ["updated_at", "2016-04-23 14:13:34.127369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Fay-Davis"], ["body", "Et error dolores doloremque distinctio voluptas."], ["created_at", "2016-04-23 14:13:34.129223"], ["updated_at", "2016-04-23 14:13:34.129223"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:13:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.64ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:16:10.193126"], ["updated_at", "2016-04-23 14:16:10.193126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:16:10.211954"], ["updated_at", "2016-04-23 14:16:10.211954"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:16:10.223867"], ["updated_at", "2016-04-23 14:16:10.223867"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:16:10.225355"], ["updated_at", "2016-04-23 14:16:10.225355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-23 14:16:10.231189"], ["updated_at", "2016-04-23 14:16:10.231189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-23 14:16:10.232621"], ["updated_at", "2016-04-23 14:16:10.232621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ron Lynch"], ["created_at", "2016-04-23 14:16:10.342906"], ["updated_at", "2016-04-23 14:16:10.342906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Abbott-Anderson"], ["body", "Corrupti facilis repellendus explicabo adipisci ipsum."], ["created_at", "2016-04-23 14:16:10.348609"], ["updated_at", "2016-04-23 14:16:10.348609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Torrance Lemke"], ["created_at", "2016-04-23 14:16:10.381341"], ["updated_at", "2016-04-23 14:16:10.381341"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-23 14:16:10.383046"], ["updated_at", "2016-04-23 14:16:10.383046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 6ms (Views: 5.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 00:16:10 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:16:10.460833"], ["updated_at", "2016-04-23 14:16:10.460833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:16:10.462317"], ["updated_at", "2016-04-23 14:16:10.462317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:16:10.481612"], ["updated_at", "2016-04-23 14:16:10.481612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:16:10.483340"], ["updated_at", "2016-04-23 14:16:10.483340"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-23 14:16:10.484924"], ["updated_at", "2016-04-23 14:16:10.484924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:16:10.494672"], ["updated_at", "2016-04-23 14:16:10.494672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:16:10.505340"], ["updated_at", "2016-04-23 14:16:10.505340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-23 14:16:10.506854"], ["updated_at", "2016-04-23 14:16:10.506854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-23 14:16:10.511293"], ["updated_at", "2016-04-23 14:16:10.511293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-23 14:16:10.512656"], ["updated_at", "2016-04-23 14:16:10.512656"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:16:10.520564"], ["updated_at", "2016-04-23 14:16:10.520564"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:16:10.521916"], ["updated_at", "2016-04-23 14:16:10.521916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-23 14:16:10.523031"], ["updated_at", "2016-04-23 14:16:10.523031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:16:10.527855"], ["updated_at", "2016-04-23 14:16:10.527855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-23 14:16:10.529927"], ["updated_at", "2016-04-23 14:16:10.529927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-23 14:16:10.533918"], ["updated_at", "2016-04-23 14:16:10.533918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-23 14:16:10.536565"], ["updated_at", "2016-04-23 14:16:10.536565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-23 14:16:10.537911"], ["updated_at", "2016-04-23 14:16:10.537911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.61ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (21.73ms) Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-24 12:27:12.877124"], ["updated_at", "2016-04-24 12:27:12.877124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-24 12:27:12.878799"], ["updated_at", "2016-04-24 12:27:12.878799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-24 12:27:12.888504"], ["updated_at", "2016-04-24 12:27:12.888504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-24 12:27:12.892069"], ["updated_at", "2016-04-24 12:27:12.892069"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-24 12:27:12.893391"], ["updated_at", "2016-04-24 12:27:12.893391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-24 12:27:12.898300"], ["updated_at", "2016-04-24 12:27:12.898300"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-24 12:27:12.900088"], ["updated_at", "2016-04-24 12:27:12.900088"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-24 12:27:12.901685"], ["updated_at", "2016-04-24 12:27:12.901685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-24 12:27:12.910115"], ["updated_at", "2016-04-24 12:27:12.910115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-24 12:27:12.911661"], ["updated_at", "2016-04-24 12:27:12.911661"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-24 12:27:12.927282"], ["updated_at", "2016-04-24 12:27:12.927282"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-24 12:27:12.928718"], ["updated_at", "2016-04-24 12:27:12.928718"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-24 12:27:12.929810"], ["updated_at", "2016-04-24 12:27:12.929810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-24 12:27:12.941092"], ["updated_at", "2016-04-24 12:27:12.941092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-24 12:27:12.942458"], ["updated_at", "2016-04-24 12:27:12.942458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-24 12:27:12.949722"], ["updated_at", "2016-04-24 12:27:12.949722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-24 12:27:12.951040"], ["updated_at", "2016-04-24 12:27:12.951040"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-24 12:27:12.959856"], ["updated_at", "2016-04-24 12:27:12.959856"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Antoinette Hoeger"], ["created_at", "2016-04-24 12:27:13.023332"], ["updated_at", "2016-04-24 12:27:13.023332"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Waters, Mosciski and Hilpert"], ["body", "Dolore quae et iusto optio beatae reiciendis et."], ["created_at", "2016-04-24 12:27:13.026091"], ["updated_at", "2016-04-24 12:27:13.026091"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Maida Streich"], ["created_at", "2016-04-24 12:27:13.051531"], ["updated_at", "2016-04-24 12:27:13.051531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-24 12:27:13.052952"], ["updated_at", "2016-04-24 12:27:13.052952"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-24 22:27:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-24 12:27:13.330006"], ["updated_at", "2016-04-24 12:27:13.330006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-24 12:27:13.334348"], ["updated_at", "2016-04-24 12:27:13.334348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-24 12:27:13.346452"], ["updated_at", "2016-04-24 12:27:13.346452"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-24 12:27:13.347955"], ["updated_at", "2016-04-24 12:27:13.347955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-24 12:27:13.353622"], ["updated_at", "2016-04-24 12:27:13.353622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-24 12:27:13.354900"], ["updated_at", "2016-04-24 12:27:13.354900"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 10:55:56 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Aurelia Larson"], ["created_at", "2016-04-25 00:55:56.139777"], ["updated_at", "2016-04-25 00:55:56.139777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Rath-Champlin"], ["body", "Molestias aut et praesentium libero nulla."], ["created_at", "2016-04-25 00:55:56.148761"], ["updated_at", "2016-04-25 00:55:56.148761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mack Purdy"], ["created_at", "2016-04-25 00:55:56.189288"], ["updated_at", "2016-04-25 00:55:56.189288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 00:55:56.190709"], ["updated_at", "2016-04-25 00:55:56.190709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 00:55:56.202985"], ["updated_at", "2016-04-25 00:55:56.202985"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 00:55:56.220393"], ["updated_at", "2016-04-25 00:55:56.220393"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 00:55:56.221882"], ["updated_at", "2016-04-25 00:55:56.221882"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 00:55:56.229975"], ["updated_at", "2016-04-25 00:55:56.229975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 00:55:56.231328"], ["updated_at", "2016-04-25 00:55:56.231328"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 00:55:56.232468"], ["updated_at", "2016-04-25 00:55:56.232468"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 00:55:56.242075"], ["updated_at", "2016-04-25 00:55:56.242075"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 00:55:56.243493"], ["updated_at", "2016-04-25 00:55:56.243493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 00:55:56.247921"], ["updated_at", "2016-04-25 00:55:56.247921"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 00:55:56.249486"], ["updated_at", "2016-04-25 00:55:56.249486"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 00:55:56.259230"], ["updated_at", "2016-04-25 00:55:56.259230"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 00:55:56.260655"], ["updated_at", "2016-04-25 00:55:56.260655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 00:55:56.261736"], ["updated_at", "2016-04-25 00:55:56.261736"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 00:55:56.265782"], ["updated_at", "2016-04-25 00:55:56.265782"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 00:55:56.267229"], ["updated_at", "2016-04-25 00:55:56.267229"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 00:55:56.272257"], ["updated_at", "2016-04-25 00:55:56.272257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 00:55:56.273676"], ["updated_at", "2016-04-25 00:55:56.273676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 00:55:56.276419"], ["updated_at", "2016-04-25 00:55:56.276419"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.68ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 00:55:56.556918"], ["updated_at", "2016-04-25 00:55:56.556918"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 00:55:56.589512"], ["updated_at", "2016-04-25 00:55:56.589512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 00:55:56.590909"], ["updated_at", "2016-04-25 00:55:56.590909"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 00:55:56.593388"], ["updated_at", "2016-04-25 00:55:56.593388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 00:55:56.594659"], ["updated_at", "2016-04-25 00:55:56.594659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 00:55:56.600570"], ["updated_at", "2016-04-25 00:55:56.600570"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:00:36.820978"], ["updated_at", "2016-04-25 01:00:36.820978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:00:36.835781"], ["updated_at", "2016-04-25 01:00:36.835781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:00:36.841028"], ["updated_at", "2016-04-25 01:00:36.841028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:00:36.842306"], ["updated_at", "2016-04-25 01:00:36.842306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:00:36.847929"], ["updated_at", "2016-04-25 01:00:36.847929"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:00:36.849553"], ["updated_at", "2016-04-25 01:00:36.849553"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:00:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dean Fadel"], ["created_at", "2016-04-25 01:00:36.895458"], ["updated_at", "2016-04-25 01:00:36.895458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:00:36.900192"], ["updated_at", "2016-04-25 01:00:36.900192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Agustina Kshlerin"], ["created_at", "2016-04-25 01:00:36.925889"], ["updated_at", "2016-04-25 01:00:36.925889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Farrell-West"], ["body", "Et hic dolores alias sit itaque."], ["created_at", "2016-04-25 01:00:36.927701"], ["updated_at", "2016-04-25 01:00:36.927701"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.53ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:00:37.163032"], ["updated_at", "2016-04-25 01:00:37.163032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:00:37.165925"], ["updated_at", "2016-04-25 01:00:37.165925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:00:37.167237"], ["updated_at", "2016-04-25 01:00:37.167237"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:00:37.170250"], ["updated_at", "2016-04-25 01:00:37.170250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:00:37.171631"], ["updated_at", "2016-04-25 01:00:37.171631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:00:37.176668"], ["updated_at", "2016-04-25 01:00:37.176668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:00:37.178171"], ["updated_at", "2016-04-25 01:00:37.178171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:00:37.179363"], ["updated_at", "2016-04-25 01:00:37.179363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:00:37.182939"], ["updated_at", "2016-04-25 01:00:37.182939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:00:37.192076"], ["updated_at", "2016-04-25 01:00:37.192076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:00:37.193677"], ["updated_at", "2016-04-25 01:00:37.193677"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:00:37.197995"], ["updated_at", "2016-04-25 01:00:37.197995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:00:37.199547"], ["updated_at", "2016-04-25 01:00:37.199547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:00:37.200748"], ["updated_at", "2016-04-25 01:00:37.200748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:00:37.211401"], ["updated_at", "2016-04-25 01:00:37.211401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:00:37.213110"], ["updated_at", "2016-04-25 01:00:37.213110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:00:37.221630"], ["updated_at", "2016-04-25 01:00:37.221630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:00:37.224394"], ["updated_at", "2016-04-25 01:00:37.224394"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Craig Champlin"], ["created_at", "2016-04-25 01:15:35.525422"], ["updated_at", "2016-04-25 01:15:35.525422"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:15:35.532060"], ["updated_at", "2016-04-25 01:15:35.532060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Esperanza Gleichner"], ["created_at", "2016-04-25 01:15:35.559062"], ["updated_at", "2016-04-25 01:15:35.559062"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Mraz LLC"], ["body", "Porro error iusto aut et."], ["created_at", "2016-04-25 01:15:35.561006"], ["updated_at", "2016-04-25 01:15:35.561006"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.11ms) Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:15:35.693001"], ["updated_at", "2016-04-25 01:15:35.693001"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:15:35.694476"], ["updated_at", "2016-04-25 01:15:35.694476"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:15:35.708134"], ["updated_at", "2016-04-25 01:15:35.708134"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:15:35.718469"], ["updated_at", "2016-04-25 01:15:35.718469"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:15:35.720957"], ["updated_at", "2016-04-25 01:15:35.720957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:15:35.740288"], ["updated_at", "2016-04-25 01:15:35.740288"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:15:35.742016"], ["updated_at", "2016-04-25 01:15:35.742016"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:15:35.744043"], ["updated_at", "2016-04-25 01:15:35.744043"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:15:35.752784"], ["updated_at", "2016-04-25 01:15:35.752784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:15:35.755332"], ["updated_at", "2016-04-25 01:15:35.755332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:15:35.763463"], ["updated_at", "2016-04-25 01:15:35.763463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:15:35.766198"], ["updated_at", "2016-04-25 01:15:35.766198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:15:35.767717"], ["updated_at", "2016-04-25 01:15:35.767717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:15:35.772105"], ["updated_at", "2016-04-25 01:15:35.772105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:15:35.773534"], ["updated_at", "2016-04-25 01:15:35.773534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:15:35.777026"], ["updated_at", "2016-04-25 01:15:35.777026"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:15:35.778459"], ["updated_at", "2016-04-25 01:15:35.778459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:15:35.779562"], ["updated_at", "2016-04-25 01:15:35.779562"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:15:35.790164"], ["updated_at", "2016-04-25 01:15:35.790164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:15:35.795392"], ["updated_at", "2016-04-25 01:15:35.795392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:15:35.796783"], ["updated_at", "2016-04-25 01:15:35.796783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:15:35.802975"], ["updated_at", "2016-04-25 01:15:35.802975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:15:35.805539"], ["updated_at", "2016-04-25 01:15:35.805539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:15:35.814247"], ["updated_at", "2016-04-25 01:15:35.814247"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.48ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:35 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:15:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Misty Cole"], ["created_at", "2016-04-25 01:49:44.808779"], ["updated_at", "2016-04-25 01:49:44.808779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:49:44.816142"], ["updated_at", "2016-04-25 01:49:44.816142"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nelle Erdman"], ["created_at", "2016-04-25 01:49:44.839818"], ["updated_at", "2016-04-25 01:49:44.839818"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Bauch, Lakin and Kessler"], ["body", "Aut in iste libero aut non ab."], ["created_at", "2016-04-25 01:49:44.841948"], ["updated_at", "2016-04-25 01:49:44.841948"]]  (0.5ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:49:44.868902"], ["updated_at", "2016-04-25 01:49:44.868902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:49:44.870375"], ["updated_at", "2016-04-25 01:49:44.870375"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:49:44.871527"], ["updated_at", "2016-04-25 01:49:44.871527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:49:44.880085"], ["updated_at", "2016-04-25 01:49:44.880085"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:49:44.887659"], ["updated_at", "2016-04-25 01:49:44.887659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:49:44.888988"], ["updated_at", "2016-04-25 01:49:44.888988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:49:44.920098"], ["updated_at", "2016-04-25 01:49:44.920098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:49:44.921487"], ["updated_at", "2016-04-25 01:49:44.921487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:49:44.925425"], ["updated_at", "2016-04-25 01:49:44.925425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:49:44.926774"], ["updated_at", "2016-04-25 01:49:44.926774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:49:44.932248"], ["updated_at", "2016-04-25 01:49:44.932248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:49:44.935344"], ["updated_at", "2016-04-25 01:49:44.935344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:49:44.936825"], ["updated_at", "2016-04-25 01:49:44.936825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:49:44.941780"], ["updated_at", "2016-04-25 01:49:44.941780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:49:44.943094"], ["updated_at", "2016-04-25 01:49:44.943094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:49:44.946787"], ["updated_at", "2016-04-25 01:49:44.946787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:49:44.948052"], ["updated_at", "2016-04-25 01:49:44.948052"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:49:44.949145"], ["updated_at", "2016-04-25 01:49:44.949145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.67ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:49:45 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:49:45.223400"], ["updated_at", "2016-04-25 01:49:45.223400"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:49:45.231574"], ["updated_at", "2016-04-25 01:49:45.231574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:49:45.233362"], ["updated_at", "2016-04-25 01:49:45.233362"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:49:45.239509"], ["updated_at", "2016-04-25 01:49:45.239509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:49:45.240876"], ["updated_at", "2016-04-25 01:49:45.240876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:49:45.245579"], ["updated_at", "2016-04-25 01:49:45.245579"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.67ms) Completed 403 Forbidden in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Georgianna Stanton DVM"], ["created_at", "2016-04-25 01:51:38.086518"], ["updated_at", "2016-04-25 01:51:38.086518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:51:38.094322"], ["updated_at", "2016-04-25 01:51:38.094322"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kailey Pagac"], ["created_at", "2016-04-25 01:51:38.117312"], ["updated_at", "2016-04-25 01:51:38.117312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Jacobson, Deckow and Wilkinson"], ["body", "Molestiae neque ullam velit sint ea corrupti eos."], ["created_at", "2016-04-25 01:51:38.119267"], ["updated_at", "2016-04-25 01:51:38.119267"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:51:38.136779"], ["updated_at", "2016-04-25 01:51:38.136779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:51:38.138293"], ["updated_at", "2016-04-25 01:51:38.138293"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:51:38.139546"], ["updated_at", "2016-04-25 01:51:38.139546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:51:38.158116"], ["updated_at", "2016-04-25 01:51:38.158116"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:51:38.165331"], ["updated_at", "2016-04-25 01:51:38.165331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:51:38.166733"], ["updated_at", "2016-04-25 01:51:38.166733"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:51:38.173748"], ["updated_at", "2016-04-25 01:51:38.173748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:51:38.175064"], ["updated_at", "2016-04-25 01:51:38.175064"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:51:38.179035"], ["updated_at", "2016-04-25 01:51:38.179035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:51:38.180440"], ["updated_at", "2016-04-25 01:51:38.180440"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:51:38.185544"], ["updated_at", "2016-04-25 01:51:38.185544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:51:38.188501"], ["updated_at", "2016-04-25 01:51:38.188501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:51:38.189822"], ["updated_at", "2016-04-25 01:51:38.189822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:51:38.195552"], ["updated_at", "2016-04-25 01:51:38.195552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:51:38.196907"], ["updated_at", "2016-04-25 01:51:38.196907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:51:38.200660"], ["updated_at", "2016-04-25 01:51:38.200660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:51:38.202297"], ["updated_at", "2016-04-25 01:51:38.202297"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:51:38.203375"], ["updated_at", "2016-04-25 01:51:38.203375"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.54ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:51:38 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:51:38.475349"], ["updated_at", "2016-04-25 01:51:38.475349"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:51:38.483293"], ["updated_at", "2016-04-25 01:51:38.483293"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:51:38.484646"], ["updated_at", "2016-04-25 01:51:38.484646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:51:38.488741"], ["updated_at", "2016-04-25 01:51:38.488741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:51:38.490257"], ["updated_at", "2016-04-25 01:51:38.490257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:51:38.495046"], ["updated_at", "2016-04-25 01:51:38.495046"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:40 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:52:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Leanne Waters I"], ["created_at", "2016-04-25 01:52:41.124473"], ["updated_at", "2016-04-25 01:52:41.124473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Hahn, Schoen and Heller"], ["body", "Nemo eos est aut ipsam et sit."], ["created_at", "2016-04-25 01:52:41.132941"], ["updated_at", "2016-04-25 01:52:41.132941"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Abigale Grant"], ["created_at", "2016-04-25 01:52:41.172092"], ["updated_at", "2016-04-25 01:52:41.172092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:52:41.173645"], ["updated_at", "2016-04-25 01:52:41.173645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.09ms) Completed 403 Forbidden in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:52:41.293650"], ["updated_at", "2016-04-25 01:52:41.293650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:52:41.305034"], ["updated_at", "2016-04-25 01:52:41.305034"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:52:41.311815"], ["updated_at", "2016-04-25 01:52:41.311815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:52:41.313583"], ["updated_at", "2016-04-25 01:52:41.313583"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:52:41.318734"], ["updated_at", "2016-04-25 01:52:41.318734"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:52:41.320153"], ["updated_at", "2016-04-25 01:52:41.320153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.55ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:52:41.558530"], ["updated_at", "2016-04-25 01:52:41.558530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:52:41.565538"], ["updated_at", "2016-04-25 01:52:41.565538"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:52:41.569238"], ["updated_at", "2016-04-25 01:52:41.569238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:52:41.578422"], ["updated_at", "2016-04-25 01:52:41.578422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:52:41.580170"], ["updated_at", "2016-04-25 01:52:41.580170"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:52:41.585985"], ["updated_at", "2016-04-25 01:52:41.585985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:52:41.587915"], ["updated_at", "2016-04-25 01:52:41.587915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:52:41.594923"], ["updated_at", "2016-04-25 01:52:41.594923"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:52:41.596769"], ["updated_at", "2016-04-25 01:52:41.596769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:52:41.598569"], ["updated_at", "2016-04-25 01:52:41.598569"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:52:41.608760"], ["updated_at", "2016-04-25 01:52:41.608760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:52:41.610123"], ["updated_at", "2016-04-25 01:52:41.610123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:52:41.617821"], ["updated_at", "2016-04-25 01:52:41.617821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:52:41.619210"], ["updated_at", "2016-04-25 01:52:41.619210"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:52:41.620435"], ["updated_at", "2016-04-25 01:52:41.620435"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:52:41.624572"], ["updated_at", "2016-04-25 01:52:41.624572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:52:41.627728"], ["updated_at", "2016-04-25 01:52:41.627728"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:52:41.629926"], ["updated_at", "2016-04-25 01:52:41.629926"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.02ms) Completed 403 Forbidden in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.17ms) Completed 200 OK in 29ms (Views: 20.9ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:54:12.678530"], ["updated_at", "2016-04-25 01:54:12.678530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:54:12.680206"], ["updated_at", "2016-04-25 01:54:12.680206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:54:12.681286"], ["updated_at", "2016-04-25 01:54:12.681286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:54:12.689730"], ["updated_at", "2016-04-25 01:54:12.689730"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:54:12.691235"], ["updated_at", "2016-04-25 01:54:12.691235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:54:12.694906"], ["updated_at", "2016-04-25 01:54:12.694906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:54:12.716495"], ["updated_at", "2016-04-25 01:54:12.716495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:54:12.717932"], ["updated_at", "2016-04-25 01:54:12.717932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:54:12.722487"], ["updated_at", "2016-04-25 01:54:12.722487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:54:12.723963"], ["updated_at", "2016-04-25 01:54:12.723963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:54:12.733210"], ["updated_at", "2016-04-25 01:54:12.733210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:54:12.734768"], ["updated_at", "2016-04-25 01:54:12.734768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:54:12.736836"], ["updated_at", "2016-04-25 01:54:12.736836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:54:12.742505"], ["updated_at", "2016-04-25 01:54:12.742505"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:54:12.743796"], ["updated_at", "2016-04-25 01:54:12.743796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:54:12.749940"], ["updated_at", "2016-04-25 01:54:12.749940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:54:12.754258"], ["updated_at", "2016-04-25 01:54:12.754258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:54:12.755977"], ["updated_at", "2016-04-25 01:54:12.755977"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nadia Tremblay"], ["created_at", "2016-04-25 01:54:12.799416"], ["updated_at", "2016-04-25 01:54:12.799416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Becker-Breitenberg"], ["body", "Aut enim consequatur dolorem voluptatibus quos."], ["created_at", "2016-04-25 01:54:12.801445"], ["updated_at", "2016-04-25 01:54:12.801445"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Rey Dooley"], ["created_at", "2016-04-25 01:54:12.815458"], ["updated_at", "2016-04-25 01:54:12.815458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:54:12.817109"], ["updated_at", "2016-04-25 01:54:12.817109"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:54:13.001920"], ["updated_at", "2016-04-25 01:54:13.001920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:54:13.006138"], ["updated_at", "2016-04-25 01:54:13.006138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:54:13.015072"], ["updated_at", "2016-04-25 01:54:13.015072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:54:13.016480"], ["updated_at", "2016-04-25 01:54:13.016480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:54:13.022363"], ["updated_at", "2016-04-25 01:54:13.022363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:54:13.023846"], ["updated_at", "2016-04-25 01:54:13.023846"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.62ms) Completed 200 OK in 30ms (Views: 23.3ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 11:55:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:55:25.575058"], ["updated_at", "2016-04-25 01:55:25.575058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:55:25.576849"], ["updated_at", "2016-04-25 01:55:25.576849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 01:55:25.578850"], ["updated_at", "2016-04-25 01:55:25.578850"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:55:25.590037"], ["updated_at", "2016-04-25 01:55:25.590037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:55:25.591812"], ["updated_at", "2016-04-25 01:55:25.591812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:55:25.599216"], ["updated_at", "2016-04-25 01:55:25.599216"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:55:25.604760"], ["updated_at", "2016-04-25 01:55:25.604760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 01:55:25.606241"], ["updated_at", "2016-04-25 01:55:25.606241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 01:55:25.610685"], ["updated_at", "2016-04-25 01:55:25.610685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 01:55:25.612213"], ["updated_at", "2016-04-25 01:55:25.612213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:55:25.619568"], ["updated_at", "2016-04-25 01:55:25.619568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 01:55:25.620920"], ["updated_at", "2016-04-25 01:55:25.620920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:55:25.627970"], ["updated_at", "2016-04-25 01:55:25.627970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:55:25.629407"], ["updated_at", "2016-04-25 01:55:25.629407"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 01:55:25.630609"], ["updated_at", "2016-04-25 01:55:25.630609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 01:55:25.634921"], ["updated_at", "2016-04-25 01:55:25.634921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 01:55:25.639101"], ["updated_at", "2016-04-25 01:55:25.639101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 01:55:25.640577"], ["updated_at", "2016-04-25 01:55:25.640577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.43ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.66ms) Completed 403 Forbidden in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Andreane Russel"], ["created_at", "2016-04-25 01:55:25.784921"], ["updated_at", "2016-04-25 01:55:25.784921"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Larkin LLC"], ["body", "Soluta totam sint ab qui id dicta sit doloribus."], ["created_at", "2016-04-25 01:55:25.786769"], ["updated_at", "2016-04-25 01:55:25.786769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Halle Hodkiewicz"], ["created_at", "2016-04-25 01:55:25.806121"], ["updated_at", "2016-04-25 01:55:25.806121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 01:55:25.807757"], ["updated_at", "2016-04-25 01:55:25.807757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:25.819412"], ["updated_at", "2016-04-25 01:55:25.819412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:25.823981"], ["updated_at", "2016-04-25 01:55:25.823981"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:55:25.826706"], ["updated_at", "2016-04-25 01:55:25.826706"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:25.831816"], ["updated_at", "2016-04-25 01:55:25.831816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:55:25.833388"], ["updated_at", "2016-04-25 01:55:25.833388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:25.839944"], ["updated_at", "2016-04-25 01:55:25.839944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:37.764928"], ["updated_at", "2016-04-25 01:55:37.764928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:37.778592"], ["updated_at", "2016-04-25 01:55:37.778592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:55:37.780331"], ["updated_at", "2016-04-25 01:55:37.780331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:37.794663"], ["updated_at", "2016-04-25 01:55:37.794663"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 01:55:37.796228"], ["updated_at", "2016-04-25 01:55:37.796228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 01:55:37.811324"], ["updated_at", "2016-04-25 01:55:37.811324"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Fay Hyatt"], ["created_at", "2016-04-25 02:00:13.787383"], ["updated_at", "2016-04-25 02:00:13.787383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:00:13.795421"], ["updated_at", "2016-04-25 02:00:13.795421"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Magdalen McDermott"], ["created_at", "2016-04-25 02:00:13.817792"], ["updated_at", "2016-04-25 02:00:13.817792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Nolan, Balistreri and Shanahan"], ["body", "Non occaecati excepturi laborum at voluptas."], ["created_at", "2016-04-25 02:00:13.819483"], ["updated_at", "2016-04-25 02:00:13.819483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:00:13.890894"], ["updated_at", "2016-04-25 02:00:13.890894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:00:13.896704"], ["updated_at", "2016-04-25 02:00:13.896704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:00:13.915246"], ["updated_at", "2016-04-25 02:00:13.915246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:00:13.916738"], ["updated_at", "2016-04-25 02:00:13.916738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:00:13.924024"], ["updated_at", "2016-04-25 02:00:13.924024"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:00:13.925798"], ["updated_at", "2016-04-25 02:00:13.925798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:00:13.982068"], ["updated_at", "2016-04-25 02:00:13.982068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:00:13.983460"], ["updated_at", "2016-04-25 02:00:13.983460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:00:13.986790"], ["updated_at", "2016-04-25 02:00:13.986790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:00:13.988234"], ["updated_at", "2016-04-25 02:00:13.988234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:00:13.989348"], ["updated_at", "2016-04-25 02:00:13.989348"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:00:13.992810"], ["updated_at", "2016-04-25 02:00:13.992810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:00:13.994097"], ["updated_at", "2016-04-25 02:00:13.994097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:00:13.996898"], ["updated_at", "2016-04-25 02:00:13.996898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:00:13.999546"], ["updated_at", "2016-04-25 02:00:13.999546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:00:14.000988"], ["updated_at", "2016-04-25 02:00:14.000988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:00:14.002181"], ["updated_at", "2016-04-25 02:00:14.002181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:00:14.008538"], ["updated_at", "2016-04-25 02:00:14.008538"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:00:14.010022"], ["updated_at", "2016-04-25 02:00:14.010022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:00:14.018126"], ["updated_at", "2016-04-25 02:00:14.018126"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:00:14.019544"], ["updated_at", "2016-04-25 02:00:14.019544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:00:14.024477"], ["updated_at", "2016-04-25 02:00:14.024477"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:00:14.025904"], ["updated_at", "2016-04-25 02:00:14.025904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:00:14.031861"], ["updated_at", "2016-04-25 02:00:14.031861"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:00:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.84ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:01:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:01:40.713191"], ["updated_at", "2016-04-25 02:01:40.713191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:01:40.735126"], ["updated_at", "2016-04-25 02:01:40.735126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:01:40.758194"], ["updated_at", "2016-04-25 02:01:40.758194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:01:40.759604"], ["updated_at", "2016-04-25 02:01:40.759604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:01:40.767631"], ["updated_at", "2016-04-25 02:01:40.767631"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:01:40.772529"], ["updated_at", "2016-04-25 02:01:40.772529"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.72ms) Completed 200 OK in 21ms (Views: 20.2ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.07ms) Completed 403 Forbidden in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:01:41.004554"], ["updated_at", "2016-04-25 02:01:41.004554"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:01:41.006362"], ["updated_at", "2016-04-25 02:01:41.006362"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:01:41.007454"], ["updated_at", "2016-04-25 02:01:41.007454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:01:41.013317"], ["updated_at", "2016-04-25 02:01:41.013317"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:01:41.014604"], ["updated_at", "2016-04-25 02:01:41.014604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:01:41.017973"], ["updated_at", "2016-04-25 02:01:41.017973"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:01:41.019300"], ["updated_at", "2016-04-25 02:01:41.019300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:01:41.021960"], ["updated_at", "2016-04-25 02:01:41.021960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:01:41.024571"], ["updated_at", "2016-04-25 02:01:41.024571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:01:41.039386"], ["updated_at", "2016-04-25 02:01:41.039386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:01:41.040879"], ["updated_at", "2016-04-25 02:01:41.040879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:01:41.041977"], ["updated_at", "2016-04-25 02:01:41.041977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:01:41.050544"], ["updated_at", "2016-04-25 02:01:41.050544"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:01:41.051930"], ["updated_at", "2016-04-25 02:01:41.051930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:01:41.059784"], ["updated_at", "2016-04-25 02:01:41.059784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:01:41.062376"], ["updated_at", "2016-04-25 02:01:41.062376"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:01:41.070095"], ["updated_at", "2016-04-25 02:01:41.070095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:01:41.071683"], ["updated_at", "2016-04-25 02:01:41.071683"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Enoch Johnson"], ["created_at", "2016-04-25 02:01:41.076673"], ["updated_at", "2016-04-25 02:01:41.076673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Windler, Goyette and Baumbach"], ["body", "Est incidunt recusandae suscipit soluta vero."], ["created_at", "2016-04-25 02:01:41.078578"], ["updated_at", "2016-04-25 02:01:41.078578"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Luna Cummerata"], ["created_at", "2016-04-25 02:01:41.096523"], ["updated_at", "2016-04-25 02:01:41.096523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:01:41.097903"], ["updated_at", "2016-04-25 02:01:41.097903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:08.294555"], ["updated_at", "2016-04-25 02:05:08.294555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:08.307545"], ["updated_at", "2016-04-25 02:05:08.307545"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:05:08.308818"], ["updated_at", "2016-04-25 02:05:08.308818"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:08.316306"], ["updated_at", "2016-04-25 02:05:08.316306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:05:08.317762"], ["updated_at", "2016-04-25 02:05:08.317762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:08.341614"], ["updated_at", "2016-04-25 02:05:08.341614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nona Walsh"], ["created_at", "2016-04-25 02:05:08.346058"], ["updated_at", "2016-04-25 02:05:08.346058"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:05:08.351164"], ["updated_at", "2016-04-25 02:05:08.351164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Isaiah Luettgen"], ["created_at", "2016-04-25 02:05:08.370682"], ["updated_at", "2016-04-25 02:05:08.370682"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Johnston-Schamberger"], ["body", "Explicabo voluptatibus enim molestiae maxime consequatur."], ["created_at", "2016-04-25 02:05:08.372345"], ["updated_at", "2016-04-25 02:05:08.372345"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:05:08.403601"], ["updated_at", "2016-04-25 02:05:08.403601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:08.405161"], ["updated_at", "2016-04-25 02:05:08.405161"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:05:08.406313"], ["updated_at", "2016-04-25 02:05:08.406313"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:05:08.409614"], ["updated_at", "2016-04-25 02:05:08.409614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:05:08.410914"], ["updated_at", "2016-04-25 02:05:08.410914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:08.414511"], ["updated_at", "2016-04-25 02:05:08.414511"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:05:08.416243"], ["updated_at", "2016-04-25 02:05:08.416243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:08.425423"], ["updated_at", "2016-04-25 02:05:08.425423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:08.426900"], ["updated_at", "2016-04-25 02:05:08.426900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:05:08.427983"], ["updated_at", "2016-04-25 02:05:08.427983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:08.437151"], ["updated_at", "2016-04-25 02:05:08.437151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:08.445559"], ["updated_at", "2016-04-25 02:05:08.445559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:08.446962"], ["updated_at", "2016-04-25 02:05:08.446962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:08.451992"], ["updated_at", "2016-04-25 02:05:08.451992"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:08.453831"], ["updated_at", "2016-04-25 02:05:08.453831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:05:08.463613"], ["updated_at", "2016-04-25 02:05:08.463613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:05:08.466334"], ["updated_at", "2016-04-25 02:05:08.466334"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:08.467918"], ["updated_at", "2016-04-25 02:05:08.467918"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.61ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.57ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:27.477879"], ["updated_at", "2016-04-25 02:05:27.477879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.6ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:27.533666"], ["updated_at", "2016-04-25 02:05:27.533666"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:05:27.535621"], ["updated_at", "2016-04-25 02:05:27.535621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:27.912269"], ["updated_at", "2016-04-25 02:05:27.912269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:27.913680"], ["updated_at", "2016-04-25 02:05:27.913680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:27.921389"], ["updated_at", "2016-04-25 02:05:27.921389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:27.922702"], ["updated_at", "2016-04-25 02:05:27.922702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:05:27.923852"], ["updated_at", "2016-04-25 02:05:27.923852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:05:27.931751"], ["updated_at", "2016-04-25 02:05:27.931751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:05:27.933108"], ["updated_at", "2016-04-25 02:05:27.933108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:05:27.937493"], ["updated_at", "2016-04-25 02:05:27.937493"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:05:27.940144"], ["updated_at", "2016-04-25 02:05:27.940144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:27.941518"], ["updated_at", "2016-04-25 02:05:27.941518"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:05:27.945215"], ["updated_at", "2016-04-25 02:05:27.945215"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:05:27.947090"], ["updated_at", "2016-04-25 02:05:27.947090"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:05:27.951113"], ["updated_at", "2016-04-25 02:05:27.951113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:05:27.952451"], ["updated_at", "2016-04-25 02:05:27.952451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:05:27.953501"], ["updated_at", "2016-04-25 02:05:27.953501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.18ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:05:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:28.134619"], ["updated_at", "2016-04-25 02:05:28.134619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:28.139748"], ["updated_at", "2016-04-25 02:05:28.139748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:05:28.141325"], ["updated_at", "2016-04-25 02:05:28.141325"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:28.148004"], ["updated_at", "2016-04-25 02:05:28.148004"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:05:28.149380"], ["updated_at", "2016-04-25 02:05:28.149380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:05:28.157519"], ["updated_at", "2016-04-25 02:05:28.157519"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Angie Haley"], ["created_at", "2016-04-25 02:05:28.165841"], ["updated_at", "2016-04-25 02:05:28.165841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Okuneva Inc"], ["body", "Qui atque aut nisi et enim magni facere."], ["created_at", "2016-04-25 02:05:28.167826"], ["updated_at", "2016-04-25 02:05:28.167826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Alena Wolf"], ["created_at", "2016-04-25 02:05:28.194876"], ["updated_at", "2016-04-25 02:05:28.194876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:05:28.197156"], ["updated_at", "2016-04-25 02:05:28.197156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.34ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (1.4ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.71ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.43ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:06:24.976341"], ["updated_at", "2016-04-25 02:06:24.976341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:06:24.981176"], ["updated_at", "2016-04-25 02:06:24.981176"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:06:24.993610"], ["updated_at", "2016-04-25 02:06:24.993610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:06:24.994869"], ["updated_at", "2016-04-25 02:06:24.994869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:06:25.006524"], ["updated_at", "2016-04-25 02:06:25.006524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:06:25.007798"], ["updated_at", "2016-04-25 02:06:25.007798"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.64ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.3ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:06:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:06:25.280408"], ["updated_at", "2016-04-25 02:06:25.280408"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:06:25.282152"], ["updated_at", "2016-04-25 02:06:25.282152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:06:25.293906"], ["updated_at", "2016-04-25 02:06:25.293906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:06:25.295424"], ["updated_at", "2016-04-25 02:06:25.295424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:06:25.299604"], ["updated_at", "2016-04-25 02:06:25.299604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:06:25.300854"], ["updated_at", "2016-04-25 02:06:25.300854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:06:25.309763"], ["updated_at", "2016-04-25 02:06:25.309763"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:06:25.311724"], ["updated_at", "2016-04-25 02:06:25.311724"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:06:25.313258"], ["updated_at", "2016-04-25 02:06:25.313258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:06:25.321431"], ["updated_at", "2016-04-25 02:06:25.321431"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:06:25.330925"], ["updated_at", "2016-04-25 02:06:25.330925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:06:25.333878"], ["updated_at", "2016-04-25 02:06:25.333878"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:06:25.335324"], ["updated_at", "2016-04-25 02:06:25.335324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:06:25.339235"], ["updated_at", "2016-04-25 02:06:25.339235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:06:25.340480"], ["updated_at", "2016-04-25 02:06:25.340480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:06:25.343852"], ["updated_at", "2016-04-25 02:06:25.343852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:06:25.345635"], ["updated_at", "2016-04-25 02:06:25.345635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:06:25.346833"], ["updated_at", "2016-04-25 02:06:25.346833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Helga Schneider"], ["created_at", "2016-04-25 02:06:25.476962"], ["updated_at", "2016-04-25 02:06:25.476962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Gerhold Inc"], ["body", "Quo adipisci et quos."], ["created_at", "2016-04-25 02:06:25.479027"], ["updated_at", "2016-04-25 02:06:25.479027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kaylie White"], ["created_at", "2016-04-25 02:06:25.495037"], ["updated_at", "2016-04-25 02:06:25.495037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:06:25.496487"], ["updated_at", "2016-04-25 02:06:25.496487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Emmanuel Bartell"], ["created_at", "2016-04-25 02:19:19.594524"], ["updated_at", "2016-04-25 02:19:19.594524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Cassin-Koch"], ["body", "Inventore exercitationem rerum sapiente eum esse rerum minus officia."], ["created_at", "2016-04-25 02:19:19.605133"], ["updated_at", "2016-04-25 02:19:19.605133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Carol Abernathy"], ["created_at", "2016-04-25 02:19:19.622729"], ["updated_at", "2016-04-25 02:19:19.622729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:19:19.624383"], ["updated_at", "2016-04-25 02:19:19.624383"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:19:19 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:19:19.720749"], ["updated_at", "2016-04-25 02:19:19.720749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:19:19.734451"], ["updated_at", "2016-04-25 02:19:19.734451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:19:19.735832"], ["updated_at", "2016-04-25 02:19:19.735832"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:19:19.741504"], ["updated_at", "2016-04-25 02:19:19.741504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:19:19.742835"], ["updated_at", "2016-04-25 02:19:19.742835"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:19:19.752651"], ["updated_at", "2016-04-25 02:19:19.752651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.81ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:19:20.054424"], ["updated_at", "2016-04-25 02:19:20.054424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:19:20.056002"], ["updated_at", "2016-04-25 02:19:20.056002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:19:20.059462"], ["updated_at", "2016-04-25 02:19:20.059462"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:19:20.060840"], ["updated_at", "2016-04-25 02:19:20.060840"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:19:20.062058"], ["updated_at", "2016-04-25 02:19:20.062058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:19:20.067271"], ["updated_at", "2016-04-25 02:19:20.067271"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:19:20.069045"], ["updated_at", "2016-04-25 02:19:20.069045"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:19:20.078203"], ["updated_at", "2016-04-25 02:19:20.078203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:19:20.079594"], ["updated_at", "2016-04-25 02:19:20.079594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (1.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:19:20.089024"], ["updated_at", "2016-04-25 02:19:20.089024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:19:20.090569"], ["updated_at", "2016-04-25 02:19:20.090569"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:19:20.094666"], ["updated_at", "2016-04-25 02:19:20.094666"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:19:20.104406"], ["updated_at", "2016-04-25 02:19:20.104406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:19:20.105953"], ["updated_at", "2016-04-25 02:19:20.105953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:19:20.107160"], ["updated_at", "2016-04-25 02:19:20.107160"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:19:20.116645"], ["updated_at", "2016-04-25 02:19:20.116645"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:19:20.118960"], ["updated_at", "2016-04-25 02:19:20.118960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:19:20.121974"], ["updated_at", "2016-04-25 02:19:20.121974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Colten Wolf"], ["created_at", "2016-04-25 02:22:46.099449"], ["updated_at", "2016-04-25 02:22:46.099449"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Hartmann-Parker"], ["body", "Rerum ut ipsum eaque velit est omnis sequi."], ["created_at", "2016-04-25 02:22:46.125873"], ["updated_at", "2016-04-25 02:22:46.125873"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Casandra Armstrong DDS"], ["created_at", "2016-04-25 02:22:46.169654"], ["updated_at", "2016-04-25 02:22:46.169654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:22:46.173508"], ["updated_at", "2016-04-25 02:22:46.173508"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:22:46.205013"], ["updated_at", "2016-04-25 02:22:46.205013"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:22:46.223693"], ["updated_at", "2016-04-25 02:22:46.223693"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:22:46.233503"], ["updated_at", "2016-04-25 02:22:46.233503"]]  (2.5ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:22:46.244260"], ["updated_at", "2016-04-25 02:22:46.244260"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:22:46.254730"], ["updated_at", "2016-04-25 02:22:46.254730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:22:46.257638"], ["updated_at", "2016-04-25 02:22:46.257638"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.3ms) begin transaction  (0.6ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (1.5ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (2.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (3.1ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (2.9ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.67ms) Completed 403 Forbidden in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.32ms) Completed 403 Forbidden in 4ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.77ms) Completed 403 Forbidden in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (4.6ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.5ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (3.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (1.3ms) rollback transaction  (0.5ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (1.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (1.2ms) begin transaction  (0.1ms) rollback transaction  (2.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (1.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (4.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.62ms) Completed 200 OK in 16ms (Views: 11.1ms | ActiveRecord: 4.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:22:47 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:22:47.074353"], ["updated_at", "2016-04-25 02:22:47.074353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:22:47.075747"], ["updated_at", "2016-04-25 02:22:47.075747"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:22:47.076783"], ["updated_at", "2016-04-25 02:22:47.076783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:22:47.081255"], ["updated_at", "2016-04-25 02:22:47.081255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:22:47.082947"], ["updated_at", "2016-04-25 02:22:47.082947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:22:47.087275"], ["updated_at", "2016-04-25 02:22:47.087275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:22:47.088794"], ["updated_at", "2016-04-25 02:22:47.088794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:22:47.093597"], ["updated_at", "2016-04-25 02:22:47.093597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:22:47.095015"], ["updated_at", "2016-04-25 02:22:47.095015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:22:47.105094"], ["updated_at", "2016-04-25 02:22:47.105094"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:22:47.106714"], ["updated_at", "2016-04-25 02:22:47.106714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:22:47.108243"], ["updated_at", "2016-04-25 02:22:47.108243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (4.0ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:22:47.123324"], ["updated_at", "2016-04-25 02:22:47.123324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:22:47.135907"], ["updated_at", "2016-04-25 02:22:47.135907"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:22:47.138361"], ["updated_at", "2016-04-25 02:22:47.138361"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:22:47.152744"], ["updated_at", "2016-04-25 02:22:47.152744"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:22:47.156651"], ["updated_at", "2016-04-25 02:22:47.156651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:22:47.158268"], ["updated_at", "2016-04-25 02:22:47.158268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (20.01ms) Completed 200 OK in 27ms (Views: 20.1ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:23:01.593389"], ["updated_at", "2016-04-25 02:23:01.593389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:01.595970"], ["updated_at", "2016-04-25 02:23:01.595970"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:23:01.604965"], ["updated_at", "2016-04-25 02:23:01.604965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:01.611353"], ["updated_at", "2016-04-25 02:23:01.611353"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:01.613053"], ["updated_at", "2016-04-25 02:23:01.613053"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:01.623879"], ["updated_at", "2016-04-25 02:23:01.623879"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:23:01.625443"], ["updated_at", "2016-04-25 02:23:01.625443"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:01.634988"], ["updated_at", "2016-04-25 02:23:01.634988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:01.642649"], ["updated_at", "2016-04-25 02:23:01.642649"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:01.644186"], ["updated_at", "2016-04-25 02:23:01.644186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:23:01.645307"], ["updated_at", "2016-04-25 02:23:01.645307"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:01.653246"], ["updated_at", "2016-04-25 02:23:01.653246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:01.654659"], ["updated_at", "2016-04-25 02:23:01.654659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:23:01.659292"], ["updated_at", "2016-04-25 02:23:01.659292"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:23:01.660675"], ["updated_at", "2016-04-25 02:23:01.660675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:23:01.664243"], ["updated_at", "2016-04-25 02:23:01.664243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:01.665640"], ["updated_at", "2016-04-25 02:23:01.665640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:23:01.666765"], ["updated_at", "2016-04-25 02:23:01.666765"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Edgardo Gusikowski"], ["created_at", "2016-04-25 02:23:01.672030"], ["updated_at", "2016-04-25 02:23:01.672030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:23:01.673542"], ["updated_at", "2016-04-25 02:23:01.673542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Verna Turcotte V"], ["created_at", "2016-04-25 02:23:01.682444"], ["updated_at", "2016-04-25 02:23:01.682444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Wehner, Berge and Davis"], ["body", "At ex non consequuntur pariatur ut nisi repudiandae."], ["created_at", "2016-04-25 02:23:01.684092"], ["updated_at", "2016-04-25 02:23:01.684092"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:01.725161"], ["updated_at", "2016-04-25 02:23:01.725161"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:01.737543"], ["updated_at", "2016-04-25 02:23:01.737543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:23:01.739018"], ["updated_at", "2016-04-25 02:23:01.739018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:01.746212"], ["updated_at", "2016-04-25 02:23:01.746212"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:23:01.748315"], ["updated_at", "2016-04-25 02:23:01.748315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:01.754409"], ["updated_at", "2016-04-25 02:23:01.754409"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.42ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (27.37ms) Completed 200 OK in 40ms (Views: 33.8ms | ActiveRecord: 0.6ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:23:54.834752"], ["updated_at", "2016-04-25 02:23:54.834752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:54.836547"], ["updated_at", "2016-04-25 02:23:54.836547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 02:23:54.837697"], ["updated_at", "2016-04-25 02:23:54.837697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:23:54.845524"], ["updated_at", "2016-04-25 02:23:54.845524"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 02:23:54.846877"], ["updated_at", "2016-04-25 02:23:54.846877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 02:23:54.851352"], ["updated_at", "2016-04-25 02:23:54.851352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:54.852792"], ["updated_at", "2016-04-25 02:23:54.852792"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 02:23:54.856883"], ["updated_at", "2016-04-25 02:23:54.856883"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:54.863280"], ["updated_at", "2016-04-25 02:23:54.863280"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 02:23:54.865495"], ["updated_at", "2016-04-25 02:23:54.865495"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 02:23:54.866802"], ["updated_at", "2016-04-25 02:23:54.866802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:54.888149"], ["updated_at", "2016-04-25 02:23:54.888149"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 02:23:54.889501"], ["updated_at", "2016-04-25 02:23:54.889501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:55.262752"], ["updated_at", "2016-04-25 02:23:55.262752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:55.264182"], ["updated_at", "2016-04-25 02:23:55.264182"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:55.268406"], ["updated_at", "2016-04-25 02:23:55.268406"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 02:23:55.275916"], ["updated_at", "2016-04-25 02:23:55.275916"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 02:23:55.277241"], ["updated_at", "2016-04-25 02:23:55.277241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:55.287714"], ["updated_at", "2016-04-25 02:23:55.287714"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:55.297895"], ["updated_at", "2016-04-25 02:23:55.297895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:55.305221"], ["updated_at", "2016-04-25 02:23:55.305221"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:23:55.306509"], ["updated_at", "2016-04-25 02:23:55.306509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 02:23:55.319418"], ["updated_at", "2016-04-25 02:23:55.319418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 02:23:55.320780"], ["updated_at", "2016-04-25 02:23:55.320780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.11ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 12:23:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Cordelia Beer"], ["created_at", "2016-04-25 02:23:55.395587"], ["updated_at", "2016-04-25 02:23:55.395587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Howell-Herzog"], ["body", "Non voluptatem ipsum velit sed est modi."], ["created_at", "2016-04-25 02:23:55.397323"], ["updated_at", "2016-04-25 02:23:55.397323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Trace Baumbach"], ["created_at", "2016-04-25 02:23:55.413832"], ["updated_at", "2016-04-25 02:23:55.413832"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 02:23:55.415575"], ["updated_at", "2016-04-25 02:23:55.415575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.45ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.45ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.4ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.14ms) Completed 403 Forbidden in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (1.3ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.49ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:17:59 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jonatan Homenick"], ["created_at", "2016-04-25 03:17:59.993390"], ["updated_at", "2016-04-25 03:17:59.993390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Sawayn and Sons"], ["body", "Ut iure magnam voluptatem."], ["created_at", "2016-04-25 03:18:00.001290"], ["updated_at", "2016-04-25 03:18:00.001290"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Claude Yundt"], ["created_at", "2016-04-25 03:18:00.042016"], ["updated_at", "2016-04-25 03:18:00.042016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:18:00.043427"], ["updated_at", "2016-04-25 03:18:00.043427"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:18:00.214730"], ["updated_at", "2016-04-25 03:18:00.214730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:18:00.217815"], ["updated_at", "2016-04-25 03:18:00.217815"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:18:00.226975"], ["updated_at", "2016-04-25 03:18:00.226975"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:18:00.228613"], ["updated_at", "2016-04-25 03:18:00.228613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:18:00.229925"], ["updated_at", "2016-04-25 03:18:00.229925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (9.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:18:00.243265"], ["updated_at", "2016-04-25 03:18:00.243265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:18:00.245067"], ["updated_at", "2016-04-25 03:18:00.245067"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:18:00.261567"], ["updated_at", "2016-04-25 03:18:00.261567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:18:00.262914"], ["updated_at", "2016-04-25 03:18:00.262914"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:18:00.270451"], ["updated_at", "2016-04-25 03:18:00.270451"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:18:00.271910"], ["updated_at", "2016-04-25 03:18:00.271910"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:18:00.276390"], ["updated_at", "2016-04-25 03:18:00.276390"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:18:00.284377"], ["updated_at", "2016-04-25 03:18:00.284377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:18:00.285835"], ["updated_at", "2016-04-25 03:18:00.285835"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:18:00.286915"], ["updated_at", "2016-04-25 03:18:00.286915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:18:00.296589"], ["updated_at", "2016-04-25 03:18:00.296589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:18:00.299474"], ["updated_at", "2016-04-25 03:18:00.299474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:18:00.300794"], ["updated_at", "2016-04-25 03:18:00.300794"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:18:00.346367"], ["updated_at", "2016-04-25 03:18:00.346367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:18:00.352870"], ["updated_at", "2016-04-25 03:18:00.352870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:18:00.354183"], ["updated_at", "2016-04-25 03:18:00.354183"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:18:00.359940"], ["updated_at", "2016-04-25 03:18:00.359940"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:18:00.361288"], ["updated_at", "2016-04-25 03:18:00.361288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:18:00.367928"], ["updated_at", "2016-04-25 03:18:00.367928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.47ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (21.6ms) Completed 200 OK in 34ms (Views: 26.2ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.1ms) Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:49:01.885834"], ["updated_at", "2016-04-25 03:49:01.885834"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:49:01.887447"], ["updated_at", "2016-04-25 03:49:01.887447"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:49:01.899464"], ["updated_at", "2016-04-25 03:49:01.899464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:49:01.900898"], ["updated_at", "2016-04-25 03:49:01.900898"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:49:01.901960"], ["updated_at", "2016-04-25 03:49:01.901960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:49:01.908270"], ["updated_at", "2016-04-25 03:49:01.908270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:49:01.909932"], ["updated_at", "2016-04-25 03:49:01.909932"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:49:01.929701"], ["updated_at", "2016-04-25 03:49:01.929701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:49:01.931166"], ["updated_at", "2016-04-25 03:49:01.931166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:49:01.932354"], ["updated_at", "2016-04-25 03:49:01.932354"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:49:01.953059"], ["updated_at", "2016-04-25 03:49:01.953059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:49:01.954426"], ["updated_at", "2016-04-25 03:49:01.954426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:49:01.964270"], ["updated_at", "2016-04-25 03:49:01.964270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:49:01.972937"], ["updated_at", "2016-04-25 03:49:01.972937"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:49:01.974360"], ["updated_at", "2016-04-25 03:49:01.974360"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:49:01.978749"], ["updated_at", "2016-04-25 03:49:01.978749"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:49:01.980020"], ["updated_at", "2016-04-25 03:49:01.980020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:49:01.982851"], ["updated_at", "2016-04-25 03:49:01.982851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:01 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:02 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:02 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:02 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:02 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:49:02 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:49:02.025302"], ["updated_at", "2016-04-25 03:49:02.025302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:49:02.034393"], ["updated_at", "2016-04-25 03:49:02.034393"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:49:02.036027"], ["updated_at", "2016-04-25 03:49:02.036027"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:49:02.042155"], ["updated_at", "2016-04-25 03:49:02.042155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:49:02.043479"], ["updated_at", "2016-04-25 03:49:02.043479"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:49:02.053809"], ["updated_at", "2016-04-25 03:49:02.053809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.48ms) Completed 403 Forbidden in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Eloise Barrows"], ["created_at", "2016-04-25 03:49:02.206518"], ["updated_at", "2016-04-25 03:49:02.206518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Fahey, Nolan and O'Keefe"], ["body", "Maiores sed minus est iusto id."], ["created_at", "2016-04-25 03:49:02.208420"], ["updated_at", "2016-04-25 03:49:02.208420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Hiram Grady"], ["created_at", "2016-04-25 03:49:02.225857"], ["updated_at", "2016-04-25 03:49:02.225857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:49:02.227456"], ["updated_at", "2016-04-25 03:49:02.227456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.74ms) Completed 200 OK in 25ms (Views: 18.9ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:01.277015"], ["updated_at", "2016-04-25 03:51:01.277015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:01.285543"], ["updated_at", "2016-04-25 03:51:01.285543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:01.296072"], ["updated_at", "2016-04-25 03:51:01.296072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:51:01.297318"], ["updated_at", "2016-04-25 03:51:01.297318"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:01.304193"], ["updated_at", "2016-04-25 03:51:01.304193"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:51:01.305730"], ["updated_at", "2016-04-25 03:51:01.305730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:01.326257"], ["updated_at", "2016-04-25 03:51:01.326257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:51:01.327779"], ["updated_at", "2016-04-25 03:51:01.327779"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:01.340256"], ["updated_at", "2016-04-25 03:51:01.340256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:01.341665"], ["updated_at", "2016-04-25 03:51:01.341665"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:01.346054"], ["updated_at", "2016-04-25 03:51:01.346054"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:01.347534"], ["updated_at", "2016-04-25 03:51:01.347534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:51:01.348653"], ["updated_at", "2016-04-25 03:51:01.348653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:01.356694"], ["updated_at", "2016-04-25 03:51:01.356694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:01.364580"], ["updated_at", "2016-04-25 03:51:01.364580"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:01.365948"], ["updated_at", "2016-04-25 03:51:01.365948"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:51:01.373642"], ["updated_at", "2016-04-25 03:51:01.373642"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:01.375480"], ["updated_at", "2016-04-25 03:51:01.375480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:51:01.378588"], ["updated_at", "2016-04-25 03:51:01.378588"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:51:01.381199"], ["updated_at", "2016-04-25 03:51:01.381199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:51:01.382732"], ["updated_at", "2016-04-25 03:51:01.382732"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:51:01.389188"], ["updated_at", "2016-04-25 03:51:01.389188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:01.390603"], ["updated_at", "2016-04-25 03:51:01.390603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:51:01.391717"], ["updated_at", "2016-04-25 03:51:01.391717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Cristian Daniel MD"], ["created_at", "2016-04-25 03:51:01.476302"], ["updated_at", "2016-04-25 03:51:01.476302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Kutch-Jast"], ["body", "Consectetur voluptate quia et."], ["created_at", "2016-04-25 03:51:01.478450"], ["updated_at", "2016-04-25 03:51:01.478450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Emmie Kirlin IV"], ["created_at", "2016-04-25 03:51:01.486211"], ["updated_at", "2016-04-25 03:51:01.486211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:51:01.487894"], ["updated_at", "2016-04-25 03:51:01.487894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:01 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.5ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:32 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.19ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:51:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.97ms) Completed 422 Unprocessable Entity in 4ms (Views: 4.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.46ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:51:33.223916"], ["updated_at", "2016-04-25 03:51:33.223916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:51:33.237164"], ["updated_at", "2016-04-25 03:51:33.237164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:33.238723"], ["updated_at", "2016-04-25 03:51:33.238723"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:51:33.244200"], ["updated_at", "2016-04-25 03:51:33.244200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:33.245691"], ["updated_at", "2016-04-25 03:51:33.245691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:51:33.246877"], ["updated_at", "2016-04-25 03:51:33.246877"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:51:33.250777"], ["updated_at", "2016-04-25 03:51:33.250777"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:51:33.252047"], ["updated_at", "2016-04-25 03:51:33.252047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:33.259776"], ["updated_at", "2016-04-25 03:51:33.259776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:51:33.261223"], ["updated_at", "2016-04-25 03:51:33.261223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:33.281557"], ["updated_at", "2016-04-25 03:51:33.281557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:51:33.283082"], ["updated_at", "2016-04-25 03:51:33.283082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:51:33.284195"], ["updated_at", "2016-04-25 03:51:33.284195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:33.292590"], ["updated_at", "2016-04-25 03:51:33.292590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:33.300295"], ["updated_at", "2016-04-25 03:51:33.300295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:33.301620"], ["updated_at", "2016-04-25 03:51:33.301620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:51:33.309179"], ["updated_at", "2016-04-25 03:51:33.309179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:51:33.310559"], ["updated_at", "2016-04-25 03:51:33.310559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Alisa Gutmann"], ["created_at", "2016-04-25 03:51:33.473565"], ["updated_at", "2016-04-25 03:51:33.473565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Dicki Group"], ["body", "Quas ducimus deserunt ipsa eveniet illo aut et veritatis."], ["created_at", "2016-04-25 03:51:33.475842"], ["updated_at", "2016-04-25 03:51:33.475842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Lorna Schamberger"], ["created_at", "2016-04-25 03:51:33.485193"], ["updated_at", "2016-04-25 03:51:33.485193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:51:33.486895"], ["updated_at", "2016-04-25 03:51:33.486895"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:33.531764"], ["updated_at", "2016-04-25 03:51:33.531764"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:33.546389"], ["updated_at", "2016-04-25 03:51:33.546389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:33.554759"], ["updated_at", "2016-04-25 03:51:33.554759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:51:33.556256"], ["updated_at", "2016-04-25 03:51:33.556256"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:51:33.562618"], ["updated_at", "2016-04-25 03:51:33.562618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:51:33.564135"], ["updated_at", "2016-04-25 03:51:33.564135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.26ms) Completed 200 OK in 16ms (Views: 15.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.2ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.74ms) Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:53:40.847206"], ["updated_at", "2016-04-25 03:53:40.847206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:53:40.865655"], ["updated_at", "2016-04-25 03:53:40.865655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:53:40.876014"], ["updated_at", "2016-04-25 03:53:40.876014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:53:40.877320"], ["updated_at", "2016-04-25 03:53:40.877320"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:53:40.884235"], ["updated_at", "2016-04-25 03:53:40.884235"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:53:40.885647"], ["updated_at", "2016-04-25 03:53:40.885647"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:53:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.23ms) Completed 422 Unprocessable Entity in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:53:41.124414"], ["updated_at", "2016-04-25 03:53:41.124414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:53:41.125927"], ["updated_at", "2016-04-25 03:53:41.125927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:53:41.130613"], ["updated_at", "2016-04-25 03:53:41.130613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:53:41.134959"], ["updated_at", "2016-04-25 03:53:41.134959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:53:41.136514"], ["updated_at", "2016-04-25 03:53:41.136514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:53:41.137654"], ["updated_at", "2016-04-25 03:53:41.137654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:53:41.141051"], ["updated_at", "2016-04-25 03:53:41.141051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:53:41.142513"], ["updated_at", "2016-04-25 03:53:41.142513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:53:41.148953"], ["updated_at", "2016-04-25 03:53:41.148953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:53:41.150623"], ["updated_at", "2016-04-25 03:53:41.150623"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:53:41.163543"], ["updated_at", "2016-04-25 03:53:41.163543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:53:41.164991"], ["updated_at", "2016-04-25 03:53:41.164991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:53:41.172963"], ["updated_at", "2016-04-25 03:53:41.172963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:53:41.174288"], ["updated_at", "2016-04-25 03:53:41.174288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:53:41.178945"], ["updated_at", "2016-04-25 03:53:41.178945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:53:41.187786"], ["updated_at", "2016-04-25 03:53:41.187786"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:53:41.189224"], ["updated_at", "2016-04-25 03:53:41.189224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:53:41.190542"], ["updated_at", "2016-04-25 03:53:41.190542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Marcus Reilly IV"], ["created_at", "2016-04-25 03:53:41.213425"], ["updated_at", "2016-04-25 03:53:41.213425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Ziemann Group"], ["body", "Quos vel quo ratione sit."], ["created_at", "2016-04-25 03:53:41.215418"], ["updated_at", "2016-04-25 03:53:41.215418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Haylee Reynolds"], ["created_at", "2016-04-25 03:53:41.221306"], ["updated_at", "2016-04-25 03:53:41.221306"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:53:41.222737"], ["updated_at", "2016-04-25 03:53:41.222737"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.18ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:54:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Shyanne Bergnaum III"], ["created_at", "2016-04-25 03:54:12.118093"], ["updated_at", "2016-04-25 03:54:12.118093"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:54:12.125581"], ["updated_at", "2016-04-25 03:54:12.125581"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Danial Crist IV"], ["created_at", "2016-04-25 03:54:12.130640"], ["updated_at", "2016-04-25 03:54:12.130640"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Walter, Pollich and Rogahn"], ["body", "Commodi dolorem sint fuga repellat."], ["created_at", "2016-04-25 03:54:12.132401"], ["updated_at", "2016-04-25 03:54:12.132401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.12ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 10ms (Views: 9.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.42ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:54:12.306145"], ["updated_at", "2016-04-25 03:54:12.306145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:54:12.307637"], ["updated_at", "2016-04-25 03:54:12.307637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:54:12.316272"], ["updated_at", "2016-04-25 03:54:12.316272"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:54:12.328515"], ["updated_at", "2016-04-25 03:54:12.328515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:54:12.330107"], ["updated_at", "2016-04-25 03:54:12.330107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:54:12.331549"], ["updated_at", "2016-04-25 03:54:12.331549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:54:12.340626"], ["updated_at", "2016-04-25 03:54:12.340626"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:54:12.342013"], ["updated_at", "2016-04-25 03:54:12.342013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:54:12.349473"], ["updated_at", "2016-04-25 03:54:12.349473"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:54:12.350793"], ["updated_at", "2016-04-25 03:54:12.350793"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:54:12.360352"], ["updated_at", "2016-04-25 03:54:12.360352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:54:12.363138"], ["updated_at", "2016-04-25 03:54:12.363138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:54:12.364523"], ["updated_at", "2016-04-25 03:54:12.364523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:54:12.369022"], ["updated_at", "2016-04-25 03:54:12.369022"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:54:12.370574"], ["updated_at", "2016-04-25 03:54:12.370574"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:54:12.374682"], ["updated_at", "2016-04-25 03:54:12.374682"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:54:12.376601"], ["updated_at", "2016-04-25 03:54:12.376601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:54:12.377763"], ["updated_at", "2016-04-25 03:54:12.377763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:54:12.477459"], ["updated_at", "2016-04-25 03:54:12.477459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:54:12.488881"], ["updated_at", "2016-04-25 03:54:12.488881"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:54:12.490964"], ["updated_at", "2016-04-25 03:54:12.490964"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:54:12.496675"], ["updated_at", "2016-04-25 03:54:12.496675"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:54:12.497913"], ["updated_at", "2016-04-25 03:54:12.497913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:54:12.505874"], ["updated_at", "2016-04-25 03:54:12.505874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Elyssa Lesch PhD"], ["created_at", "2016-04-25 03:59:06.175281"], ["updated_at", "2016-04-25 03:59:06.175281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 03:59:06.184102"], ["updated_at", "2016-04-25 03:59:06.184102"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jaylin Mann"], ["created_at", "2016-04-25 03:59:06.193876"], ["updated_at", "2016-04-25 03:59:06.193876"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Klocko and Sons"], ["body", "Est eos doloribus nesciunt eum explicabo id ut."], ["created_at", "2016-04-25 03:59:06.195673"], ["updated_at", "2016-04-25 03:59:06.195673"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 13:59:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:59:06.376541"], ["updated_at", "2016-04-25 03:59:06.376541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:59:06.383357"], ["updated_at", "2016-04-25 03:59:06.383357"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:59:06.384830"], ["updated_at", "2016-04-25 03:59:06.384830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:59:06.391913"], ["updated_at", "2016-04-25 03:59:06.391913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 03:59:06.393280"], ["updated_at", "2016-04-25 03:59:06.393280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 03:59:06.406621"], ["updated_at", "2016-04-25 03:59:06.406621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:59:06.412641"], ["updated_at", "2016-04-25 03:59:06.412641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:59:06.414240"], ["updated_at", "2016-04-25 03:59:06.414240"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 03:59:06.415389"], ["updated_at", "2016-04-25 03:59:06.415389"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:59:06.420047"], ["updated_at", "2016-04-25 03:59:06.420047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 03:59:06.421420"], ["updated_at", "2016-04-25 03:59:06.421420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:59:06.427637"], ["updated_at", "2016-04-25 03:59:06.427637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:59:06.429145"], ["updated_at", "2016-04-25 03:59:06.429145"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:59:06.437050"], ["updated_at", "2016-04-25 03:59:06.437050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:59:06.438658"], ["updated_at", "2016-04-25 03:59:06.438658"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 03:59:06.439903"], ["updated_at", "2016-04-25 03:59:06.439903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:59:06.448038"], ["updated_at", "2016-04-25 03:59:06.448038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:59:06.449561"], ["updated_at", "2016-04-25 03:59:06.449561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 03:59:06.454144"], ["updated_at", "2016-04-25 03:59:06.454144"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 03:59:06.456020"], ["updated_at", "2016-04-25 03:59:06.456020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 03:59:06.463904"], ["updated_at", "2016-04-25 03:59:06.463904"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 03:59:06.472039"], ["updated_at", "2016-04-25 03:59:06.472039"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 03:59:06.474833"], ["updated_at", "2016-04-25 03:59:06.474833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 03:59:06.477879"], ["updated_at", "2016-04-25 03:59:06.477879"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.19ms) Completed 200 OK in 17ms (Views: 15.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Anya Sporer"], ["created_at", "2016-04-25 04:00:16.969162"], ["updated_at", "2016-04-25 04:00:16.969162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Cummings-Gorczany"], ["body", "In voluptate quia rerum non dolorum."], ["created_at", "2016-04-25 04:00:16.976087"], ["updated_at", "2016-04-25 04:00:16.976087"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Van Jenkins MD"], ["created_at", "2016-04-25 04:00:16.990560"], ["updated_at", "2016-04-25 04:00:16.990560"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:00:16.992049"], ["updated_at", "2016-04-25 04:00:16.992049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.14ms) Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.9ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (2.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:00:17.265765"], ["updated_at", "2016-04-25 04:00:17.265765"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:00:17.268653"], ["updated_at", "2016-04-25 04:00:17.268653"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:00:17.295602"], ["updated_at", "2016-04-25 04:00:17.295602"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:00:17.298359"], ["updated_at", "2016-04-25 04:00:17.298359"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:00:17.300238"], ["updated_at", "2016-04-25 04:00:17.300238"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:00:17.306930"], ["updated_at", "2016-04-25 04:00:17.306930"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:00:17.311078"], ["updated_at", "2016-04-25 04:00:17.311078"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:00:17.312534"], ["updated_at", "2016-04-25 04:00:17.312534"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:00:17.315639"], ["updated_at", "2016-04-25 04:00:17.315639"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:00:17.357066"], ["updated_at", "2016-04-25 04:00:17.357066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:00:17.358484"], ["updated_at", "2016-04-25 04:00:17.358484"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:00:17.365842"], ["updated_at", "2016-04-25 04:00:17.365842"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:00:17.367312"], ["updated_at", "2016-04-25 04:00:17.367312"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:00:17.374781"], ["updated_at", "2016-04-25 04:00:17.374781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:00:17.376097"], ["updated_at", "2016-04-25 04:00:17.376097"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:00:17.381352"], ["updated_at", "2016-04-25 04:00:17.381352"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:00:17.382779"], ["updated_at", "2016-04-25 04:00:17.382779"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:00:17.384062"], ["updated_at", "2016-04-25 04:00:17.384062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:00:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:00:17.450829"], ["updated_at", "2016-04-25 04:00:17.450829"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:00:17.458794"], ["updated_at", "2016-04-25 04:00:17.458794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:00:17.466963"], ["updated_at", "2016-04-25 04:00:17.466963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:00:17.469917"], ["updated_at", "2016-04-25 04:00:17.469917"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:00:17.475912"], ["updated_at", "2016-04-25 04:00:17.475912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:00:17.477276"], ["updated_at", "2016-04-25 04:00:17.477276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (1.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Prince Bergstrom"], ["created_at", "2016-04-25 04:00:29.601796"], ["updated_at", "2016-04-25 04:00:29.601796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:00:29.609273"], ["updated_at", "2016-04-25 04:00:29.609273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Alvena Reichel"], ["created_at", "2016-04-25 04:00:29.619130"], ["updated_at", "2016-04-25 04:00:29.619130"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Ankunding-Ebert"], ["body", "Eum voluptate reprehenderit architecto molestias harum sit ipsa velit."], ["created_at", "2016-04-25 04:00:29.620762"], ["updated_at", "2016-04-25 04:00:29.620762"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Elwin Von"], ["created_at", "2016-04-25 04:01:07.759241"], ["updated_at", "2016-04-25 04:01:07.759241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:01:07.765858"], ["updated_at", "2016-04-25 04:01:07.765858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Randall Deckow"], ["created_at", "2016-04-25 04:01:07.774444"], ["updated_at", "2016-04-25 04:01:07.774444"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Mante-Hilll"], ["body", "Enim veritatis fuga dolorem nulla."], ["created_at", "2016-04-25 04:01:07.776050"], ["updated_at", "2016-04-25 04:01:07.776050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Janae Fadel"], ["created_at", "2016-04-25 04:02:15.989954"], ["updated_at", "2016-04-25 04:02:15.989954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:02:15.996991"], ["updated_at", "2016-04-25 04:02:15.996991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Bailey Thompson"], ["created_at", "2016-04-25 04:02:16.021787"], ["updated_at", "2016-04-25 04:02:16.021787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Beatty-Schamberger"], ["body", "Temporibus dolorem sunt voluptas ut ad omnis eum."], ["created_at", "2016-04-25 04:02:16.023522"], ["updated_at", "2016-04-25 04:02:16.023522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:02:35.756344"], ["updated_at", "2016-04-25 04:02:35.756344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:02:35.762638"], ["updated_at", "2016-04-25 04:02:35.762638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:02:35.764103"], ["updated_at", "2016-04-25 04:02:35.764103"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:02:35.797260"], ["updated_at", "2016-04-25 04:02:35.797260"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:02:35.798688"], ["updated_at", "2016-04-25 04:02:35.798688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:02:35.804302"], ["updated_at", "2016-04-25 04:02:35.804302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:02:35.805633"], ["updated_at", "2016-04-25 04:02:35.805633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:02:35.813801"], ["updated_at", "2016-04-25 04:02:35.813801"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:02:35.821512"], ["updated_at", "2016-04-25 04:02:35.821512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:02:35.822839"], ["updated_at", "2016-04-25 04:02:35.822839"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:02:35.831830"], ["updated_at", "2016-04-25 04:02:35.831830"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:02:35.833607"], ["updated_at", "2016-04-25 04:02:35.833607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:02:35.834745"], ["updated_at", "2016-04-25 04:02:35.834745"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:02:35.839032"], ["updated_at", "2016-04-25 04:02:35.839032"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:02:35.840340"], ["updated_at", "2016-04-25 04:02:35.840340"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:02:35.845976"], ["updated_at", "2016-04-25 04:02:35.845976"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:02:35.848869"], ["updated_at", "2016-04-25 04:02:35.848869"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:02:35.850249"], ["updated_at", "2016-04-25 04:02:35.850249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.1ms) Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:02:36.003909"], ["updated_at", "2016-04-25 04:02:36.003909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:02:36.008975"], ["updated_at", "2016-04-25 04:02:36.008975"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:02:36.010641"], ["updated_at", "2016-04-25 04:02:36.010641"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:02:36.016886"], ["updated_at", "2016-04-25 04:02:36.016886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:02:36.018234"], ["updated_at", "2016-04-25 04:02:36.018234"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:02:36.030051"], ["updated_at", "2016-04-25 04:02:36.030051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.7ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Esperanza Goldner"], ["created_at", "2016-04-25 04:02:36.180078"], ["updated_at", "2016-04-25 04:02:36.180078"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:02:36.182826"], ["updated_at", "2016-04-25 04:02:36.182826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ally Russel DDS"], ["created_at", "2016-04-25 04:02:36.205981"], ["updated_at", "2016-04-25 04:02:36.205981"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Jacobs, Zulauf and Marks"], ["body", "Et sint itaque dolorum commodi."], ["created_at", "2016-04-25 04:02:36.208032"], ["updated_at", "2016-04-25 04:02:36.208032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (2.4ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.9ms) Completed 403 Forbidden in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.09ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:02:36 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:03:28.229799"], ["updated_at", "2016-04-25 04:03:28.229799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:03:28.252983"], ["updated_at", "2016-04-25 04:03:28.252983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:03:28.261347"], ["updated_at", "2016-04-25 04:03:28.261347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:03:28.262854"], ["updated_at", "2016-04-25 04:03:28.262854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:03:28.268772"], ["updated_at", "2016-04-25 04:03:28.268772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:03:28.270129"], ["updated_at", "2016-04-25 04:03:28.270129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:03:28 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Keenan Zieme PhD"], ["created_at", "2016-04-25 04:03:28.428584"], ["updated_at", "2016-04-25 04:03:28.428584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Koch, Terry and Halvorson"], ["body", "Voluptate eos labore id."], ["created_at", "2016-04-25 04:03:28.435534"], ["updated_at", "2016-04-25 04:03:28.435534"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Craig Bruen"], ["created_at", "2016-04-25 04:03:28.476942"], ["updated_at", "2016-04-25 04:03:28.476942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:03:28.478436"], ["updated_at", "2016-04-25 04:03:28.478436"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:03:28.485496"], ["updated_at", "2016-04-25 04:03:28.485496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:03:28.488249"], ["updated_at", "2016-04-25 04:03:28.488249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:03:28.489637"], ["updated_at", "2016-04-25 04:03:28.489637"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:03:28.493974"], ["updated_at", "2016-04-25 04:03:28.493974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:03:28.495530"], ["updated_at", "2016-04-25 04:03:28.495530"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:03:28.499155"], ["updated_at", "2016-04-25 04:03:28.499155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:03:28.500587"], ["updated_at", "2016-04-25 04:03:28.500587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:03:28.501630"], ["updated_at", "2016-04-25 04:03:28.501630"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:03:28.505180"], ["updated_at", "2016-04-25 04:03:28.505180"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:03:28.506542"], ["updated_at", "2016-04-25 04:03:28.506542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:03:28.511268"], ["updated_at", "2016-04-25 04:03:28.511268"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:03:28.512959"], ["updated_at", "2016-04-25 04:03:28.512959"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:03:28.522619"], ["updated_at", "2016-04-25 04:03:28.522619"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:03:28.530781"], ["updated_at", "2016-04-25 04:03:28.530781"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:03:28.532517"], ["updated_at", "2016-04-25 04:03:28.532517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:03:28.540114"], ["updated_at", "2016-04-25 04:03:28.540114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:03:28.541480"], ["updated_at", "2016-04-25 04:03:28.541480"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:03:28.542608"], ["updated_at", "2016-04-25 04:03:28.542608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.87ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (20.13ms) Completed 200 OK in 32ms (Views: 25.0ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.16ms) Completed 422 Unprocessable Entity in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.68ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:43:54.709532"], ["updated_at", "2016-04-25 04:43:54.709532"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:43:54.711266"], ["updated_at", "2016-04-25 04:43:54.711266"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:43:54.720800"], ["updated_at", "2016-04-25 04:43:54.720800"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:43:54.722298"], ["updated_at", "2016-04-25 04:43:54.722298"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:43:54.723424"], ["updated_at", "2016-04-25 04:43:54.723424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:43:54.731324"], ["updated_at", "2016-04-25 04:43:54.731324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:43:54.733075"], ["updated_at", "2016-04-25 04:43:54.733075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:43:54.734711"], ["updated_at", "2016-04-25 04:43:54.734711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:43:54.757951"], ["updated_at", "2016-04-25 04:43:54.757951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:43:54.766076"], ["updated_at", "2016-04-25 04:43:54.766076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:43:54.767343"], ["updated_at", "2016-04-25 04:43:54.767343"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:43:54.774525"], ["updated_at", "2016-04-25 04:43:54.774525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:43:54.776168"], ["updated_at", "2016-04-25 04:43:54.776168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:43:54.783897"], ["updated_at", "2016-04-25 04:43:54.783897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:43:54.785463"], ["updated_at", "2016-04-25 04:43:54.785463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:43:54.790108"], ["updated_at", "2016-04-25 04:43:54.790108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:43:54.793537"], ["updated_at", "2016-04-25 04:43:54.793537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:43:54.794925"], ["updated_at", "2016-04-25 04:43:54.794925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:43:54.828991"], ["updated_at", "2016-04-25 04:43:54.828991"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:43:54.853839"], ["updated_at", "2016-04-25 04:43:54.853839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:43:54.862616"], ["updated_at", "2016-04-25 04:43:54.862616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:43:54.864575"], ["updated_at", "2016-04-25 04:43:54.864575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:43:54.868979"], ["updated_at", "2016-04-25 04:43:54.868979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:43:54.870304"], ["updated_at", "2016-04-25 04:43:54.870304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Marty Swift"], ["created_at", "2016-04-25 04:43:54.880190"], ["updated_at", "2016-04-25 04:43:54.880190"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:43:54.883158"], ["updated_at", "2016-04-25 04:43:54.883158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mona Tremblay"], ["created_at", "2016-04-25 04:43:54.888496"], ["updated_at", "2016-04-25 04:43:54.888496"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Stark-Wisoky"], ["body", "Dolores provident tempore ipsa eligendi enim similique reprehenderit."], ["created_at", "2016-04-25 04:43:54.890887"], ["updated_at", "2016-04-25 04:43:54.890887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:43:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.7ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.38ms) Completed 200 OK in 26ms (Views: 20.0ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:46:05 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Greg Zemlak"], ["created_at", "2016-04-25 04:46:05.534908"], ["updated_at", "2016-04-25 04:46:05.534908"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:46:05.539881"], ["updated_at", "2016-04-25 04:46:05.539881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Rosalee Hansen"], ["created_at", "2016-04-25 04:46:05.544137"], ["updated_at", "2016-04-25 04:46:05.544137"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Ratke Inc"], ["body", "Sunt debitis dicta beatae sed voluptatem."], ["created_at", "2016-04-25 04:46:05.545874"], ["updated_at", "2016-04-25 04:46:05.545874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:46:05.584429"], ["updated_at", "2016-04-25 04:46:05.584429"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:46:05.613976"], ["updated_at", "2016-04-25 04:46:05.613976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:46:05.630587"], ["updated_at", "2016-04-25 04:46:05.630587"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:46:05.632121"], ["updated_at", "2016-04-25 04:46:05.632121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:46:05.636470"], ["updated_at", "2016-04-25 04:46:05.636470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:46:05.637824"], ["updated_at", "2016-04-25 04:46:05.637824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.1ms) Completed 422 Unprocessable Entity in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.8ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:46:05.699803"], ["updated_at", "2016-04-25 04:46:05.699803"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:46:05.702939"], ["updated_at", "2016-04-25 04:46:05.702939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:46:05.711210"], ["updated_at", "2016-04-25 04:46:05.711210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:46:05.712770"], ["updated_at", "2016-04-25 04:46:05.712770"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:46:05.714213"], ["updated_at", "2016-04-25 04:46:05.714213"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:46:05.719691"], ["updated_at", "2016-04-25 04:46:05.719691"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:46:05.721084"], ["updated_at", "2016-04-25 04:46:05.721084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:46:05.735273"], ["updated_at", "2016-04-25 04:46:05.735273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:46:05.737808"], ["updated_at", "2016-04-25 04:46:05.737808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:46:05.739301"], ["updated_at", "2016-04-25 04:46:05.739301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:46:05.748685"], ["updated_at", "2016-04-25 04:46:05.748685"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:46:05.750033"], ["updated_at", "2016-04-25 04:46:05.750033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:46:05.755351"], ["updated_at", "2016-04-25 04:46:05.755351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:46:05.756817"], ["updated_at", "2016-04-25 04:46:05.756817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:46:05.764459"], ["updated_at", "2016-04-25 04:46:05.764459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:46:05.772521"], ["updated_at", "2016-04-25 04:46:05.772521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:46:05.775159"], ["updated_at", "2016-04-25 04:46:05.775159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:46:05.776455"], ["updated_at", "2016-04-25 04:46:05.776455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:48:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.39ms) Completed 200 OK in 27ms (Views: 21.2ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mac Stiedemann"], ["created_at", "2016-04-25 04:48:39.658291"], ["updated_at", "2016-04-25 04:48:39.658291"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:48:39.662654"], ["updated_at", "2016-04-25 04:48:39.662654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Graham Volkman"], ["created_at", "2016-04-25 04:48:39.666261"], ["updated_at", "2016-04-25 04:48:39.666261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Schuppe and Sons"], ["body", "Ducimus porro rem nihil quasi."], ["created_at", "2016-04-25 04:48:39.667847"], ["updated_at", "2016-04-25 04:48:39.667847"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:48:39.882300"], ["updated_at", "2016-04-25 04:48:39.882300"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:48:39.903944"], ["updated_at", "2016-04-25 04:48:39.903944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:48:39.909924"], ["updated_at", "2016-04-25 04:48:39.909924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:48:39.911186"], ["updated_at", "2016-04-25 04:48:39.911186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:48:39.916725"], ["updated_at", "2016-04-25 04:48:39.916725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:48:39.918164"], ["updated_at", "2016-04-25 04:48:39.918164"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:48:39.993108"], ["updated_at", "2016-04-25 04:48:39.993108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:48:39.994848"], ["updated_at", "2016-04-25 04:48:39.994848"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:48:39.998922"], ["updated_at", "2016-04-25 04:48:39.998922"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:48:40.001963"], ["updated_at", "2016-04-25 04:48:40.001963"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:48:40.003254"], ["updated_at", "2016-04-25 04:48:40.003254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:48:40.006928"], ["updated_at", "2016-04-25 04:48:40.006928"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:48:40.009565"], ["updated_at", "2016-04-25 04:48:40.009565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:48:40.010967"], ["updated_at", "2016-04-25 04:48:40.010967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:48:40.016024"], ["updated_at", "2016-04-25 04:48:40.016024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:48:40.017546"], ["updated_at", "2016-04-25 04:48:40.017546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:48:40.018709"], ["updated_at", "2016-04-25 04:48:40.018709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:48:40.027490"], ["updated_at", "2016-04-25 04:48:40.027490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:48:40.029106"], ["updated_at", "2016-04-25 04:48:40.029106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:48:40.034629"], ["updated_at", "2016-04-25 04:48:40.034629"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:48:40.044244"], ["updated_at", "2016-04-25 04:48:40.044244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:48:40.045632"], ["updated_at", "2016-04-25 04:48:40.045632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:48:40.053668"], ["updated_at", "2016-04-25 04:48:40.053668"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:48:40.055151"], ["updated_at", "2016-04-25 04:48:40.055151"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.27ms) Completed 403 Forbidden in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Larry Turcotte"], ["created_at", "2016-04-25 04:49:12.482935"], ["updated_at", "2016-04-25 04:49:12.482935"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:49:12.489979"], ["updated_at", "2016-04-25 04:49:12.489979"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Omer Price"], ["created_at", "2016-04-25 04:49:12.496621"], ["updated_at", "2016-04-25 04:49:12.496621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Pfannerstill Group"], ["body", "Autem id dolorem nesciunt autem et aut iusto."], ["created_at", "2016-04-25 04:49:12.498250"], ["updated_at", "2016-04-25 04:49:12.498250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:49:12.522203"], ["updated_at", "2016-04-25 04:49:12.522203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:49:12.539223"], ["updated_at", "2016-04-25 04:49:12.539223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:49:12.551889"], ["updated_at", "2016-04-25 04:49:12.551889"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:49:12.553190"], ["updated_at", "2016-04-25 04:49:12.553190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:49:12.558617"], ["updated_at", "2016-04-25 04:49:12.558617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:49:12.559894"], ["updated_at", "2016-04-25 04:49:12.559894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (12.14ms) Completed 200 OK in 13ms (Views: 12.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:49:12 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:49:12.752696"], ["updated_at", "2016-04-25 04:49:12.752696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:49:12.754324"], ["updated_at", "2016-04-25 04:49:12.754324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:49:12.762121"], ["updated_at", "2016-04-25 04:49:12.762121"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:49:12.763559"], ["updated_at", "2016-04-25 04:49:12.763559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:49:12.765186"], ["updated_at", "2016-04-25 04:49:12.765186"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:49:12.776889"], ["updated_at", "2016-04-25 04:49:12.776889"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:49:12.778461"], ["updated_at", "2016-04-25 04:49:12.778461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:49:12.782676"], ["updated_at", "2016-04-25 04:49:12.782676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:49:12.791031"], ["updated_at", "2016-04-25 04:49:12.791031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:49:12.792416"], ["updated_at", "2016-04-25 04:49:12.792416"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:49:12.800716"], ["updated_at", "2016-04-25 04:49:12.800716"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:49:12.803654"], ["updated_at", "2016-04-25 04:49:12.803654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:49:12.805200"], ["updated_at", "2016-04-25 04:49:12.805200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.9ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:49:12.809273"], ["updated_at", "2016-04-25 04:49:12.809273"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:49:12.810947"], ["updated_at", "2016-04-25 04:49:12.810947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:49:12.812684"], ["updated_at", "2016-04-25 04:49:12.812684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:49:12.816164"], ["updated_at", "2016-04-25 04:49:12.816164"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:49:12.817426"], ["updated_at", "2016-04-25 04:49:12.817426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:50:32.523775"], ["updated_at", "2016-04-25 04:50:32.523775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:50:32.536624"], ["updated_at", "2016-04-25 04:50:32.536624"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:50:32.543837"], ["updated_at", "2016-04-25 04:50:32.543837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:50:32.545612"], ["updated_at", "2016-04-25 04:50:32.545612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:50:32.551397"], ["updated_at", "2016-04-25 04:50:32.551397"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:50:32.552812"], ["updated_at", "2016-04-25 04:50:32.552812"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.19ms) Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:50:32 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.2ms) Completed 200 OK in 19ms (Views: 18.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dee Runte II"], ["created_at", "2016-04-25 04:50:32.741269"], ["updated_at", "2016-04-25 04:50:32.741269"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Davis and Sons"], ["body", "Tenetur inventore atque nobis et culpa dicta aliquid quis."], ["created_at", "2016-04-25 04:50:32.745814"], ["updated_at", "2016-04-25 04:50:32.745814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Devyn Bednar DVM"], ["created_at", "2016-04-25 04:50:32.755537"], ["updated_at", "2016-04-25 04:50:32.755537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:50:32.756965"], ["updated_at", "2016-04-25 04:50:32.756965"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:50:32.847685"], ["updated_at", "2016-04-25 04:50:32.847685"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:50:32.849244"], ["updated_at", "2016-04-25 04:50:32.849244"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:50:32.850401"], ["updated_at", "2016-04-25 04:50:32.850401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:50:32.853837"], ["updated_at", "2016-04-25 04:50:32.853837"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:50:32.855199"], ["updated_at", "2016-04-25 04:50:32.855199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:50:32.860028"], ["updated_at", "2016-04-25 04:50:32.860028"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:50:32.861579"], ["updated_at", "2016-04-25 04:50:32.861579"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:50:32.865057"], ["updated_at", "2016-04-25 04:50:32.865057"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:50:32.867976"], ["updated_at", "2016-04-25 04:50:32.867976"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:50:32.869497"], ["updated_at", "2016-04-25 04:50:32.869497"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:50:32.874675"], ["updated_at", "2016-04-25 04:50:32.874675"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:50:32.877568"], ["updated_at", "2016-04-25 04:50:32.877568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:50:32.886553"], ["updated_at", "2016-04-25 04:50:32.886553"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:50:32.888068"], ["updated_at", "2016-04-25 04:50:32.888068"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:50:32.889326"], ["updated_at", "2016-04-25 04:50:32.889326"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:50:32.900017"], ["updated_at", "2016-04-25 04:50:32.900017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:50:32.901681"], ["updated_at", "2016-04-25 04:50:32.901681"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:50:32.910222"], ["updated_at", "2016-04-25 04:50:32.910222"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.36ms) Completed 403 Forbidden in 5ms (Views: 5.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (3.9ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.4ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:52:13.093154"], ["updated_at", "2016-04-25 04:52:13.093154"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:13.096454"], ["updated_at", "2016-04-25 04:52:13.096454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:52:13.097845"], ["updated_at", "2016-04-25 04:52:13.097845"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:52:13.108022"], ["updated_at", "2016-04-25 04:52:13.108022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:52:13.109485"], ["updated_at", "2016-04-25 04:52:13.109485"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:13.117423"], ["updated_at", "2016-04-25 04:52:13.117423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:52:13.118859"], ["updated_at", "2016-04-25 04:52:13.118859"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:13.137906"], ["updated_at", "2016-04-25 04:52:13.137906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:13.139263"], ["updated_at", "2016-04-25 04:52:13.139263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:13.150872"], ["updated_at", "2016-04-25 04:52:13.150872"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:13.153075"], ["updated_at", "2016-04-25 04:52:13.153075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:13.157538"], ["updated_at", "2016-04-25 04:52:13.157538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:13.158926"], ["updated_at", "2016-04-25 04:52:13.158926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:52:13.160045"], ["updated_at", "2016-04-25 04:52:13.160045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:13.168717"], ["updated_at", "2016-04-25 04:52:13.168717"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:52:13.176609"], ["updated_at", "2016-04-25 04:52:13.176609"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:13.177969"], ["updated_at", "2016-04-25 04:52:13.177969"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:52:13.180681"], ["updated_at", "2016-04-25 04:52:13.180681"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.75ms) Completed 200 OK in 17ms (Views: 16.0ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.21ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:13 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:13.459229"], ["updated_at", "2016-04-25 04:52:13.459229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:13.464458"], ["updated_at", "2016-04-25 04:52:13.464458"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:52:13.465747"], ["updated_at", "2016-04-25 04:52:13.465747"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:13.473433"], ["updated_at", "2016-04-25 04:52:13.473433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:52:13.474851"], ["updated_at", "2016-04-25 04:52:13.474851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:13.480635"], ["updated_at", "2016-04-25 04:52:13.480635"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Osvaldo Bailey"], ["created_at", "2016-04-25 04:52:13.490797"], ["updated_at", "2016-04-25 04:52:13.490797"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:52:13.492374"], ["updated_at", "2016-04-25 04:52:13.492374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Laury Wolff"], ["created_at", "2016-04-25 04:52:13.496654"], ["updated_at", "2016-04-25 04:52:13.496654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Herman-Bradtke"], ["body", "Non sequi quae eius voluptates eaque vero incidunt."], ["created_at", "2016-04-25 04:52:13.498240"], ["updated_at", "2016-04-25 04:52:13.498240"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.27ms) Completed 403 Forbidden in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:33.303502"], ["updated_at", "2016-04-25 04:52:33.303502"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:33.691364"], ["updated_at", "2016-04-25 04:52:33.691364"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:52:33.692655"], ["updated_at", "2016-04-25 04:52:33.692655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:33.703954"], ["updated_at", "2016-04-25 04:52:33.703954"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:52:33.705319"], ["updated_at", "2016-04-25 04:52:33.705319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:52:33.710708"], ["updated_at", "2016-04-25 04:52:33.710708"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:33.809075"], ["updated_at", "2016-04-25 04:52:33.809075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:33.810702"], ["updated_at", "2016-04-25 04:52:33.810702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:52:33.811875"], ["updated_at", "2016-04-25 04:52:33.811875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:33.831120"], ["updated_at", "2016-04-25 04:52:33.831120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:33.832541"], ["updated_at", "2016-04-25 04:52:33.832541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:33.841886"], ["updated_at", "2016-04-25 04:52:33.841886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:33.843316"], ["updated_at", "2016-04-25 04:52:33.843316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:52:33.847522"], ["updated_at", "2016-04-25 04:52:33.847522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:52:33.855488"], ["updated_at", "2016-04-25 04:52:33.855488"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:52:33.856957"], ["updated_at", "2016-04-25 04:52:33.856957"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:52:33.875936"], ["updated_at", "2016-04-25 04:52:33.875936"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:52:33.878638"], ["updated_at", "2016-04-25 04:52:33.878638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:33.879943"], ["updated_at", "2016-04-25 04:52:33.879943"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:52:33.882913"], ["updated_at", "2016-04-25 04:52:33.882913"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:52:33.884171"], ["updated_at", "2016-04-25 04:52:33.884171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:52:33.888525"], ["updated_at", "2016-04-25 04:52:33.888525"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:52:33.889853"], ["updated_at", "2016-04-25 04:52:33.889853"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:52:33.890990"], ["updated_at", "2016-04-25 04:52:33.890990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Isadore Gusikowski"], ["created_at", "2016-04-25 04:52:33.894855"], ["updated_at", "2016-04-25 04:52:33.894855"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "O'Conner-Jacobson"], ["body", "Earum aliquam nesciunt sit."], ["created_at", "2016-04-25 04:52:33.896577"], ["updated_at", "2016-04-25 04:52:33.896577"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Neil Treutel"], ["created_at", "2016-04-25 04:52:33.924108"], ["updated_at", "2016-04-25 04:52:33.924108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:52:33.925664"], ["updated_at", "2016-04-25 04:52:33.925664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.54ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.4ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:52:34 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Twila Thiel"], ["created_at", "2016-04-25 04:53:25.084549"], ["updated_at", "2016-04-25 04:53:25.084549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Thompson Inc"], ["body", "A dolor cumque aut est."], ["created_at", "2016-04-25 04:53:25.095076"], ["updated_at", "2016-04-25 04:53:25.095076"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Skye Romaguera"], ["created_at", "2016-04-25 04:53:25.129156"], ["updated_at", "2016-04-25 04:53:25.129156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 04:53:25.130622"], ["updated_at", "2016-04-25 04:53:25.130622"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.63ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:53:25.267424"], ["updated_at", "2016-04-25 04:53:25.267424"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:53:25.280179"], ["updated_at", "2016-04-25 04:53:25.280179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:53:25.287836"], ["updated_at", "2016-04-25 04:53:25.287836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:53:25.289224"], ["updated_at", "2016-04-25 04:53:25.289224"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 04:53:25.296539"], ["updated_at", "2016-04-25 04:53:25.296539"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 04:53:25.297788"], ["updated_at", "2016-04-25 04:53:25.297788"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:53:25.317672"], ["updated_at", "2016-04-25 04:53:25.317672"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:53:25.319144"], ["updated_at", "2016-04-25 04:53:25.319144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 04:53:25.320236"], ["updated_at", "2016-04-25 04:53:25.320236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:53:25.323607"], ["updated_at", "2016-04-25 04:53:25.323607"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 04:53:25.324869"], ["updated_at", "2016-04-25 04:53:25.324869"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 04:53:25.330915"], ["updated_at", "2016-04-25 04:53:25.330915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:53:25.332302"], ["updated_at", "2016-04-25 04:53:25.332302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 04:53:25.335110"], ["updated_at", "2016-04-25 04:53:25.335110"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:53:25.338129"], ["updated_at", "2016-04-25 04:53:25.338129"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 04:53:25.339522"], ["updated_at", "2016-04-25 04:53:25.339522"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:53:25.355382"], ["updated_at", "2016-04-25 04:53:25.355382"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:53:25.356759"], ["updated_at", "2016-04-25 04:53:25.356759"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:53:25.363211"], ["updated_at", "2016-04-25 04:53:25.363211"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 04:53:25.364574"], ["updated_at", "2016-04-25 04:53:25.364574"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 04:53:25.365761"], ["updated_at", "2016-04-25 04:53:25.365761"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 04:53:25.374111"], ["updated_at", "2016-04-25 04:53:25.374111"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:53:25.375711"], ["updated_at", "2016-04-25 04:53:25.375711"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 04:53:25.383294"], ["updated_at", "2016-04-25 04:53:25.383294"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.44ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.06ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 14:53:25 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Otilia Cormier"], ["created_at", "2016-04-25 05:06:13.763462"], ["updated_at", "2016-04-25 05:06:13.763462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:06:13.771010"], ["updated_at", "2016-04-25 05:06:13.771010"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nora Senger"], ["created_at", "2016-04-25 05:06:13.793527"], ["updated_at", "2016-04-25 05:06:13.793527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Kassulke-Bayer"], ["body", "Numquam dolores cum illum quam et."], ["created_at", "2016-04-25 05:06:13.795159"], ["updated_at", "2016-04-25 05:06:13.795159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.56ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.09ms) Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:14.099474"], ["updated_at", "2016-04-25 05:06:14.099474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:14.118258"], ["updated_at", "2016-04-25 05:06:14.118258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:14.123462"], ["updated_at", "2016-04-25 05:06:14.123462"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:06:14.125017"], ["updated_at", "2016-04-25 05:06:14.125017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:14.131250"], ["updated_at", "2016-04-25 05:06:14.131250"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:06:14.132559"], ["updated_at", "2016-04-25 05:06:14.132559"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:06:14.153814"], ["updated_at", "2016-04-25 05:06:14.153814"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:06:14.157191"], ["updated_at", "2016-04-25 05:06:14.157191"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:14.158603"], ["updated_at", "2016-04-25 05:06:14.158603"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:14.161748"], ["updated_at", "2016-04-25 05:06:14.161748"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:06:14.163141"], ["updated_at", "2016-04-25 05:06:14.163141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:14.180857"], ["updated_at", "2016-04-25 05:06:14.180857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:14.182489"], ["updated_at", "2016-04-25 05:06:14.182489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:06:14.184938"], ["updated_at", "2016-04-25 05:06:14.184938"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:14.190987"], ["updated_at", "2016-04-25 05:06:14.190987"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:14.192455"], ["updated_at", "2016-04-25 05:06:14.192455"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:14.194920"], ["updated_at", "2016-04-25 05:06:14.194920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:14.198909"], ["updated_at", "2016-04-25 05:06:14.198909"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:14.200664"], ["updated_at", "2016-04-25 05:06:14.200664"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:06:14.205192"], ["updated_at", "2016-04-25 05:06:14.205192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:14.206980"], ["updated_at", "2016-04-25 05:06:14.206980"]]  (0.9ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:06:14.209506"], ["updated_at", "2016-04-25 05:06:14.209506"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:06:14.214426"], ["updated_at", "2016-04-25 05:06:14.214426"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:06:14.216139"], ["updated_at", "2016-04-25 05:06:14.216139"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.64ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:49.095320"], ["updated_at", "2016-04-25 05:06:49.095320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:49.117110"], ["updated_at", "2016-04-25 05:06:49.117110"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:49.127306"], ["updated_at", "2016-04-25 05:06:49.127306"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:06:49.128609"], ["updated_at", "2016-04-25 05:06:49.128609"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:06:49.134454"], ["updated_at", "2016-04-25 05:06:49.134454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:06:49.135822"], ["updated_at", "2016-04-25 05:06:49.135822"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:06:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:49.322830"], ["updated_at", "2016-04-25 05:06:49.322830"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:49.324363"], ["updated_at", "2016-04-25 05:06:49.324363"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:49.330319"], ["updated_at", "2016-04-25 05:06:49.330319"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:49.340916"], ["updated_at", "2016-04-25 05:06:49.340916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:06:49.342387"], ["updated_at", "2016-04-25 05:06:49.342387"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:49.350762"], ["updated_at", "2016-04-25 05:06:49.350762"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:49.352384"], ["updated_at", "2016-04-25 05:06:49.352384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:06:49.353701"], ["updated_at", "2016-04-25 05:06:49.353701"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:06:49.370401"], ["updated_at", "2016-04-25 05:06:49.370401"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:06:49.371694"], ["updated_at", "2016-04-25 05:06:49.371694"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:06:49.381600"], ["updated_at", "2016-04-25 05:06:49.381600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:49.382953"], ["updated_at", "2016-04-25 05:06:49.382953"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:06:49.385808"], ["updated_at", "2016-04-25 05:06:49.385808"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:06:49.388388"], ["updated_at", "2016-04-25 05:06:49.388388"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:06:49.389678"], ["updated_at", "2016-04-25 05:06:49.389678"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:06:49.390856"], ["updated_at", "2016-04-25 05:06:49.390856"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:06:49.395634"], ["updated_at", "2016-04-25 05:06:49.395634"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:06:49.397041"], ["updated_at", "2016-04-25 05:06:49.397041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.05ms) Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Savanna Schinner"], ["created_at", "2016-04-25 05:06:49.469729"], ["updated_at", "2016-04-25 05:06:49.469729"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:06:49.471259"], ["updated_at", "2016-04-25 05:06:49.471259"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Brooke Schroeder"], ["created_at", "2016-04-25 05:06:49.478274"], ["updated_at", "2016-04-25 05:06:49.478274"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "VonRueden, Wintheiser and Stehr"], ["body", "Quia velit natus est voluptatem."], ["created_at", "2016-04-25 05:06:49.479882"], ["updated_at", "2016-04-25 05:06:49.479882"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.5ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.16ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (29.62ms) Completed 200 OK in 42ms (Views: 34.5ms | ActiveRecord: 1.9ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:08:55.172385"], ["updated_at", "2016-04-25 05:08:55.172385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:08:55.182902"], ["updated_at", "2016-04-25 05:08:55.182902"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:08:55.189988"], ["updated_at", "2016-04-25 05:08:55.189988"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:08:55.191527"], ["updated_at", "2016-04-25 05:08:55.191527"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:08:55.205267"], ["updated_at", "2016-04-25 05:08:55.205267"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:08:55.206674"], ["updated_at", "2016-04-25 05:08:55.206674"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.43ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Felipa Moore MD"], ["created_at", "2016-04-25 05:08:55.385614"], ["updated_at", "2016-04-25 05:08:55.385614"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:08:55.390124"], ["updated_at", "2016-04-25 05:08:55.390124"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Tobin Will"], ["created_at", "2016-04-25 05:08:55.398333"], ["updated_at", "2016-04-25 05:08:55.398333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Tremblay Inc"], ["body", "Repellat dolorem suscipit aperiam doloremque magni tenetur ab."], ["created_at", "2016-04-25 05:08:55.400285"], ["updated_at", "2016-04-25 05:08:55.400285"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:08:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:08:55.455787"], ["updated_at", "2016-04-25 05:08:55.455787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:08:55.457204"], ["updated_at", "2016-04-25 05:08:55.457204"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:08:55.459977"], ["updated_at", "2016-04-25 05:08:55.459977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:08:55.463589"], ["updated_at", "2016-04-25 05:08:55.463589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:08:55.464904"], ["updated_at", "2016-04-25 05:08:55.464904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:08:55.468922"], ["updated_at", "2016-04-25 05:08:55.468922"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:08:55.470950"], ["updated_at", "2016-04-25 05:08:55.470950"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:08:55.472425"], ["updated_at", "2016-04-25 05:08:55.472425"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:08:55.476698"], ["updated_at", "2016-04-25 05:08:55.476698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:08:55.482192"], ["updated_at", "2016-04-25 05:08:55.482192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:08:55.483674"], ["updated_at", "2016-04-25 05:08:55.483674"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:08:55.490584"], ["updated_at", "2016-04-25 05:08:55.490584"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:08:55.492017"], ["updated_at", "2016-04-25 05:08:55.492017"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:08:55.509281"], ["updated_at", "2016-04-25 05:08:55.509281"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:08:55.511232"], ["updated_at", "2016-04-25 05:08:55.511232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:08:55.512758"], ["updated_at", "2016-04-25 05:08:55.512758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:08:55.518292"], ["updated_at", "2016-04-25 05:08:55.518292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:08:55.521105"], ["updated_at", "2016-04-25 05:08:55.521105"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:09:22.880873"], ["updated_at", "2016-04-25 05:09:22.880873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:09:22.886125"], ["updated_at", "2016-04-25 05:09:22.886125"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:09:22.900692"], ["updated_at", "2016-04-25 05:09:22.900692"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:09:22.902055"], ["updated_at", "2016-04-25 05:09:22.902055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:09:22.907567"], ["updated_at", "2016-04-25 05:09:22.907567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:09:22.908810"], ["updated_at", "2016-04-25 05:09:22.908810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (2.01ms) Completed 403 Forbidden in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.97ms) Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.42ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Naomi Kunze IV"], ["created_at", "2016-04-25 05:09:23.048546"], ["updated_at", "2016-04-25 05:09:23.048546"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Hilpert, Jakubowski and Dach"], ["body", "Vitae sint est odit omnis numquam."], ["created_at", "2016-04-25 05:09:23.054210"], ["updated_at", "2016-04-25 05:09:23.054210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Shanie Keeling"], ["created_at", "2016-04-25 05:09:23.097060"], ["updated_at", "2016-04-25 05:09:23.097060"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:09:23.098876"], ["updated_at", "2016-04-25 05:09:23.098876"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:09:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:09:23.145817"], ["updated_at", "2016-04-25 05:09:23.145817"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:09:23.147347"], ["updated_at", "2016-04-25 05:09:23.147347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:09:23.148571"], ["updated_at", "2016-04-25 05:09:23.148571"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:09:23.164254"], ["updated_at", "2016-04-25 05:09:23.164254"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:09:23.172933"], ["updated_at", "2016-04-25 05:09:23.172933"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:09:23.176040"], ["updated_at", "2016-04-25 05:09:23.176040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:09:23.184035"], ["updated_at", "2016-04-25 05:09:23.184035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:09:23.185378"], ["updated_at", "2016-04-25 05:09:23.185378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:09:23.193633"], ["updated_at", "2016-04-25 05:09:23.193633"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:09:23.194993"], ["updated_at", "2016-04-25 05:09:23.194993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:09:23.199589"], ["updated_at", "2016-04-25 05:09:23.199589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:09:23.200949"], ["updated_at", "2016-04-25 05:09:23.200949"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:09:23.203897"], ["updated_at", "2016-04-25 05:09:23.203897"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:09:23.208184"], ["updated_at", "2016-04-25 05:09:23.208184"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:09:23.209573"], ["updated_at", "2016-04-25 05:09:23.209573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:09:23.212873"], ["updated_at", "2016-04-25 05:09:23.212873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:09:23.214135"], ["updated_at", "2016-04-25 05:09:23.214135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:09:23.215341"], ["updated_at", "2016-04-25 05:09:23.215341"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.71ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:10:43.294752"], ["updated_at", "2016-04-25 05:10:43.294752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:10:43.299995"], ["updated_at", "2016-04-25 05:10:43.299995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:10:43.312680"], ["updated_at", "2016-04-25 05:10:43.312680"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:10:43.314068"], ["updated_at", "2016-04-25 05:10:43.314068"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:10:43.327637"], ["updated_at", "2016-04-25 05:10:43.327637"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:10:43.330371"], ["updated_at", "2016-04-25 05:10:43.330371"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.59ms) Completed 200 OK in 16ms (Views: 15.7ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:10:43.512497"], ["updated_at", "2016-04-25 05:10:43.512497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:10:43.513957"], ["updated_at", "2016-04-25 05:10:43.513957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:10:43.517521"], ["updated_at", "2016-04-25 05:10:43.517521"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:10:43.520417"], ["updated_at", "2016-04-25 05:10:43.520417"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:10:43.521839"], ["updated_at", "2016-04-25 05:10:43.521839"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:10:43.526474"], ["updated_at", "2016-04-25 05:10:43.526474"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:10:43.527915"], ["updated_at", "2016-04-25 05:10:43.527915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:10:43.528989"], ["updated_at", "2016-04-25 05:10:43.528989"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:10:43.535329"], ["updated_at", "2016-04-25 05:10:43.535329"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:10:43.537047"], ["updated_at", "2016-04-25 05:10:43.537047"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:10:43.543518"], ["updated_at", "2016-04-25 05:10:43.543518"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:10:43.546377"], ["updated_at", "2016-04-25 05:10:43.546377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:10:43.547815"], ["updated_at", "2016-04-25 05:10:43.547815"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:10:43.560618"], ["updated_at", "2016-04-25 05:10:43.560618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:10:43.562046"], ["updated_at", "2016-04-25 05:10:43.562046"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:10:43.580501"], ["updated_at", "2016-04-25 05:10:43.580501"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:10:43.588350"], ["updated_at", "2016-04-25 05:10:43.588350"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:10:43.589689"], ["updated_at", "2016-04-25 05:10:43.589689"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Van Wisozk Sr."], ["created_at", "2016-04-25 05:10:43.599565"], ["updated_at", "2016-04-25 05:10:43.599565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Reynolds, Lubowitz and Balistreri"], ["body", "Ut necessitatibus et dolor voluptatem autem aspernatur."], ["created_at", "2016-04-25 05:10:43.601330"], ["updated_at", "2016-04-25 05:10:43.601330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Gerard Upton"], ["created_at", "2016-04-25 05:10:43.618014"], ["updated_at", "2016-04-25 05:10:43.618014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:10:43.619464"], ["updated_at", "2016-04-25 05:10:43.619464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:10:43 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.19ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (19.37ms) Completed 200 OK in 31ms (Views: 24.3ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (9.31ms) Completed 403 Forbidden in 10ms (Views: 9.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:14:48 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:14:48.930367"], ["updated_at", "2016-04-25 05:14:48.930367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:14:48.939310"], ["updated_at", "2016-04-25 05:14:48.939310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:14:48.940646"], ["updated_at", "2016-04-25 05:14:48.940646"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:14:48.947280"], ["updated_at", "2016-04-25 05:14:48.947280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:14:48.949030"], ["updated_at", "2016-04-25 05:14:48.949030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:14:48.959065"], ["updated_at", "2016-04-25 05:14:48.959065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Orpha Toy IV"], ["created_at", "2016-04-25 05:14:48.977523"], ["updated_at", "2016-04-25 05:14:48.977523"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:14:48.981887"], ["updated_at", "2016-04-25 05:14:48.981887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Kaylah Balistreri"], ["created_at", "2016-04-25 05:14:48.992969"], ["updated_at", "2016-04-25 05:14:48.992969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Connelly Inc"], ["body", "Quaerat consequatur enim quidem omnis."], ["created_at", "2016-04-25 05:14:48.994955"], ["updated_at", "2016-04-25 05:14:48.994955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:14:49.016041"], ["updated_at", "2016-04-25 05:14:49.016041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:14:49.017575"], ["updated_at", "2016-04-25 05:14:49.017575"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:14:49.023417"], ["updated_at", "2016-04-25 05:14:49.023417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:14:49.024868"], ["updated_at", "2016-04-25 05:14:49.024868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:14:49.026104"], ["updated_at", "2016-04-25 05:14:49.026104"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:14:49.030196"], ["updated_at", "2016-04-25 05:14:49.030196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:14:49.032864"], ["updated_at", "2016-04-25 05:14:49.032864"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:14:49.034946"], ["updated_at", "2016-04-25 05:14:49.034946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:14:49.038228"], ["updated_at", "2016-04-25 05:14:49.038228"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:14:49.044136"], ["updated_at", "2016-04-25 05:14:49.044136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:14:49.045904"], ["updated_at", "2016-04-25 05:14:49.045904"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:14:49.047158"], ["updated_at", "2016-04-25 05:14:49.047158"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:14:49.053956"], ["updated_at", "2016-04-25 05:14:49.053956"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:14:49.056738"], ["updated_at", "2016-04-25 05:14:49.056738"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:14:49.062258"], ["updated_at", "2016-04-25 05:14:49.062258"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:14:49.063660"], ["updated_at", "2016-04-25 05:14:49.063660"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:14:49.083515"], ["updated_at", "2016-04-25 05:14:49.083515"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:14:49.084919"], ["updated_at", "2016-04-25 05:14:49.084919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.44ms) Completed 403 Forbidden in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:39 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.13ms) Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.3ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:39 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:15:40 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.85ms) Completed 200 OK in 22ms (Views: 16.0ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.2ms) Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:15:40.593696"], ["updated_at", "2016-04-25 05:15:40.593696"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:15:40.615790"], ["updated_at", "2016-04-25 05:15:40.615790"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:15:40.623355"], ["updated_at", "2016-04-25 05:15:40.623355"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:15:40.625063"], ["updated_at", "2016-04-25 05:15:40.625063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:15:40.630720"], ["updated_at", "2016-04-25 05:15:40.630720"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:15:40.631960"], ["updated_at", "2016-04-25 05:15:40.631960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Miss Hank Morar"], ["created_at", "2016-04-25 05:15:40.690404"], ["updated_at", "2016-04-25 05:15:40.690404"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:15:40.695986"], ["updated_at", "2016-04-25 05:15:40.695986"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Bruce Nitzsche Jr."], ["created_at", "2016-04-25 05:15:40.703596"], ["updated_at", "2016-04-25 05:15:40.703596"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Paucek, Rempel and Miller"], ["body", "Asperiores neque non dolor accusantium non."], ["created_at", "2016-04-25 05:15:40.705141"], ["updated_at", "2016-04-25 05:15:40.705141"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:15:40.724289"], ["updated_at", "2016-04-25 05:15:40.724289"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:15:40.726109"], ["updated_at", "2016-04-25 05:15:40.726109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:15:40.733279"], ["updated_at", "2016-04-25 05:15:40.733279"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:15:40.738613"], ["updated_at", "2016-04-25 05:15:40.738613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:15:40.740232"], ["updated_at", "2016-04-25 05:15:40.740232"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:15:40.741847"], ["updated_at", "2016-04-25 05:15:40.741847"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:15:40.747315"], ["updated_at", "2016-04-25 05:15:40.747315"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:15:40.748705"], ["updated_at", "2016-04-25 05:15:40.748705"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:15:40.762875"], ["updated_at", "2016-04-25 05:15:40.762875"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:15:40.765262"], ["updated_at", "2016-04-25 05:15:40.765262"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:15:40.771430"], ["updated_at", "2016-04-25 05:15:40.771430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:15:40.774565"], ["updated_at", "2016-04-25 05:15:40.774565"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:15:40.777297"], ["updated_at", "2016-04-25 05:15:40.777297"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:15:40.781592"], ["updated_at", "2016-04-25 05:15:40.781592"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:15:40.782895"], ["updated_at", "2016-04-25 05:15:40.782895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:15:40.784137"], ["updated_at", "2016-04-25 05:15:40.784137"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:15:40.787697"], ["updated_at", "2016-04-25 05:15:40.787697"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:15:40.789119"], ["updated_at", "2016-04-25 05:15:40.789119"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Muriel Kreiger"], ["created_at", "2016-04-25 05:18:34.600347"], ["updated_at", "2016-04-25 05:18:34.600347"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Luettgen Inc"], ["body", "Repellendus similique optio dignissimos nihil in aut."], ["created_at", "2016-04-25 05:18:34.608557"], ["updated_at", "2016-04-25 05:18:34.608557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Gay Conroy"], ["created_at", "2016-04-25 05:18:34.641351"], ["updated_at", "2016-04-25 05:18:34.641351"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:18:34.642800"], ["updated_at", "2016-04-25 05:18:34.642800"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:18:34.670774"], ["updated_at", "2016-04-25 05:18:34.670774"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:18:34.677214"], ["updated_at", "2016-04-25 05:18:34.677214"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:18:34.680189"], ["updated_at", "2016-04-25 05:18:34.680189"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:18:34.684643"], ["updated_at", "2016-04-25 05:18:34.684643"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:18:34.686031"], ["updated_at", "2016-04-25 05:18:34.686031"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:18:34.690998"], ["updated_at", "2016-04-25 05:18:34.690998"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:18:34.692336"], ["updated_at", "2016-04-25 05:18:34.692336"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:18:34.708257"], ["updated_at", "2016-04-25 05:18:34.708257"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:18:34.714704"], ["updated_at", "2016-04-25 05:18:34.714704"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:18:34.716153"], ["updated_at", "2016-04-25 05:18:34.716153"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:18:34.717275"], ["updated_at", "2016-04-25 05:18:34.717275"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:18:34.722517"], ["updated_at", "2016-04-25 05:18:34.722517"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:18:34.723831"], ["updated_at", "2016-04-25 05:18:34.723831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:18:34.727851"], ["updated_at", "2016-04-25 05:18:34.727851"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:18:34.730606"], ["updated_at", "2016-04-25 05:18:34.730606"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:18:34.732179"], ["updated_at", "2016-04-25 05:18:34.732179"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:18:34.736265"], ["updated_at", "2016-04-25 05:18:34.736265"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:18:34.737627"], ["updated_at", "2016-04-25 05:18:34.737627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:18:34.756136"], ["updated_at", "2016-04-25 05:18:34.756136"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:18:34.768204"], ["updated_at", "2016-04-25 05:18:34.768204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:18:34.769531"], ["updated_at", "2016-04-25 05:18:34.769531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:18:34.775538"], ["updated_at", "2016-04-25 05:18:34.775538"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:18:34.776930"], ["updated_at", "2016-04-25 05:18:34.776930"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:18:34.787546"], ["updated_at", "2016-04-25 05:18:34.787546"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 8ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.74ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:18:35 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kamren Huel"], ["created_at", "2016-04-25 05:21:21.150302"], ["updated_at", "2016-04-25 05:21:21.150302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "McKenzie Inc"], ["body", "Dignissimos harum dicta ab esse soluta sed provident."], ["created_at", "2016-04-25 05:21:21.157567"], ["updated_at", "2016-04-25 05:21:21.157567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.5ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Emma Witting"], ["created_at", "2016-04-25 05:21:21.194787"], ["updated_at", "2016-04-25 05:21:21.194787"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:21:21.196249"], ["updated_at", "2016-04-25 05:21:21.196249"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.72ms) Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:21:21.298900"], ["updated_at", "2016-04-25 05:21:21.298900"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:21:21.303985"], ["updated_at", "2016-04-25 05:21:21.303985"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:21:21.305316"], ["updated_at", "2016-04-25 05:21:21.305316"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:21:21.311424"], ["updated_at", "2016-04-25 05:21:21.311424"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:21:21.312810"], ["updated_at", "2016-04-25 05:21:21.312810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:21:21.321784"], ["updated_at", "2016-04-25 05:21:21.321784"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.32ms) Completed 403 Forbidden in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:21:21 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:21:21.655155"], ["updated_at", "2016-04-25 05:21:21.655155"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:21:21.657915"], ["updated_at", "2016-04-25 05:21:21.657915"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:21:21.659248"], ["updated_at", "2016-04-25 05:21:21.659248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:21:21.664955"], ["updated_at", "2016-04-25 05:21:21.664955"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:21:21.666502"], ["updated_at", "2016-04-25 05:21:21.666502"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:21:21.672924"], ["updated_at", "2016-04-25 05:21:21.672924"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:21:21.679461"], ["updated_at", "2016-04-25 05:21:21.679461"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:21:21.681101"], ["updated_at", "2016-04-25 05:21:21.681101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:21:21.699434"], ["updated_at", "2016-04-25 05:21:21.699434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:21:21.700845"], ["updated_at", "2016-04-25 05:21:21.700845"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:21:21.705181"], ["updated_at", "2016-04-25 05:21:21.705181"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:21:21.706610"], ["updated_at", "2016-04-25 05:21:21.706610"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:21:21.711071"], ["updated_at", "2016-04-25 05:21:21.711071"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:21:21.712495"], ["updated_at", "2016-04-25 05:21:21.712495"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:21:21.713589"], ["updated_at", "2016-04-25 05:21:21.713589"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:21:21.717463"], ["updated_at", "2016-04-25 05:21:21.717463"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:21:21.720504"], ["updated_at", "2016-04-25 05:21:21.720504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:21:21.722041"], ["updated_at", "2016-04-25 05:21:21.722041"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:22:41 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jamaal Osinski"], ["created_at", "2016-04-25 05:22:41.170166"], ["updated_at", "2016-04-25 05:22:41.170166"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:22:41.178837"], ["updated_at", "2016-04-25 05:22:41.178837"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Terence Labadie"], ["created_at", "2016-04-25 05:22:41.204590"], ["updated_at", "2016-04-25 05:22:41.204590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Farrell LLC"], ["body", "In ratione adipisci velit consequatur."], ["created_at", "2016-04-25 05:22:41.206248"], ["updated_at", "2016-04-25 05:22:41.206248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.13ms) Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 8.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.38ms) Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:22:41.360162"], ["updated_at", "2016-04-25 05:22:41.360162"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:22:41.362195"], ["updated_at", "2016-04-25 05:22:41.362195"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:22:41.368923"], ["updated_at", "2016-04-25 05:22:41.368923"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:22:41.373659"], ["updated_at", "2016-04-25 05:22:41.373659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:22:41.375389"], ["updated_at", "2016-04-25 05:22:41.375389"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:22:41.386156"], ["updated_at", "2016-04-25 05:22:41.386156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:22:41.394688"], ["updated_at", "2016-04-25 05:22:41.394688"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:22:41.396112"], ["updated_at", "2016-04-25 05:22:41.396112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:22:41.404201"], ["updated_at", "2016-04-25 05:22:41.404201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:22:41.405719"], ["updated_at", "2016-04-25 05:22:41.405719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:22:41.413016"], ["updated_at", "2016-04-25 05:22:41.413016"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:22:41.414370"], ["updated_at", "2016-04-25 05:22:41.414370"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:22:41.415482"], ["updated_at", "2016-04-25 05:22:41.415482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:22:41.425371"], ["updated_at", "2016-04-25 05:22:41.425371"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:22:41.426712"], ["updated_at", "2016-04-25 05:22:41.426712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:22:41.430982"], ["updated_at", "2016-04-25 05:22:41.430982"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:22:41.432437"], ["updated_at", "2016-04-25 05:22:41.432437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:22:41.433490"], ["updated_at", "2016-04-25 05:22:41.433490"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:22:41.517236"], ["updated_at", "2016-04-25 05:22:41.517236"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:22:41.524392"], ["updated_at", "2016-04-25 05:22:41.524392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:22:41.525769"], ["updated_at", "2016-04-25 05:22:41.525769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:22:41.531423"], ["updated_at", "2016-04-25 05:22:41.531423"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:22:41.532920"], ["updated_at", "2016-04-25 05:22:41.532920"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:22:41.543310"], ["updated_at", "2016-04-25 05:22:41.543310"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:50:44 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:50:44.922939"], ["updated_at", "2016-04-25 05:50:44.922939"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:50:44.927042"], ["updated_at", "2016-04-25 05:50:44.927042"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:50:44.935755"], ["updated_at", "2016-04-25 05:50:44.935755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:50:44.939923"], ["updated_at", "2016-04-25 05:50:44.939923"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:50:44.942498"], ["updated_at", "2016-04-25 05:50:44.942498"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:50:44.945118"], ["updated_at", "2016-04-25 05:50:44.945118"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:50:44.950377"], ["updated_at", "2016-04-25 05:50:44.950377"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:50:44.951983"], ["updated_at", "2016-04-25 05:50:44.951983"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:50:44.959311"], ["updated_at", "2016-04-25 05:50:44.959311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:50:44.960775"], ["updated_at", "2016-04-25 05:50:44.960775"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:50:45.004047"], ["updated_at", "2016-04-25 05:50:45.004047"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:50:45.005594"], ["updated_at", "2016-04-25 05:50:45.005594"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:50:45.009245"], ["updated_at", "2016-04-25 05:50:45.009245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:50:45.010555"], ["updated_at", "2016-04-25 05:50:45.010555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:50:45.015418"], ["updated_at", "2016-04-25 05:50:45.015418"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:50:45.020369"], ["updated_at", "2016-04-25 05:50:45.020369"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:50:45.021693"], ["updated_at", "2016-04-25 05:50:45.021693"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:50:45.022825"], ["updated_at", "2016-04-25 05:50:45.022825"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (15.3ms) Completed 200 OK in 16ms (Views: 15.2ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:50:45.191079"], ["updated_at", "2016-04-25 05:50:45.191079"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:50:45.204605"], ["updated_at", "2016-04-25 05:50:45.204605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:50:45.205957"], ["updated_at", "2016-04-25 05:50:45.205957"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:50:45.212207"], ["updated_at", "2016-04-25 05:50:45.212207"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:50:45.213471"], ["updated_at", "2016-04-25 05:50:45.213471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:50:45.219912"], ["updated_at", "2016-04-25 05:50:45.219912"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Ms. Donnie West"], ["created_at", "2016-04-25 05:50:45.251220"], ["updated_at", "2016-04-25 05:50:45.251220"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:50:45.252767"], ["updated_at", "2016-04-25 05:50:45.252767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Tatum Ward"], ["created_at", "2016-04-25 05:50:45.262492"], ["updated_at", "2016-04-25 05:50:45.262492"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Spinka Inc"], ["body", "Dolor dolorem nemo ut nulla."], ["created_at", "2016-04-25 05:50:45.264366"], ["updated_at", "2016-04-25 05:50:45.264366"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.93ms) Completed 200 OK in 30ms (Views: 23.1ms | ActiveRecord: 0.7ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:52:32.899445"], ["updated_at", "2016-04-25 05:52:32.899445"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:52:32.901380"], ["updated_at", "2016-04-25 05:52:32.901380"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 05:52:32.902796"], ["updated_at", "2016-04-25 05:52:32.902796"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:52:32.920814"], ["updated_at", "2016-04-25 05:52:32.920814"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 05:52:32.922255"], ["updated_at", "2016-04-25 05:52:32.922255"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:52:32.927916"], ["updated_at", "2016-04-25 05:52:32.927916"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:52:32.929851"], ["updated_at", "2016-04-25 05:52:32.929851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:52:32.936384"], ["updated_at", "2016-04-25 05:52:32.936384"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 05:52:32.941430"], ["updated_at", "2016-04-25 05:52:32.941430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 05:52:32.942874"], ["updated_at", "2016-04-25 05:52:32.942874"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:52:32.946826"], ["updated_at", "2016-04-25 05:52:32.946826"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:52:32.948485"], ["updated_at", "2016-04-25 05:52:32.948485"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 05:52:32.949760"], ["updated_at", "2016-04-25 05:52:32.949760"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:52:32.955807"], ["updated_at", "2016-04-25 05:52:32.955807"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 05:52:32.957101"], ["updated_at", "2016-04-25 05:52:32.957101"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 05:52:32.961305"], ["updated_at", "2016-04-25 05:52:32.961305"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 05:52:32.965555"], ["updated_at", "2016-04-25 05:52:32.965555"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 05:52:32.966892"], ["updated_at", "2016-04-25 05:52:32.966892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 15:52:33 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Shawn Mertz"], ["created_at", "2016-04-25 05:52:33.165385"], ["updated_at", "2016-04-25 05:52:33.165385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Gottlieb-Anderson"], ["body", "Sapiente iste nesciunt enim."], ["created_at", "2016-04-25 05:52:33.168494"], ["updated_at", "2016-04-25 05:52:33.168494"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Idell Yost DDS"], ["created_at", "2016-04-25 05:52:33.186276"], ["updated_at", "2016-04-25 05:52:33.186276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 05:52:33.187854"], ["updated_at", "2016-04-25 05:52:33.187854"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:52:33.206919"], ["updated_at", "2016-04-25 05:52:33.206919"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:52:33.217261"], ["updated_at", "2016-04-25 05:52:33.217261"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:52:33.223437"], ["updated_at", "2016-04-25 05:52:33.223437"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:52:33.225033"], ["updated_at", "2016-04-25 05:52:33.225033"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 05:52:33.231772"], ["updated_at", "2016-04-25 05:52:33.231772"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 05:52:33.233166"], ["updated_at", "2016-04-25 05:52:33.233166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (3.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.9ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.4ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:06 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:06.508108"], ["updated_at", "2016-04-25 06:17:06.508108"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:06.523213"], ["updated_at", "2016-04-25 06:17:06.523213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:17:06.524472"], ["updated_at", "2016-04-25 06:17:06.524472"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:06.538123"], ["updated_at", "2016-04-25 06:17:06.538123"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:17:06.539630"], ["updated_at", "2016-04-25 06:17:06.539630"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:06.551159"], ["updated_at", "2016-04-25 06:17:06.551159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 403 Forbidden in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:06.721992"], ["updated_at", "2016-04-25 06:17:06.721992"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:06.742692"], ["updated_at", "2016-04-25 06:17:06.742692"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:06.745823"], ["updated_at", "2016-04-25 06:17:06.745823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:06.767887"], ["updated_at", "2016-04-25 06:17:06.767887"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:17:06.769330"], ["updated_at", "2016-04-25 06:17:06.769330"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:06.775265"], ["updated_at", "2016-04-25 06:17:06.775265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:06.776654"], ["updated_at", "2016-04-25 06:17:06.776654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:17:06.777841"], ["updated_at", "2016-04-25 06:17:06.777841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:06.782557"], ["updated_at", "2016-04-25 06:17:06.782557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:06.783891"], ["updated_at", "2016-04-25 06:17:06.783891"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:17:06.789632"], ["updated_at", "2016-04-25 06:17:06.789632"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:17:06.790945"], ["updated_at", "2016-04-25 06:17:06.790945"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:17:06.795868"], ["updated_at", "2016-04-25 06:17:06.795868"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:06.797557"], ["updated_at", "2016-04-25 06:17:06.797557"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:17:06.798841"], ["updated_at", "2016-04-25 06:17:06.798841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:17:06.802671"], ["updated_at", "2016-04-25 06:17:06.802671"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:06.804038"], ["updated_at", "2016-04-25 06:17:06.804038"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:17:06.806901"], ["updated_at", "2016-04-25 06:17:06.806901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (14.08ms) Completed 200 OK in 15ms (Views: 14.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Imani Greenfelder"], ["created_at", "2016-04-25 06:17:06.992756"], ["updated_at", "2016-04-25 06:17:06.992756"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:17:06.994383"], ["updated_at", "2016-04-25 06:17:06.994383"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Lue Rosenbaum"], ["created_at", "2016-04-25 06:17:06.997172"], ["updated_at", "2016-04-25 06:17:06.997172"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Metz and Sons"], ["body", "Maxime sequi nobis et."], ["created_at", "2016-04-25 06:17:06.998722"], ["updated_at", "2016-04-25 06:17:06.998722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:17:49 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:49.465706"], ["updated_at", "2016-04-25 06:17:49.465706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:49.472947"], ["updated_at", "2016-04-25 06:17:49.472947"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:49.496086"], ["updated_at", "2016-04-25 06:17:49.496086"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:49.497542"], ["updated_at", "2016-04-25 06:17:49.497542"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:49.501696"], ["updated_at", "2016-04-25 06:17:49.501696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:49.503166"], ["updated_at", "2016-04-25 06:17:49.503166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:17:49.504438"], ["updated_at", "2016-04-25 06:17:49.504438"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:17:49.513589"], ["updated_at", "2016-04-25 06:17:49.513589"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:17:49.515056"], ["updated_at", "2016-04-25 06:17:49.515056"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:17:49.521702"], ["updated_at", "2016-04-25 06:17:49.521702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:17:49.526849"], ["updated_at", "2016-04-25 06:17:49.526849"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:17:49.533442"], ["updated_at", "2016-04-25 06:17:49.533442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:49.534778"], ["updated_at", "2016-04-25 06:17:49.534778"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:17:49.540147"], ["updated_at", "2016-04-25 06:17:49.540147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:17:49.541554"], ["updated_at", "2016-04-25 06:17:49.541554"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:17:49.547155"], ["updated_at", "2016-04-25 06:17:49.547155"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:17:49.548537"], ["updated_at", "2016-04-25 06:17:49.548537"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:17:49.549608"], ["updated_at", "2016-04-25 06:17:49.549608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.58ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.55ms) Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Destini Haley"], ["created_at", "2016-04-25 06:17:49.721585"], ["updated_at", "2016-04-25 06:17:49.721585"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:17:49.723082"], ["updated_at", "2016-04-25 06:17:49.723082"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Deshawn Willms"], ["created_at", "2016-04-25 06:17:49.730296"], ["updated_at", "2016-04-25 06:17:49.730296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Feil-Gleason"], ["body", "Provident libero dolorem saepe deleniti aut rerum."], ["created_at", "2016-04-25 06:17:49.731911"], ["updated_at", "2016-04-25 06:17:49.731911"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:49.891258"], ["updated_at", "2016-04-25 06:17:49.891258"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:49.904037"], ["updated_at", "2016-04-25 06:17:49.904037"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:17:49.905433"], ["updated_at", "2016-04-25 06:17:49.905433"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:49.911387"], ["updated_at", "2016-04-25 06:17:49.911387"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:17:49.912676"], ["updated_at", "2016-04-25 06:17:49.912676"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:17:49.918030"], ["updated_at", "2016-04-25 06:17:49.918030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:18:54.132232"], ["updated_at", "2016-04-25 06:18:54.132232"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (1.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:18:54.144836"], ["updated_at", "2016-04-25 06:18:54.144836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:18:54.156303"], ["updated_at", "2016-04-25 06:18:54.156303"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:18:54.157659"], ["updated_at", "2016-04-25 06:18:54.157659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:18:54.163058"], ["updated_at", "2016-04-25 06:18:54.163058"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:18:54.164470"], ["updated_at", "2016-04-25 06:18:54.164470"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:18:54.176857"], ["updated_at", "2016-04-25 06:18:54.176857"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:18:54.178509"], ["updated_at", "2016-04-25 06:18:54.178509"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:18:54.207925"], ["updated_at", "2016-04-25 06:18:54.207925"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:18:54.209780"], ["updated_at", "2016-04-25 06:18:54.209780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:18:54.220304"], ["updated_at", "2016-04-25 06:18:54.220304"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:18:54.222026"], ["updated_at", "2016-04-25 06:18:54.222026"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:18:54.227621"], ["updated_at", "2016-04-25 06:18:54.227621"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:18:54.232648"], ["updated_at", "2016-04-25 06:18:54.232648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:18:54.234044"], ["updated_at", "2016-04-25 06:18:54.234044"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:18:54.235273"], ["updated_at", "2016-04-25 06:18:54.235273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:18:54.240877"], ["updated_at", "2016-04-25 06:18:54.240877"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:18:54.243159"], ["updated_at", "2016-04-25 06:18:54.243159"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:18:54.246280"], ["updated_at", "2016-04-25 06:18:54.246280"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:18:54.249017"], ["updated_at", "2016-04-25 06:18:54.249017"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:18:54.250528"], ["updated_at", "2016-04-25 06:18:54.250528"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:18:54.253265"], ["updated_at", "2016-04-25 06:18:54.253265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:18:54.257203"], ["updated_at", "2016-04-25 06:18:54.257203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:18:54.258529"], ["updated_at", "2016-04-25 06:18:54.258529"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.32ms) Completed 200 OK in 17ms (Views: 16.5ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Garret Runolfsdottir"], ["created_at", "2016-04-25 06:18:54.455563"], ["updated_at", "2016-04-25 06:18:54.455563"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Wuckert LLC"], ["body", "Minima dolores quia nihil aut."], ["created_at", "2016-04-25 06:18:54.457442"], ["updated_at", "2016-04-25 06:18:54.457442"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Norbert O'Keefe DVM"], ["created_at", "2016-04-25 06:18:54.474654"], ["updated_at", "2016-04-25 06:18:54.474654"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:18:54.476378"], ["updated_at", "2016-04-25 06:18:54.476378"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.26ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:18:54 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.8ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (20.14ms) Completed 200 OK in 31ms (Views: 24.6ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 9.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:19:42 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:19:42.467669"], ["updated_at", "2016-04-25 06:19:42.467669"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:19:42.469263"], ["updated_at", "2016-04-25 06:19:42.469263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:19:42.477503"], ["updated_at", "2016-04-25 06:19:42.477503"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:19:42.478870"], ["updated_at", "2016-04-25 06:19:42.478870"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:19:42.479944"], ["updated_at", "2016-04-25 06:19:42.479944"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:19:42.486070"], ["updated_at", "2016-04-25 06:19:42.486070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:19:42.488171"], ["updated_at", "2016-04-25 06:19:42.488171"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:19:42.519381"], ["updated_at", "2016-04-25 06:19:42.519381"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:19:42.521009"], ["updated_at", "2016-04-25 06:19:42.521009"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:19:42.530052"], ["updated_at", "2016-04-25 06:19:42.530052"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:19:42.535292"], ["updated_at", "2016-04-25 06:19:42.535292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:19:42.536906"], ["updated_at", "2016-04-25 06:19:42.536906"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:19:42.542895"], ["updated_at", "2016-04-25 06:19:42.542895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:19:42.544246"], ["updated_at", "2016-04-25 06:19:42.544246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:19:42.545392"], ["updated_at", "2016-04-25 06:19:42.545392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:19:42.550460"], ["updated_at", "2016-04-25 06:19:42.550460"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:19:42.551763"], ["updated_at", "2016-04-25 06:19:42.551763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:19:42.556618"], ["updated_at", "2016-04-25 06:19:42.556618"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Boris Jacobi"], ["created_at", "2016-04-25 06:19:42.559884"], ["updated_at", "2016-04-25 06:19:42.559884"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:19:42.561203"], ["updated_at", "2016-04-25 06:19:42.561203"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Noelia Murray"], ["created_at", "2016-04-25 06:19:42.568903"], ["updated_at", "2016-04-25 06:19:42.568903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Rowe, Abshire and Breitenberg"], ["body", "Minima placeat id reiciendis veritatis."], ["created_at", "2016-04-25 06:19:42.570586"], ["updated_at", "2016-04-25 06:19:42.570586"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:19:42.620541"], ["updated_at", "2016-04-25 06:19:42.620541"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:19:42.624709"], ["updated_at", "2016-04-25 06:19:42.624709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:19:42.636121"], ["updated_at", "2016-04-25 06:19:42.636121"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:19:42.638761"], ["updated_at", "2016-04-25 06:19:42.638761"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:19:42.645927"], ["updated_at", "2016-04-25 06:19:42.645927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:19:42.647331"], ["updated_at", "2016-04-25 06:19:42.647331"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.5ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:24:31.474590"], ["updated_at", "2016-04-25 06:24:31.474590"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:24:31.494311"], ["updated_at", "2016-04-25 06:24:31.494311"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:24:31.495695"], ["updated_at", "2016-04-25 06:24:31.495695"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:24:31.507135"], ["updated_at", "2016-04-25 06:24:31.507135"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:24:31.508409"], ["updated_at", "2016-04-25 06:24:31.508409"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:24:31.521928"], ["updated_at", "2016-04-25 06:24:31.521928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Hugh Hills V"], ["created_at", "2016-04-25 06:24:31.526726"], ["updated_at", "2016-04-25 06:24:31.526726"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:24:31.531620"], ["updated_at", "2016-04-25 06:24:31.531620"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Lorna Torp"], ["created_at", "2016-04-25 06:24:31.556153"], ["updated_at", "2016-04-25 06:24:31.556153"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Lang-Thompson"], ["body", "Et vero temporibus et blanditiis."], ["created_at", "2016-04-25 06:24:31.557851"], ["updated_at", "2016-04-25 06:24:31.557851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.11ms) Completed 403 Forbidden in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.76ms) Completed 200 OK in 3ms (Views: 2.1ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:24:31.735199"], ["updated_at", "2016-04-25 06:24:31.735199"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:24:31.736659"], ["updated_at", "2016-04-25 06:24:31.736659"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:24:31.739670"], ["updated_at", "2016-04-25 06:24:31.739670"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:24:31.742757"], ["updated_at", "2016-04-25 06:24:31.742757"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:24:31.744288"], ["updated_at", "2016-04-25 06:24:31.744288"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:24:31.748833"], ["updated_at", "2016-04-25 06:24:31.748833"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:24:31.750160"], ["updated_at", "2016-04-25 06:24:31.750160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:24:31.751213"], ["updated_at", "2016-04-25 06:24:31.751213"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:24:31.755263"], ["updated_at", "2016-04-25 06:24:31.755263"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:24:31.757014"], ["updated_at", "2016-04-25 06:24:31.757014"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:24:31.770190"], ["updated_at", "2016-04-25 06:24:31.770190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:24:31.771710"], ["updated_at", "2016-04-25 06:24:31.771710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:24:31.772836"], ["updated_at", "2016-04-25 06:24:31.772836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:24:31.777802"], ["updated_at", "2016-04-25 06:24:31.777802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:24:31.782895"], ["updated_at", "2016-04-25 06:24:31.782895"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:24:31.784320"], ["updated_at", "2016-04-25 06:24:31.784320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:24:31.798573"], ["updated_at", "2016-04-25 06:24:31.798573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:24:31.800024"], ["updated_at", "2016-04-25 06:24:31.800024"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.4ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? [["code", "foo"]]  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.42ms) Completed 200 OK in 31ms (Views: 22.9ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:15.326960"], ["updated_at", "2016-04-25 06:29:15.326960"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:15.328573"], ["updated_at", "2016-04-25 06:29:15.328573"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:15.346482"], ["updated_at", "2016-04-25 06:29:15.346482"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:15.347836"], ["updated_at", "2016-04-25 06:29:15.347836"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:15.361700"], ["updated_at", "2016-04-25 06:29:15.361700"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:29:15.363000"], ["updated_at", "2016-04-25 06:29:15.363000"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:15.372871"], ["updated_at", "2016-04-25 06:29:15.372871"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:15.380741"], ["updated_at", "2016-04-25 06:29:15.380741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:15.382257"], ["updated_at", "2016-04-25 06:29:15.382257"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:29:15.383903"], ["updated_at", "2016-04-25 06:29:15.383903"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:29:15.392617"], ["updated_at", "2016-04-25 06:29:15.392617"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:29:15.393925"], ["updated_at", "2016-04-25 06:29:15.393925"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:29:15.398055"], ["updated_at", "2016-04-25 06:29:15.398055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:15.399815"], ["updated_at", "2016-04-25 06:29:15.399815"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:29:15.403144"], ["updated_at", "2016-04-25 06:29:15.403144"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:29:15.408281"], ["updated_at", "2016-04-25 06:29:15.408281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:29:15.411095"], ["updated_at", "2016-04-25 06:29:15.411095"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:15.412420"], ["updated_at", "2016-04-25 06:29:15.412420"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kelsi Zulauf"], ["created_at", "2016-04-25 06:29:15.444039"], ["updated_at", "2016-04-25 06:29:15.444039"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Sawayn-Wisozk"], ["body", "Qui rerum natus consequatur ratione rerum porro et."], ["created_at", "2016-04-25 06:29:15.445752"], ["updated_at", "2016-04-25 06:29:15.445752"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dr. Hollie Cassin"], ["created_at", "2016-04-25 06:29:15.462497"], ["updated_at", "2016-04-25 06:29:15.462497"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:29:15.464005"], ["updated_at", "2016-04-25 06:29:15.464005"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:15.471335"], ["updated_at", "2016-04-25 06:29:15.471335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:15.488349"], ["updated_at", "2016-04-25 06:29:15.488349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:15.493605"], ["updated_at", "2016-04-25 06:29:15.493605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:29:15.494894"], ["updated_at", "2016-04-25 06:29:15.494894"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:15.501261"], ["updated_at", "2016-04-25 06:29:15.501261"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:29:15.502999"], ["updated_at", "2016-04-25 06:29:15.502999"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.3ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:55.499927"], ["updated_at", "2016-04-25 06:29:55.499927"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:55.521766"], ["updated_at", "2016-04-25 06:29:55.521766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:29:55.523344"], ["updated_at", "2016-04-25 06:29:55.523344"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:55.529398"], ["updated_at", "2016-04-25 06:29:55.529398"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:29:55.530799"], ["updated_at", "2016-04-25 06:29:55.530799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:29:55.538802"], ["updated_at", "2016-04-25 06:29:55.538802"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Christine Mohr"], ["created_at", "2016-04-25 06:29:55.571608"], ["updated_at", "2016-04-25 06:29:55.571608"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:29:55.576717"], ["updated_at", "2016-04-25 06:29:55.576717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mrs. Nola Steuber"], ["created_at", "2016-04-25 06:29:55.602997"], ["updated_at", "2016-04-25 06:29:55.602997"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Schulist and Sons"], ["body", "Et consectetur quod nemo."], ["created_at", "2016-04-25 06:29:55.604653"], ["updated_at", "2016-04-25 06:29:55.604653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:55.626120"], ["updated_at", "2016-04-25 06:29:55.626120"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:55.627638"], ["updated_at", "2016-04-25 06:29:55.627638"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:29:55.628813"], ["updated_at", "2016-04-25 06:29:55.628813"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:55.645644"], ["updated_at", "2016-04-25 06:29:55.645644"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:55.646968"], ["updated_at", "2016-04-25 06:29:55.646968"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:55.652946"], ["updated_at", "2016-04-25 06:29:55.652946"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:29:55.654430"], ["updated_at", "2016-04-25 06:29:55.654430"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:55.661951"], ["updated_at", "2016-04-25 06:29:55.661951"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:29:55.670203"], ["updated_at", "2016-04-25 06:29:55.670203"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:29:55.671769"], ["updated_at", "2016-04-25 06:29:55.671769"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:29:55.680133"], ["updated_at", "2016-04-25 06:29:55.680133"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:55.682048"], ["updated_at", "2016-04-25 06:29:55.682048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:29:55.685018"], ["updated_at", "2016-04-25 06:29:55.685018"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:29:55.687783"], ["updated_at", "2016-04-25 06:29:55.687783"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:29:55.689048"], ["updated_at", "2016-04-25 06:29:55.689048"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:29:55.693013"], ["updated_at", "2016-04-25 06:29:55.693013"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:29:55.694286"], ["updated_at", "2016-04-25 06:29:55.694286"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:29:55.695391"], ["updated_at", "2016-04-25 06:29:55.695391"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.4ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:29:55 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.35ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (2.43ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:49:15.416628"], ["updated_at", "2016-04-25 06:49:15.416628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:15.420403"], ["updated_at", "2016-04-25 06:49:15.420403"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:49:15.430491"], ["updated_at", "2016-04-25 06:49:15.430491"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:49:15.437489"], ["updated_at", "2016-04-25 06:49:15.437489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:15.438888"], ["updated_at", "2016-04-25 06:49:15.438888"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:49:15.439962"], ["updated_at", "2016-04-25 06:49:15.439962"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:49:15.445065"], ["updated_at", "2016-04-25 06:49:15.445065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:49:15.446527"], ["updated_at", "2016-04-25 06:49:15.446527"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:15.453531"], ["updated_at", "2016-04-25 06:49:15.453531"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:15.455136"], ["updated_at", "2016-04-25 06:49:15.455136"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:49:15.456246"], ["updated_at", "2016-04-25 06:49:15.456246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:15.483931"], ["updated_at", "2016-04-25 06:49:15.483931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:49:15.485365"], ["updated_at", "2016-04-25 06:49:15.485365"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:15.494040"], ["updated_at", "2016-04-25 06:49:15.494040"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:15.502885"], ["updated_at", "2016-04-25 06:49:15.502885"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:15.504190"], ["updated_at", "2016-04-25 06:49:15.504190"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:15.512269"], ["updated_at", "2016-04-25 06:49:15.512269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:15.513826"], ["updated_at", "2016-04-25 06:49:15.513826"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:15 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.41ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.04ms) Completed 200 OK in 17ms (Views: 16.2ms | ActiveRecord: 0.2ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Hobart Greenfelder"], ["created_at", "2016-04-25 06:49:15.849996"], ["updated_at", "2016-04-25 06:49:15.849996"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:49:15.851595"], ["updated_at", "2016-04-25 06:49:15.851595"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Dessie Emmerich"], ["created_at", "2016-04-25 06:49:15.858616"], ["updated_at", "2016-04-25 06:49:15.858616"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Hauck Group"], ["body", "Et hic vel adipisci inventore."], ["created_at", "2016-04-25 06:49:15.860229"], ["updated_at", "2016-04-25 06:49:15.860229"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:15.932055"], ["updated_at", "2016-04-25 06:49:15.932055"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:15.939725"], ["updated_at", "2016-04-25 06:49:15.939725"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:49:15.941559"], ["updated_at", "2016-04-25 06:49:15.941559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:15.947668"], ["updated_at", "2016-04-25 06:49:15.947668"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:49:15.949382"], ["updated_at", "2016-04-25 06:49:15.949382"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:15.956246"], ["updated_at", "2016-04-25 06:49:15.956246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:49:50 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.19ms) Completed 403 Forbidden in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.42ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:51.004780"], ["updated_at", "2016-04-25 06:49:51.004780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:51.025969"], ["updated_at", "2016-04-25 06:49:51.025969"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:51.036865"], ["updated_at", "2016-04-25 06:49:51.036865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:49:51.038115"], ["updated_at", "2016-04-25 06:49:51.038115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:49:51.043372"], ["updated_at", "2016-04-25 06:49:51.043372"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:49:51.044650"], ["updated_at", "2016-04-25 06:49:51.044650"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Arnulfo Harber"], ["created_at", "2016-04-25 06:49:51.053600"], ["updated_at", "2016-04-25 06:49:51.053600"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Bechtelar-Ratke"], ["body", "Placeat dolorum maiores praesentium consequuntur autem."], ["created_at", "2016-04-25 06:49:51.058727"], ["updated_at", "2016-04-25 06:49:51.058727"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Gus O'Connell DVM"], ["created_at", "2016-04-25 06:49:51.093269"], ["updated_at", "2016-04-25 06:49:51.093269"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:49:51.096324"], ["updated_at", "2016-04-25 06:49:51.096324"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (2.08ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.1ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:49:51.164168"], ["updated_at", "2016-04-25 06:49:51.164168"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:51.165794"], ["updated_at", "2016-04-25 06:49:51.165794"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:49:51.168712"], ["updated_at", "2016-04-25 06:49:51.168712"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:51.171549"], ["updated_at", "2016-04-25 06:49:51.171549"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:51.172933"], ["updated_at", "2016-04-25 06:49:51.172933"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:51.189367"], ["updated_at", "2016-04-25 06:49:51.189367"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:51.198704"], ["updated_at", "2016-04-25 06:49:51.198704"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:49:51.200192"], ["updated_at", "2016-04-25 06:49:51.200192"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:51.208176"], ["updated_at", "2016-04-25 06:49:51.208176"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:51.209631"], ["updated_at", "2016-04-25 06:49:51.209631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:49:51.210960"], ["updated_at", "2016-04-25 06:49:51.210960"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:49:51.221210"], ["updated_at", "2016-04-25 06:49:51.221210"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:49:51.222519"], ["updated_at", "2016-04-25 06:49:51.222519"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:49:51.227084"], ["updated_at", "2016-04-25 06:49:51.227084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:49:51.228565"], ["updated_at", "2016-04-25 06:49:51.228565"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:49:51.232265"], ["updated_at", "2016-04-25 06:49:51.232265"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:49:51.233978"], ["updated_at", "2016-04-25 06:49:51.233978"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:49:51.235198"], ["updated_at", "2016-04-25 06:49:51.235198"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:52:53.368072"], ["updated_at", "2016-04-25 06:52:53.368072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.3ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:52:53.384766"], ["updated_at", "2016-04-25 06:52:53.384766"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:52:53.392746"], ["updated_at", "2016-04-25 06:52:53.392746"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:52:53.394414"], ["updated_at", "2016-04-25 06:52:53.394414"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:52:53.400295"], ["updated_at", "2016-04-25 06:52:53.400295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:52:53.401628"], ["updated_at", "2016-04-25 06:52:53.401628"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:52:53.464323"], ["updated_at", "2016-04-25 06:52:53.464323"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:52:53.466079"], ["updated_at", "2016-04-25 06:52:53.466079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:52:53.469405"], ["updated_at", "2016-04-25 06:52:53.469405"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:52:53.475713"], ["updated_at", "2016-04-25 06:52:53.475713"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:52:53.477194"], ["updated_at", "2016-04-25 06:52:53.477194"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:52:53.495015"], ["updated_at", "2016-04-25 06:52:53.495015"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:52:53.507344"], ["updated_at", "2016-04-25 06:52:53.507344"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:52:53.508657"], ["updated_at", "2016-04-25 06:52:53.508657"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:52:53.516901"], ["updated_at", "2016-04-25 06:52:53.516901"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:52:53.518349"], ["updated_at", "2016-04-25 06:52:53.518349"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:52:53.526198"], ["updated_at", "2016-04-25 06:52:53.526198"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:52:53.527990"], ["updated_at", "2016-04-25 06:52:53.527990"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:52:53.529789"], ["updated_at", "2016-04-25 06:52:53.529789"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:52:53.539072"], ["updated_at", "2016-04-25 06:52:53.539072"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:52:53.540547"], ["updated_at", "2016-04-25 06:52:53.540547"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:52:53.544770"], ["updated_at", "2016-04-25 06:52:53.544770"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:52:53.547466"], ["updated_at", "2016-04-25 06:52:53.547466"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:52:53.548863"], ["updated_at", "2016-04-25 06:52:53.548863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Osbaldo Pfannerstill"], ["created_at", "2016-04-25 06:52:53.664852"], ["updated_at", "2016-04-25 06:52:53.664852"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Schuppe Inc"], ["body", "Ex numquam natus qui vel sit error."], ["created_at", "2016-04-25 06:52:53.666696"], ["updated_at", "2016-04-25 06:52:53.666696"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Damien Carter"], ["created_at", "2016-04-25 06:52:53.671784"], ["updated_at", "2016-04-25 06:52:53.671784"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:52:53.682820"], ["updated_at", "2016-04-25 06:52:53.682820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.22ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.2ms) Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.1ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:52:53 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.2ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.08ms) Completed 422 Unprocessable Entity in 5ms (Views: 5.1ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.5ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Imani Marks"], ["created_at", "2016-04-25 06:53:56.613855"], ["updated_at", "2016-04-25 06:53:56.613855"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:53:56.624301"], ["updated_at", "2016-04-25 06:53:56.624301"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Miss Samantha Pagac"], ["created_at", "2016-04-25 06:53:56.652174"], ["updated_at", "2016-04-25 06:53:56.652174"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Fahey LLC"], ["body", "Minima ea quia quidem deserunt illum rerum ut."], ["created_at", "2016-04-25 06:53:56.655122"], ["updated_at", "2016-04-25 06:53:56.655122"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:53:56.747849"], ["updated_at", "2016-04-25 06:53:56.747849"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:53:56.750151"], ["updated_at", "2016-04-25 06:53:56.750151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.6ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:53:56.777702"], ["updated_at", "2016-04-25 06:53:56.777702"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:53:56.779167"], ["updated_at", "2016-04-25 06:53:56.779167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:53:56.780422"], ["updated_at", "2016-04-25 06:53:56.780422"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:53:56.789950"], ["updated_at", "2016-04-25 06:53:56.789950"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:53:56.791316"], ["updated_at", "2016-04-25 06:53:56.791316"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:53:56.796186"], ["updated_at", "2016-04-25 06:53:56.796186"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:53:56.805605"], ["updated_at", "2016-04-25 06:53:56.805605"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:53:56.807027"], ["updated_at", "2016-04-25 06:53:56.807027"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:53:56.816640"], ["updated_at", "2016-04-25 06:53:56.816640"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:53:56.818669"], ["updated_at", "2016-04-25 06:53:56.818669"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:53:56.832392"], ["updated_at", "2016-04-25 06:53:56.832392"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:53:56.836126"], ["updated_at", "2016-04-25 06:53:56.836126"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:53:56.837504"], ["updated_at", "2016-04-25 06:53:56.837504"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:53:56.838572"], ["updated_at", "2016-04-25 06:53:56.838572"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:53:56.842465"], ["updated_at", "2016-04-25 06:53:56.842465"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:53:56.843751"], ["updated_at", "2016-04-25 06:53:56.843751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:53:56.854156"], ["updated_at", "2016-04-25 06:53:56.854156"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:53:56.864351"], ["updated_at", "2016-04-25 06:53:56.864351"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:53:56.871412"], ["updated_at", "2016-04-25 06:53:56.871412"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:53:56.872990"], ["updated_at", "2016-04-25 06:53:56.872990"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:53:56.878728"], ["updated_at", "2016-04-25 06:53:56.878728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:53:56.880166"], ["updated_at", "2016-04-25 06:53:56.880166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.16ms) Completed 200 OK in 6ms (Views: 5.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:53:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.5ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.58ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.35ms) Completed 200 OK in 31ms (Views: 23.7ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Beryl Borer"], ["created_at", "2016-04-25 06:55:08.212936"], ["updated_at", "2016-04-25 06:55:08.212936"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Schultz LLC"], ["body", "Dolores omnis doloremque et quos dolorum."], ["created_at", "2016-04-25 06:55:08.218510"], ["updated_at", "2016-04-25 06:55:08.218510"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Mr. Graham O'Hara"], ["created_at", "2016-04-25 06:55:08.226604"], ["updated_at", "2016-04-25 06:55:08.226604"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:55:08.228114"], ["updated_at", "2016-04-25 06:55:08.228114"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.3ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.14ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.4ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:08 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.6ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.4ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:08.489741"], ["updated_at", "2016-04-25 06:55:08.489741"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:08.500372"], ["updated_at", "2016-04-25 06:55:08.500372"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:08.504751"], ["updated_at", "2016-04-25 06:55:08.504751"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:08.511076"], ["updated_at", "2016-04-25 06:55:08.511076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:08.513020"], ["updated_at", "2016-04-25 06:55:08.513020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.4ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:08.530273"], ["updated_at", "2016-04-25 06:55:08.530273"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.37ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.79ms) Completed 422 Unprocessable Entity in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.59ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:08.603552"], ["updated_at", "2016-04-25 06:55:08.603552"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:08.605483"], ["updated_at", "2016-04-25 06:55:08.605483"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:55:08.607192"], ["updated_at", "2016-04-25 06:55:08.607192"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:08.611828"], ["updated_at", "2016-04-25 06:55:08.611828"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:55:08.613651"], ["updated_at", "2016-04-25 06:55:08.613651"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:08.619146"], ["updated_at", "2016-04-25 06:55:08.619146"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:08.622099"], ["updated_at", "2016-04-25 06:55:08.622099"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:08.623513"], ["updated_at", "2016-04-25 06:55:08.623513"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:08.627334"], ["updated_at", "2016-04-25 06:55:08.627334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:08.629402"], ["updated_at", "2016-04-25 06:55:08.629402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:55:08.631147"], ["updated_at", "2016-04-25 06:55:08.631147"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:08.643874"], ["updated_at", "2016-04-25 06:55:08.643874"]]  (0.4ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:08.646439"], ["updated_at", "2016-04-25 06:55:08.646439"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:08.653627"], ["updated_at", "2016-04-25 06:55:08.653627"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:08.655402"], ["updated_at", "2016-04-25 06:55:08.655402"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:08.665844"], ["updated_at", "2016-04-25 06:55:08.665844"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:08.675379"], ["updated_at", "2016-04-25 06:55:08.675379"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:55:08.677225"], ["updated_at", "2016-04-25 06:55:08.677225"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.38ms) Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:14 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:14.846902"], ["updated_at", "2016-04-25 06:55:14.846902"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:14.852129"], ["updated_at", "2016-04-25 06:55:14.852129"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:14.860810"], ["updated_at", "2016-04-25 06:55:14.860810"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:14.865489"], ["updated_at", "2016-04-25 06:55:14.865489"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:55:14.867178"], ["updated_at", "2016-04-25 06:55:14.867178"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:14.872132"], ["updated_at", "2016-04-25 06:55:14.872132"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:14.873684"], ["updated_at", "2016-04-25 06:55:14.873684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:55:14.874809"], ["updated_at", "2016-04-25 06:55:14.874809"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:14.878417"], ["updated_at", "2016-04-25 06:55:14.878417"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:14.892967"], ["updated_at", "2016-04-25 06:55:14.892967"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:14.895194"], ["updated_at", "2016-04-25 06:55:14.895194"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:14.901227"], ["updated_at", "2016-04-25 06:55:14.901227"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:14.903097"], ["updated_at", "2016-04-25 06:55:14.903097"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:55:14.904332"], ["updated_at", "2016-04-25 06:55:14.904332"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:14.912656"], ["updated_at", "2016-04-25 06:55:14.912656"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:14.914022"], ["updated_at", "2016-04-25 06:55:14.914022"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:14.922567"], ["updated_at", "2016-04-25 06:55:14.922567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:55:14.924119"], ["updated_at", "2016-04-25 06:55:14.924119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:14.932966"], ["updated_at", "2016-04-25 06:55:14.932966"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:14.945165"], ["updated_at", "2016-04-25 06:55:14.945165"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:14.946758"], ["updated_at", "2016-04-25 06:55:14.946758"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:14.953796"], ["updated_at", "2016-04-25 06:55:14.953796"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:14.955413"], ["updated_at", "2016-04-25 06:55:14.955413"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:14.966327"], ["updated_at", "2016-04-25 06:55:14.966327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.3ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (16.05ms) Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Justine Mosciski"], ["created_at", "2016-04-25 06:55:15.175333"], ["updated_at", "2016-04-25 06:55:15.175333"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Stoltenberg, Mitchell and Schmeler"], ["body", "Cum amet natus vel dignissimos exercitationem quo non."], ["created_at", "2016-04-25 06:55:15.177243"], ["updated_at", "2016-04-25 06:55:15.177243"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jenifer Tromp"], ["created_at", "2016-04-25 06:55:15.183083"], ["updated_at", "2016-04-25 06:55:15.183083"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:55:15.186160"], ["updated_at", "2016-04-25 06:55:15.186160"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.47ms) Completed 403 Forbidden in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:55:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.52ms) Completed 200 OK in 25ms (Views: 17.7ms | ActiveRecord: 0.6ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:32.082434"], ["updated_at", "2016-04-25 06:55:32.082434"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:32.090051"], ["updated_at", "2016-04-25 06:55:32.090051"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:32.091623"], ["updated_at", "2016-04-25 06:55:32.091623"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:55:32.096088"], ["updated_at", "2016-04-25 06:55:32.096088"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:32.097515"], ["updated_at", "2016-04-25 06:55:32.097515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:55:32.099947"], ["updated_at", "2016-04-25 06:55:32.099947"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:55:32.104327"], ["updated_at", "2016-04-25 06:55:32.104327"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:55:32.105972"], ["updated_at", "2016-04-25 06:55:32.105972"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:32.115653"], ["updated_at", "2016-04-25 06:55:32.115653"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:55:32.117075"], ["updated_at", "2016-04-25 06:55:32.117075"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:32.128934"], ["updated_at", "2016-04-25 06:55:32.128934"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:32.130667"], ["updated_at", "2016-04-25 06:55:32.130667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:32.135872"], ["updated_at", "2016-04-25 06:55:32.135872"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:32.146062"], ["updated_at", "2016-04-25 06:55:32.146062"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:55:32.147487"], ["updated_at", "2016-04-25 06:55:32.147487"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:55:32.155246"], ["updated_at", "2016-04-25 06:55:32.155246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:55:32.156776"], ["updated_at", "2016-04-25 06:55:32.156776"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:55:32.158162"], ["updated_at", "2016-04-25 06:55:32.158162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Jayda Wuckert"], ["created_at", "2016-04-25 06:55:32.168865"], ["updated_at", "2016-04-25 06:55:32.168865"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Schaden, Barrows and Treutel"], ["body", "Qui et earum repellat qui."], ["created_at", "2016-04-25 06:55:32.170667"], ["updated_at", "2016-04-25 06:55:32.170667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Nicola Grady"], ["created_at", "2016-04-25 06:55:32.176719"], ["updated_at", "2016-04-25 06:55:32.176719"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:55:32.178115"], ["updated_at", "2016-04-25 06:55:32.178115"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:32.204868"], ["updated_at", "2016-04-25 06:55:32.204868"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:32.213083"], ["updated_at", "2016-04-25 06:55:32.213083"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:32.214359"], ["updated_at", "2016-04-25 06:55:32.214359"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:32.221241"], ["updated_at", "2016-04-25 06:55:32.221241"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:55:32.222822"], ["updated_at", "2016-04-25 06:55:32.222822"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:55:32.230295"], ["updated_at", "2016-04-25 06:55:32.230295"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.19ms) Completed 422 Unprocessable Entity in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 8ms (Views: 7.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.24ms) Completed 200 OK in 27ms (Views: 20.0ms | ActiveRecord: 0.8ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kathlyn Walter Sr."], ["created_at", "2016-04-25 06:56:23.360995"], ["updated_at", "2016-04-25 06:56:23.360995"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 06:56:23.365662"], ["updated_at", "2016-04-25 06:56:23.365662"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Kendrick Greenholt"], ["created_at", "2016-04-25 06:56:23.374860"], ["updated_at", "2016-04-25 06:56:23.374860"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Jenkins, Douglas and Tromp"], ["body", "Impedit deleniti sequi doloremque cumque vel illum maiores."], ["created_at", "2016-04-25 06:56:23.376651"], ["updated_at", "2016-04-25 06:56:23.376651"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.1ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 16:56:23 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:56:23.465079"], ["updated_at", "2016-04-25 06:56:23.465079"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:56:23.483138"], ["updated_at", "2016-04-25 06:56:23.483138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:56:23.490543"], ["updated_at", "2016-04-25 06:56:23.490543"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:56:23.491863"], ["updated_at", "2016-04-25 06:56:23.491863"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 06:56:23.498206"], ["updated_at", "2016-04-25 06:56:23.498206"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 06:56:23.499892"], ["updated_at", "2016-04-25 06:56:23.499892"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:56:23.515880"], ["updated_at", "2016-04-25 06:56:23.515880"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:56:23.519223"], ["updated_at", "2016-04-25 06:56:23.519223"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:56:23.520956"], ["updated_at", "2016-04-25 06:56:23.520956"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 06:56:23.524706"], ["updated_at", "2016-04-25 06:56:23.524706"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 06:56:23.526020"], ["updated_at", "2016-04-25 06:56:23.526020"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 06:56:23.531823"], ["updated_at", "2016-04-25 06:56:23.531823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:56:23.533767"], ["updated_at", "2016-04-25 06:56:23.533767"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 06:56:23.535049"], ["updated_at", "2016-04-25 06:56:23.535049"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:56:23.538567"], ["updated_at", "2016-04-25 06:56:23.538567"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 06:56:23.539928"], ["updated_at", "2016-04-25 06:56:23.539928"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 06:56:23.541066"], ["updated_at", "2016-04-25 06:56:23.541066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:56:23.549749"], ["updated_at", "2016-04-25 06:56:23.549749"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 06:56:23.551861"], ["updated_at", "2016-04-25 06:56:23.551861"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:56:23.561374"], ["updated_at", "2016-04-25 06:56:23.561374"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:56:23.571454"], ["updated_at", "2016-04-25 06:56:23.571454"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:56:23.572858"], ["updated_at", "2016-04-25 06:56:23.572858"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 06:56:23.582552"], ["updated_at", "2016-04-25 06:56:23.582552"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 06:56:23.584325"], ["updated_at", "2016-04-25 06:56:23.584325"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 07:01:25.897066"], ["updated_at", "2016-04-25 07:01:25.897066"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 07:01:25.908171"], ["updated_at", "2016-04-25 07:01:25.908171"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 07:01:25.909450"], ["updated_at", "2016-04-25 07:01:25.909450"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.3ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 07:01:25.917431"], ["updated_at", "2016-04-25 07:01:25.917431"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-25 07:01:25.918763"], ["updated_at", "2016-04-25 07:01:25.918763"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-25 07:01:25.931512"], ["updated_at", "2016-04-25 07:01:25.931512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous JsonApiResource ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.03ms) Completed 422 Unprocessable Entity in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.25ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.3ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-25 17:01:26 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Glenda Zulauf"], ["created_at", "2016-04-25 07:01:26.048514"], ["updated_at", "2016-04-25 07:01:26.048514"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "title", "body", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["id", 24], ["author_id", 42], ["title", "Will-Wyman"], ["body", "Fugiat omnis officia sunt rem."], ["created_at", "2016-04-25 07:01:26.053993"], ["updated_at", "2016-04-25 07:01:26.053993"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 1], ["post_id", 24], ["contents", "Comment 1"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "post_id", "contents") VALUES (?, ?, ?) [["id", 2], ["post_id", 24], ["contents", "Comment 2"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."post_id" = ? [["post_id", 24]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."id" = ? LIMIT 1 [["id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "name", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["code", "person_12"], ["name", "Reggie Luettgen IV"], ["created_at", "2016-04-25 07:01:26.086414"], ["updated_at", "2016-04-25 07:01:26.086414"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "author_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 24], ["author_id", 42], ["created_at", "2016-04-25 07:01:26.087942"], ["updated_at", "2016-04-25 07:01:26.087942"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous JsonApiResource  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (1.49ms) Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.1ms)  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.08ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 9.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 07:01:26.372193"], ["updated_at", "2016-04-25 07:01:26.372193"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 07:01:26.373791"], ["updated_at", "2016-04-25 07:01:26.373791"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-25 07:01:26.375166"], ["updated_at", "2016-04-25 07:01:26.375166"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 07:01:26.378710"], ["updated_at", "2016-04-25 07:01:26.378710"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-25 07:01:26.380070"], ["updated_at", "2016-04-25 07:01:26.380070"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 07:01:26.383659"], ["updated_at", "2016-04-25 07:01:26.383659"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-25 07:01:26.385200"], ["updated_at", "2016-04-25 07:01:26.385200"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 07:01:26.393732"], ["updated_at", "2016-04-25 07:01:26.393732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 07:01:26.395292"], ["updated_at", "2016-04-25 07:01:26.395292"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 07:01:26.406248"], ["updated_at", "2016-04-25 07:01:26.406248"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 07:01:26.414931"], ["updated_at", "2016-04-25 07:01:26.414931"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-25 07:01:26.416296"], ["updated_at", "2016-04-25 07:01:26.416296"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-25 07:01:26.420709"], ["updated_at", "2016-04-25 07:01:26.420709"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 07:01:26.422245"], ["updated_at", "2016-04-25 07:01:26.422245"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-25 07:01:26.423496"], ["updated_at", "2016-04-25 07:01:26.423496"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-25 07:01:26.434276"], ["updated_at", "2016-04-25 07:01:26.434276"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-25 07:01:26.436030"], ["updated_at", "2016-04-25 07:01:26.436030"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-25 07:01:26.439559"], ["updated_at", "2016-04-25 07:01:26.439559"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 03:44:56.965547"], ["updated_at", "2016-04-26 03:44:56.965547"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 03:44:56.973722"], ["updated_at", "2016-04-26 03:44:56.973722"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 03:44:56.984567"], ["updated_at", "2016-04-26 03:44:56.984567"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 03:44:56.987050"], ["updated_at", "2016-04-26 03:44:56.987050"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 03:44:56.992612"], ["updated_at", "2016-04-26 03:44:56.992612"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 03:44:56.993886"], ["updated_at", "2016-04-26 03:44:56.993886"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.1ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 13:44:57 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.02ms) Completed 403 Forbidden in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.3ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.22ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.21ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 03:44:57.245106"], ["updated_at", "2016-04-26 03:44:57.245106"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-26 03:44:57.246561"], ["updated_at", "2016-04-26 03:44:57.246561"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 03:44:57.257684"], ["updated_at", "2016-04-26 03:44:57.257684"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 03:44:57.259002"], ["updated_at", "2016-04-26 03:44:57.259002"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 03:44:57.265966"], ["updated_at", "2016-04-26 03:44:57.265966"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 03:44:57.267464"], ["updated_at", "2016-04-26 03:44:57.267464"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-26 03:44:57.268598"], ["updated_at", "2016-04-26 03:44:57.268598"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 03:44:57.278084"], ["updated_at", "2016-04-26 03:44:57.278084"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 03:44:57.287023"], ["updated_at", "2016-04-26 03:44:57.287023"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 03:44:57.288480"], ["updated_at", "2016-04-26 03:44:57.288480"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 03:44:57.292620"], ["updated_at", "2016-04-26 03:44:57.292620"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 03:44:57.294025"], ["updated_at", "2016-04-26 03:44:57.294025"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 03:44:57.296821"], ["updated_at", "2016-04-26 03:44:57.296821"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 03:44:57.299386"], ["updated_at", "2016-04-26 03:44:57.299386"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 03:44:57.300644"], ["updated_at", "2016-04-26 03:44:57.300644"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-26 03:44:57.301732"], ["updated_at", "2016-04-26 03:44:57.301732"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 03:44:57.306093"], ["updated_at", "2016-04-26 03:44:57.306093"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-26 03:44:57.307335"], ["updated_at", "2016-04-26 03:44:57.307335"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.4ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 17ms (Views: 17.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.09ms) Completed 200 OK in 0ms (Views: 0.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.76ms) Completed 200 OK in 20ms (Views: 19.0ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.49ms) Completed 422 Unprocessable Entity in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (30.2ms) Completed 200 OK in 38ms (Views: 30.6ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.12ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:24:31 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:24:31.788834"], ["updated_at", "2016-04-26 04:24:31.788834"]]  (0.2ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:24:31.830808"], ["updated_at", "2016-04-26 04:24:31.830808"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 04:24:31.832601"], ["updated_at", "2016-04-26 04:24:31.832601"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:24:31.839320"], ["updated_at", "2016-04-26 04:24:31.839320"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 04:24:31.841113"], ["updated_at", "2016-04-26 04:24:31.841113"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:24:31.847471"], ["updated_at", "2016-04-26 04:24:31.847471"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.2ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 04:24:31.905857"], ["updated_at", "2016-04-26 04:24:31.905857"]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:24:31.908755"], ["updated_at", "2016-04-26 04:24:31.908755"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 04:24:31.912011"], ["updated_at", "2016-04-26 04:24:31.912011"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.4ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 04:24:31.915478"], ["updated_at", "2016-04-26 04:24:31.915478"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:24:31.916873"], ["updated_at", "2016-04-26 04:24:31.916873"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-26 04:24:31.918029"], ["updated_at", "2016-04-26 04:24:31.918029"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 04:24:31.921780"], ["updated_at", "2016-04-26 04:24:31.921780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-26 04:24:31.923098"], ["updated_at", "2016-04-26 04:24:31.923098"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:24:31.930065"], ["updated_at", "2016-04-26 04:24:31.930065"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:24:31.931568"], ["updated_at", "2016-04-26 04:24:31.931568"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-26 04:24:31.932742"], ["updated_at", "2016-04-26 04:24:31.932742"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.4ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:24:31.947270"], ["updated_at", "2016-04-26 04:24:31.947270"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:24:31.948769"], ["updated_at", "2016-04-26 04:24:31.948769"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.2ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:24:31.956970"], ["updated_at", "2016-04-26 04:24:31.956970"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:24:31.965977"], ["updated_at", "2016-04-26 04:24:31.965977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-26 04:24:31.967631"], ["updated_at", "2016-04-26 04:24:31.967631"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.3ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:24:31.978045"], ["updated_at", "2016-04-26 04:24:31.978045"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:24:31.979768"], ["updated_at", "2016-04-26 04:24:31.979768"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.2ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 04:25:28.232524"], ["updated_at", "2016-04-26 04:25:28.232524"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:25:28.236167"], ["updated_at", "2016-04-26 04:25:28.236167"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 04:25:28.247059"], ["updated_at", "2016-04-26 04:25:28.247059"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-04-26 04:25:28.251456"], ["updated_at", "2016-04-26 04:25:28.251456"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-04-26 04:25:28.252776"], ["updated_at", "2016-04-26 04:25:28.252776"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-04-26 04:25:28.259881"], ["updated_at", "2016-04-26 04:25:28.259881"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:25:28.261459"], ["updated_at", "2016-04-26 04:25:28.261459"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-04-26 04:25:28.262831"], ["updated_at", "2016-04-26 04:25:28.262831"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:25:28.268824"], ["updated_at", "2016-04-26 04:25:28.268824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.2ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:25:28.303119"], ["updated_at", "2016-04-26 04:25:28.303119"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-04-26 04:25:28.306196"], ["updated_at", "2016-04-26 04:25:28.306196"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-04-26 04:25:28.307655"], ["updated_at", "2016-04-26 04:25:28.307655"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:25:28.315597"], ["updated_at", "2016-04-26 04:25:28.315597"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:25:28.316991"], ["updated_at", "2016-04-26 04:25:28.316991"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:25:28.325648"], ["updated_at", "2016-04-26 04:25:28.325648"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-04-26 04:25:28.327063"], ["updated_at", "2016-04-26 04:25:28.327063"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-04-26 04:25:28.700786"], ["updated_at", "2016-04-26 04:25:28.700786"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-04-26 04:25:28.702392"], ["updated_at", "2016-04-26 04:25:28.702392"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (13.25ms) Completed 200 OK in 14ms (Views: 13.6ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.11ms) Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.36ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.38ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 422 Unprocessable Entity in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.3ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:25:29.095824"], ["updated_at", "2016-04-26 04:25:29.095824"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:25:29.100905"], ["updated_at", "2016-04-26 04:25:29.100905"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 04:25:29.102206"], ["updated_at", "2016-04-26 04:25:29.102206"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:25:29.108613"], ["updated_at", "2016-04-26 04:25:29.108613"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-04-26 04:25:29.109977"], ["updated_at", "2016-04-26 04:25:29.109977"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-04-26 04:25:29.123076"], ["updated_at", "2016-04-26 04:25:29.123076"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.17ms) Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.2ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.4ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-04-26 14:25:29 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.2ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.2ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:24:08.525302"], ["updated_at", "2016-05-19 03:24:08.525302"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IS NULL LIMIT 1  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:24:08.546717"], ["updated_at", "2016-05-19 03:24:08.546717"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:24:08.559307"], ["updated_at", "2016-05-19 03:24:08.559307"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:24:08.560667"], ["updated_at", "2016-05-19 03:24:08.560667"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:24:08.566512"], ["updated_at", "2016-05-19 03:24:08.566512"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:24:08.567799"], ["updated_at", "2016-05-19 03:24:08.567799"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (25.61ms) Completed 200 OK in 26ms (Views: 25.6ms | ActiveRecord: 0.5ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.35ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.24ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:14.636489"], ["updated_at", "2016-05-19 03:25:14.636489"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:14.745780"], ["updated_at", "2016-05-19 03:25:14.745780"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:14.751823"], ["updated_at", "2016-05-19 03:25:14.751823"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:25:14.753112"], ["updated_at", "2016-05-19 03:25:14.753112"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:14.758602"], ["updated_at", "2016-05-19 03:25:14.758602"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:25:14.760015"], ["updated_at", "2016-05-19 03:25:14.760015"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (26.18ms) Completed 200 OK in 31ms (Views: 30.4ms | ActiveRecord: 0.4ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.17ms) Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 7ms (Views: 7.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.09ms) Completed 422 Unprocessable Entity in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.39ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.27ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.33ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.9ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:37.896963"], ["updated_at", "2016-05-19 03:25:37.896963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.2ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:37.907405"], ["updated_at", "2016-05-19 03:25:37.907405"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:25:37.909572"], ["updated_at", "2016-05-19 03:25:37.909572"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:37.918184"], ["updated_at", "2016-05-19 03:25:37.918184"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:25:37.920924"], ["updated_at", "2016-05-19 03:25:37.920924"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:25:37.945035"], ["updated_at", "2016-05-19 03:25:37.945035"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.2ms) begin transaction  (0.4ms) rollback transaction  (0.2ms) begin transaction  (0.3ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.2ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.3ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (17.1ms) Completed 200 OK in 18ms (Views: 17.3ms | ActiveRecord: 0.3ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.12ms) Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.28ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.23ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.51ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.26ms) Completed 403 Forbidden in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.2ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar, "body" text, "author_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.1ms) CREATE TABLE "authors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "code" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.1ms) CREATE TABLE "comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "contents" text, "author_id" integer, "post_id" integer)   (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Processing by ApplicationController#echo as JSON_API Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} [active_model_serializers] Rendered ActiveModel::Serializer::Null with ActionController::Parameters (0.15ms) Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction Started POST "/echo" for 127.0.0.1 at 2016-05-19 13:27:17 +1000 Error occurred while parsing request parameters. Contents: {"data":{"id":"42","type":"foobar",}}  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.3ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (1.74ms) Completed 422 Unprocessable Entity in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.29ms) Completed 422 Unprocessable Entity in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.45ms) Completed 403 Forbidden in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.32ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.31ms) Completed 403 Forbidden in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered FunWithJsonApi::ExceptionSerializer with ActiveModelSerializers::Adapter::Json (0.34ms) Completed 403 Forbidden in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-05-19 03:27:18.193782"], ["updated_at", "2016-05-19 03:27:18.193782"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 9], ["created_at", "2016-05-19 03:27:18.201312"], ["updated_at", "2016-05-19 03:27:18.201312"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 5], ["contents", "Blargh"]]  (2.2ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id", "contents") VALUES (?, ?) [["id", 12], ["contents", "Foobar"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12)  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-05-19 03:27:18.222188"], ["updated_at", "2016-05-19 03:27:18.222188"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.2ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-05-19 03:27:18.233162"], ["updated_at", "2016-05-19 03:27:18.233162"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 9], ["name", "John"], ["code", "foo"], ["created_at", "2016-05-19 03:27:18.234698"], ["updated_at", "2016-05-19 03:27:18.234698"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 10], ["name", "John"], ["code", "bar"], ["created_at", "2016-05-19 03:27:18.237055"], ["updated_at", "2016-05-19 03:27:18.237055"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? AND "authors"."name" = ? LIMIT 1 [["code", "foo"], ["name", "John"]]  (0.1ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-05-19 03:27:18.246347"], ["updated_at", "2016-05-19 03:27:18.246347"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-05-19 03:27:18.247927"], ["updated_at", "2016-05-19 03:27:18.247927"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "posts" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2016-05-19 03:27:18.251816"], ["updated_at", "2016-05-19 03:27:18.251816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 9], ["code", "person_9"], ["created_at", "2016-05-19 03:27:18.253246"], ["updated_at", "2016-05-19 03:27:18.253246"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 5]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "comments" ("id") VALUES (?) [["id", 12]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments".* FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Comment Load (0.1ms) SELECT "comments"."id" FROM "comments" WHERE "comments"."id" IN (5, 12) ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_9"]]  (0.2ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-05-19 03:27:18.263551"], ["updated_at", "2016-05-19 03:27:18.263551"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 43], ["code", "person_43"], ["created_at", "2016-05-19 03:27:18.265107"], ["updated_at", "2016-05-19 03:27:18.265107"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('person_42', 'person_43')  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-05-19 03:27:18.269109"], ["updated_at", "2016-05-19 03:27:18.269109"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-05-19 03:27:18.271728"], ["updated_at", "2016-05-19 03:27:18.271728"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 44], ["name", "Jack"], ["code", "bar"], ["created_at", "2016-05-19 03:27:18.273201"], ["updated_at", "2016-05-19 03:27:18.273201"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]] ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" IN ('foo', 'bar') [["name", "Jack"]]  (0.0ms) rollback transaction  (0.0ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 42], ["name", "Jack"], ["code", "foo"], ["created_at", "2016-05-19 03:27:18.277281"], ["updated_at", "2016-05-19 03:27:18.277281"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.0ms) INSERT INTO "authors" ("id", "name", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 43], ["name", "John"], ["code", "foo"], ["created_at", "2016-05-19 03:27:18.278816"], ["updated_at", "2016-05-19 03:27:18.278816"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."name" = ? AND "authors"."code" = ? LIMIT 1 [["name", "Jack"], ["code", "foo"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 42], ["code", "person_42"], ["created_at", "2016-05-19 03:27:18.281851"], ["updated_at", "2016-05-19 03:27:18.281851"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 ARModels::Author Load (0.0ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "person_42"]]  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:27:18.285012"], ["updated_at", "2016-05-19 03:27:18.285012"]]  (0.0ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:27:18.300841"], ["updated_at", "2016-05-19 03:27:18.300841"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:27:18.302420"], ["updated_at", "2016-05-19 03:27:18.302420"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors"."id" FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:27:18.309892"], ["updated_at", "2016-05-19 03:27:18.309892"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.0ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 2], ["code", "blargh"], ["created_at", "2016-05-19 03:27:18.311689"], ["updated_at", "2016-05-19 03:27:18.311689"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer  (0.1ms) SELECT COUNT(*) FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh') ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" IN ('foobar', 'blargh')  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer ARModels::Author Load (0.1ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) SAVEPOINT active_record_1 SQL (0.1ms) INSERT INTO "authors" ("id", "code", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["id", 1], ["code", "foobar"], ["created_at", "2016-05-19 03:27:18.327074"], ["updated_at", "2016-05-19 03:27:18.327074"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 Unable to determine type for anonymous Deserializer ARModels::Author Load (0.8ms) SELECT "authors".* FROM "authors" WHERE "authors"."code" = ? LIMIT 1 [["code", "foobar"]]  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction  (0.0ms) rollback transaction  (0.1ms) begin transaction  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.2ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.0ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.1ms) begin transaction Unable to determine type for anonymous Deserializer  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.13ms) Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)  (0.2ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML [active_model_serializers] ARModels::Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."author_id" = ? [["author_id", 42]] [active_model_serializers] Rendered ARModels::AuthorSerializer with ActiveModelSerializers::Adapter::JsonApi (18.61ms) Completed 200 OK in 19ms (Views: 18.9ms | ActiveRecord: 0.1ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as HTML Parameters: {"data"=>{"id"=>"42", "type"=>"foobar"}} Rendered text template (0.0ms) Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.1ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction  (0.0ms) begin transaction Processing by AnonymousController#index as JSON_API Rendered text template (0.0ms) Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)  (0.1ms) rollback transaction