From 15bbea7226cffb8102dcfaa73e04dc23172678d7 Mon Sep 17 00:00:00 2001 From: Michael Deutsch Date: Thu, 22 Jun 2017 15:10:45 -0400 Subject: [PATCH] Add dummy app temp files to .gitignore --- .gitignore | 4 + spec/dummy/db/test.sqlite3 | Bin 40960 -> 0 bytes spec/dummy/log/test.log | 3789 ------------------------------------ 3 files changed, 4 insertions(+), 3789 deletions(-) delete mode 100644 spec/dummy/db/test.sqlite3 delete mode 100644 spec/dummy/log/test.log diff --git a/.gitignore b/.gitignore index b8ce16c..0e71773 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,10 @@ /test/version_tmp/ /tmp/ +## Dummy app temp files: +/spec/dummy/db +/spec/dummy/log + ## Specific to RubyMotion: .dat* .repl_history diff --git a/spec/dummy/db/test.sqlite3 b/spec/dummy/db/test.sqlite3 deleted file mode 100644 index 10a174e91b4b18c105ad418c3ddabe7a554ba27b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 40960 zcmeI&&u`jh7{GBG5-4qm(@B$+(_T53pf*bkC0lz~$2QbOOG%RwX;}}}J9yhz1=E_B zEIZO&_80B{*txszTB*m~_8Jm?B%#vO%YwcZcI@Z%ujli;Aic4l?(c?LiRYcTEww0F zE0%3rUkhPbR?f^f&3ry(%*w*~hWTqxtj}7_SsVZSp3kpaxm){|v$p)_vdq8FZ!NuC z`uo=Yk~ixx;s_vs00IagfB*srToZwQ?MBuum+dzXwfwoIWE_N%R&gX-L0f6rlv-XD z%YA!Lt<Heuqr1X8 zk*%H@?PUUuSV^s#fz+Nb*H=1htI@%xz4t1K&S)<@%4OVVW!nm)raJAuZkgdiAbYwq z*bc6`(ZIhddh;}sbvHNd{$~T2ZsSNfGfH7=l;B5~Gg`>H4_EE}?Lqy9Mby72 zrMp2V3SP-rMLGzZ!_eYcQaiQpsy_;E=H8yzs|jy-Op^5IG+rS}f9QIqBOQ0lSLEz^ z3m?ATXzz>H8#ff5q%!WEJND7AlMTCTSH143sG-h!@A+nWs$>@$*ONNjHMQ9Of3EsiOeDV-FH~$QJx*&P*yxz{$b6NxI@KTD9r8)1UP%^A z2q1s}0tg_000IagfB*srATX~2jQ{7gvgCyT0tg_000IagfB*srAb`MFVDN%J&;Q3D ztRa8^0tg_000IagfB*srATWmljQ{7bsHB7d0tg_000IagfB*srAb`LH0p9<=0Kz5$ z2q1s}0tg_000IagfB*t>D3FZ*Q_f$O^Uf@o5I_I{1Q0*~0R#|0009ILK;YU5tfW$f z;+DVd`(}CH_e-S}dn$6T^kwq?f694lId7eJ*DgVB7y$$jKmY**5I_I{1Q0*~0R%ot z7wqZbf9iI+kedjZ@qhCC-**16%!dg91Q0*~0R#|0009ILKmY**{#OFu+ly"application/vnd.api+json"} - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.5ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:36:21 UTC], ["updated_at", 2016-11-20 19:36:21 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:36:22 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.3ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:41:39 UTC], ["updated_at", 2016-11-20 19:41:39 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:41:40 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:42:01 UTC], ["updated_at", 2016-11-20 19:42:01 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:42:01 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.6ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.4ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:45:50 UTC], ["updated_at", 2016-11-20 19:45:50 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:45:51 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 2.0ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:45:51 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.6ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.2ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:46:47 UTC], ["updated_at", 2016-11-20 19:46:47 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:46:48 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:46:48 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (3.0ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.6ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:51:23 UTC], ["updated_at", 2016-11-20 19:51:23 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:51:23 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:51:23 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.5ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.1ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.5ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:51:54 UTC], ["updated_at", 2016-11-20 19:51:54 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:51:55 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:51:55 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:53:11 UTC], ["updated_at", 2016-11-20 19:53:11 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:53:12 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:53:12 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:53:27 UTC], ["updated_at", 2016-11-20 19:53:27 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:53:27 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 0.7ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:53:27 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.2ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:53:59 UTC], ["updated_at", 2016-11-20 19:53:59 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:54:00 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.7ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:54:00 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:54:35 UTC], ["updated_at", 2016-11-20 19:54:35 UTC]] -  (1.0ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:54:35 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 13ms (Views: 2.4ms | ActiveRecord: 0.8ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:54:35 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:54:59 UTC], ["updated_at", 2016-11-20 19:54:59 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:54:59 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:54:59 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (2.0ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:55:12 UTC], ["updated_at", 2016-11-20 19:55:12 UTC]] -  (1.1ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:55:13 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:55:13 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.1ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:55:55 UTC], ["updated_at", 2016-11-20 19:55:55 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:55:55 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.8ms | ActiveRecord: 0.7ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:55:55 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.2ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:56:14 UTC], ["updated_at", 2016-11-20 19:56:14 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:56:15 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:56:15 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:56:59 UTC], ["updated_at", 2016-11-20 19:56:59 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:56:59 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:56:59 +0100 -Processing by TweetsController#create as JSON - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:57:19 UTC], ["updated_at", 2016-11-20 19:57:19 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:57:20 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 20:57:20 +0100 -Error occurred while parsing request parameters. -Contents: - -"{\"data\":{\"type\":\"tweets\",\"attributes\":{\"content\":\"foo\"}}}" -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:57:39 UTC], ["updated_at", 2016-11-20 19:57:39 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:57:40 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.4ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:57:40 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:58:18 UTC], ["updated_at", 2016-11-20 19:58:18 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:58:19 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.6ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:58:19 +0100 -Error occurred while parsing request parameters. -Contents: - -data[type]=tweets&data[attributes][content]=foo -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:59:07 UTC], ["updated_at", 2016-11-20 19:59:07 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:59:08 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 2.2ms | ActiveRecord: 0.4ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:59:08 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.0ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:59:33 UTC], ["updated_at", 2016-11-20 19:59:33 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.2ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:59:33 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:59:33 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 19:59:54 UTC], ["updated_at", 2016-11-20 19:59:54 UTC]] -  (1.0ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 20:59:55 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.4ms | ActiveRecord: 0.5ms) -Started POST "/tweets" for 127.0.0.1 at 2016-11-20 20:59:55 +0100 -Error occurred while parsing request parameters. -Contents: - -data[type]=tweets&data[attributes][content]=foo -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:00:10 UTC], ["updated_at", 2016-11-20 20:00:10 UTC]] -  (1.0ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:00:10 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:00:10 +0100 -Processing by TweetsController#create as JSON - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:00:31 UTC], ["updated_at", 2016-11-20 20:00:31 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:00:32 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:00:32 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:00:55 UTC], ["updated_at", 2016-11-20 20:00:55 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:00:55 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:00:55 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:01:07 UTC], ["updated_at", 2016-11-20 20:01:07 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:01:08 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:01:08 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:08:03 UTC], ["updated_at", 2016-11-20 20:08:03 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:08:03 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:08:04 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (2.8ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.3ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.6ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:12:55 UTC], ["updated_at", 2016-11-20 20:12:55 UTC]] -  (1.0ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:12:56 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 2.2ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:12:56 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:14:45 UTC], ["updated_at", 2016-11-20 20:14:45 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:14:45 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.5ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:14:45 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:15:16 UTC], ["updated_at", 2016-11-20 20:15:16 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:15:17 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:15:17 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.3ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.3ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:16:19 UTC], ["updated_at", 2016-11-20 20:16:19 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:16:20 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:16:20 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:21:00 UTC], ["updated_at", 2016-11-20 20:21:00 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:21:01 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:21:01 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.1ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:23:35 UTC], ["updated_at", 2016-11-20 20:23:35 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:23:36 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:23:36 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (4.0ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.2ms) select sqlite_version(*) -  (10.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (2.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (2.5ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:28:12 UTC], ["updated_at", 2016-11-20 20:28:12 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:28:13 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:28:13 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:28:46 UTC], ["updated_at", 2016-11-20 20:28:46 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:28:46 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:28:46 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:29:38 UTC], ["updated_at", 2016-11-20 20:29:38 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:29:38 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:29:38 +0100 -Error occurred while parsing request parameters. -Contents: - - -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.7ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:34:26 UTC], ["updated_at", 2016-11-20 20:34:26 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:34:26 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 0.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:34:26 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:46:45 UTC], ["updated_at", 2016-11-20 20:46:45 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:46:46 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 0.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:46:46 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:content=>"foo"} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.2ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:47:26 UTC], ["updated_at", 2016-11-20 20:47:26 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:47:27 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 0.7ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:47:27 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:tweet=>{:content=>"foo"}} -Completed 201 Created in 19ms (Views: 13.9ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:47:57 UTC], ["updated_at", 2016-11-20 20:47:57 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:47:57 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:47:57 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:tweet=>{:content=>"foo"}, :_jsonapi=>{"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}}} -Completed 201 Created in 19ms (Views: 13.5ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (2.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:48:18 UTC], ["updated_at", 2016-11-20 20:48:18 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:48:18 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:48:18 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:tweet=>{:content=>"foo"}, :_jsonapi=>{"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}}} -Completed 201 Created in 16ms (Views: 10.0ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:49:29 UTC], ["updated_at", 2016-11-20 20:49:29 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:49:29 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:49:29 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:tweet=>{:content=>"foo"}, :_jsonapi=>{"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}}} -Completed 201 Created in 17ms (Views: 10.8ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:49:40 UTC], ["updated_at", 2016-11-20 20:49:40 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:49:40 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.6ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:49:40 +0100 -Processing by TweetsController#create as JSONAPI - Parameters: {:tweet=>{:content=>"foo"}, :_jsonapi=>{"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}}} -Completed 201 Created in 20ms (Views: 13.4ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:51:08 UTC], ["updated_at", 2016-11-20 20:51:08 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:51:09 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:51:09 +0100 -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:51:32 UTC], ["updated_at", 2016-11-20 20:51:32 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:51:32 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 2.0ms | ActiveRecord: 0.7ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:51:32 +0100 -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (3.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:54:32 UTC], ["updated_at", 2016-11-20 20:54:32 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:54:33 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:54:33 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :_jsonapi=>{"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}}, :controller=>"tweets", :action=>"create", :format=>"json"} -Completed 201 Created in 18ms (Views: 13.2ms | ActiveRecord: 0.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.4ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:55:32 UTC], ["updated_at", 2016-11-20 20:55:32 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:55:32 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:55:32 +0100 -Processing by TweetsController#create as JSON - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.6ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (2.8ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:59:03 UTC], ["updated_at", 2016-11-20 20:59:03 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:59:04 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.8ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:59:04 +0100 -Processing by TweetsController#create as JSON -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.7ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.5ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:59:38 UTC], ["updated_at", 2016-11-20 20:59:38 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 21:59:39 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 2.1ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 21:59:39 +0100 -Processing by TweetsController#create as JSON - Parameters: {"data"=>{"type"=>"tweets", "attributes"=>{"content"=>"foo"}}} -Completed 400 Bad Request in 1ms (ActiveRecord: 0.0ms) -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.5ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 20:59:59 UTC], ["updated_at", 2016-11-20 20:59:59 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:00:00 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:00:00 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -Completed 201 Created in 20ms (Views: 12.1ms | ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:00:29 UTC], ["updated_at", 2016-11-20 21:00:29 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:00:29 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:00:29 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -Completed 201 Created in 15ms (Views: 9.7ms | ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:01:51 UTC], ["updated_at", 2016-11-20 21:01:51 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:01:52 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.2ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:01:52 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -Completed 201 Created in 19ms (Views: 13.5ms | ActiveRecord: 0.4ms) -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:02:40 UTC], ["updated_at", 2016-11-20 21:02:40 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:02:40 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:02:40 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 38ms (ActiveRecord: 0.5ms) -  (0.2ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:03:29 UTC], ["updated_at", 2016-11-20 21:03:29 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:03:30 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:03:30 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 29ms (ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:03:45 UTC], ["updated_at", 2016-11-20 21:03:45 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:03:45 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:03:45 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 23ms (ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (5.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.2ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.7ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:04:23 UTC], ["updated_at", 2016-11-20 21:04:23 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:04:24 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 26ms (Views: 2.3ms | ActiveRecord: 0.8ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:04:24 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.1ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 41ms (ActiveRecord: 0.8ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.8ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (2.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:04:43 UTC], ["updated_at", 2016-11-20 21:04:43 UTC]] -  (0.7ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:04:44 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.6ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:04:44 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:17:38 UTC], ["updated_at", 2016-11-20 21:17:38 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:17:39 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.8ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:17:39 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.4ms) -  (0.1ms) rollback transaction -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.5ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.2ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:20:20 UTC], ["updated_at", 2016-11-20 21:20:20 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:20:21 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.3ms | ActiveRecord: 0.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:20:21 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.0ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 26ms (ActiveRecord: 0.5ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:32:16 UTC], ["updated_at", 2016-11-20 21:32:16 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.3ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:32:16 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 2.1ms | ActiveRecord: 0.9ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:32:16 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} -  (0.3ms) SAVEPOINT active_record_1 -  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 44ms (ActiveRecord: 1.3ms) -  (0.1ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.2ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.9ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (0.9ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:33:15 UTC], ["updated_at", 2016-11-20 21:33:15 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:33:16 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.9ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:33:16 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:33:16 UTC], ["updated_at", 2016-11-20 21:33:16 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 45ms (ActiveRecord: 1.7ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.2ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.7ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:33:59 UTC], ["updated_at", 2016-11-20 21:33:59 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:34:00 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 13ms (Views: 2.1ms | ActiveRecord: 0.7ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:34:00 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:34:00 UTC], ["updated_at", 2016-11-20 21:34:00 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 35ms (ActiveRecord: 1.5ms) -  (0.6ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (0.9ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.2ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:35:31 UTC], ["updated_at", 2016-11-20 21:35:31 UTC]] -  (0.6ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:35:32 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.9ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:35:32 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:35:32 UTC], ["updated_at", 2016-11-20 21:35:32 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:35:32 UTC], ["updated_at", 2016-11-20 21:35:32 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 500 Internal Server Error in 34ms (ActiveRecord: 1.5ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (2.4ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) select sqlite_version(*) -  (0.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.7ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:36:54 UTC], ["updated_at", 2016-11-20 21:36:54 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.3ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:36:55 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (2.5ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 19ms (Views: 4.4ms | ActiveRecord: 4.2ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:36:56 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.5ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:36:56 UTC], ["updated_at", 2016-11-20 21:36:56 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:36:56 UTC], ["updated_at", 2016-11-20 21:36:56 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 80ms (Views: 5.2ms | ActiveRecord: 2.3ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.8ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.2ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (2.2ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (3.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:39:02 UTC], ["updated_at", 2016-11-20 21:39:02 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:39:02 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 10ms (Views: 1.9ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:39:02 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:39:02 UTC], ["updated_at", 2016-11-20 21:39:02 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:39:02 UTC], ["updated_at", 2016-11-20 21:39:02 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 33ms (Views: 4.7ms | ActiveRecord: 1.5ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.2ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:39:36 UTC], ["updated_at", 2016-11-20 21:39:36 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:39:37 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:39:37 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:39:37 UTC], ["updated_at", 2016-11-20 21:39:37 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:39:37 UTC], ["updated_at", 2016-11-20 21:39:37 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 37ms (Views: 5.5ms | ActiveRecord: 1.7ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (1.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.1ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.8ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.4ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:41:21 UTC], ["updated_at", 2016-11-20 21:41:21 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:41:21 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 8ms (Views: 1.5ms | ActiveRecord: 0.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:41:21 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:41:21 UTC], ["updated_at", 2016-11-20 21:41:21 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:41:21 UTC], ["updated_at", 2016-11-20 21:41:21 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 42ms (Views: 9.8ms | ActiveRecord: 1.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:41:21 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:41:21 UTC], ["updated_at", 2016-11-20 21:41:21 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 6ms (Views: 1.3ms | ActiveRecord: 0.6ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:41:21 +0100 -  (0.7ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (3.8ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.7ms) select sqlite_version(*) -  (1.6ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (2.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (0.8ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:42:04 UTC], ["updated_at", 2016-11-20 21:42:04 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:42:05 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.8ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:42:05 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:42:05 UTC], ["updated_at", 2016-11-20 21:42:05 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:42:05 UTC], ["updated_at", 2016-11-20 21:42:05 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 43ms (Views: 10.1ms | ActiveRecord: 1.9ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:42:05 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:42:05 UTC], ["updated_at", 2016-11-20 21:42:05 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 5ms (Views: 0.9ms | ActiveRecord: 0.5ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:42:05 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"2"} - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 14ms (Views: 8.7ms | ActiveRecord: 0.4ms) -  (0.6ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.8ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.6ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.5ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.1ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:47:08 UTC], ["updated_at", 2016-11-20 21:47:08 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:47:08 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 2.3ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:47:08 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.3ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.6ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:47:08 UTC], ["updated_at", 2016-11-20 21:47:08 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:47:08 UTC], ["updated_at", 2016-11-20 21:47:08 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 47ms (Views: 6.7ms | ActiveRecord: 2.4ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:47:08 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:47:08 UTC], ["updated_at", 2016-11-20 21:47:08 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 4ms (Views: 0.9ms | ActiveRecord: 0.4ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:47:08 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"2"} - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.3ms) -Started DELETE "/tweets/2" for 127.0.0.1 at 2016-11-20 22:47:08 +0100 -Processing by TweetsController#destroy as HTML - Parameters: {"id"=>"2"} - SQL (0.5ms) DELETE FROM "tweets" WHERE "tweets"."id" = ? [["id", 2]] -Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.5ms) -  (0.5ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (3.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.6ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.0ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.1ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:47:37 UTC], ["updated_at", 2016-11-20 21:47:37 UTC]] -  (0.9ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 11ms (Views: 1.8ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:47:38 UTC], ["updated_at", 2016-11-20 21:47:38 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:47:38 UTC], ["updated_at", 2016-11-20 21:47:38 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 47ms (Views: 7.0ms | ActiveRecord: 2.2ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:47:38 UTC], ["updated_at", 2016-11-20 21:47:38 UTC]] -  (0.2ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 7ms (Views: 1.9ms | ActiveRecord: 0.8ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"2"} - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 14ms (Views: 9.2ms | ActiveRecord: 0.4ms) -Started DELETE "/tweets/2" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#destroy as HTML - Parameters: {"id"=>"2"} - SQL (0.2ms) DELETE FROM "tweets" WHERE "tweets"."id" = ? [["id", 2]] -Completed 204 No Content in 1ms (ActiveRecord: 0.2ms) -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:47:38 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.3ms) -  (0.7ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.4ms) select sqlite_version(*) -  (1.2ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.0ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:48:24 UTC], ["updated_at", 2016-11-20 21:48:24 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:48:24 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 9ms (Views: 1.7ms | ActiveRecord: 0.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:48:24 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:48:24 UTC], ["updated_at", 2016-11-20 21:48:24 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.3ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:48:24 UTC], ["updated_at", 2016-11-20 21:48:24 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 42ms (Views: 6.7ms | ActiveRecord: 1.8ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:48:25 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:48:25 UTC], ["updated_at", 2016-11-20 21:48:25 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 6ms (Views: 1.3ms | ActiveRecord: 0.5ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:48:25 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"2"} - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] - User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 12ms (Views: 8.3ms | ActiveRecord: 0.3ms) -Started DELETE "/tweets/2" for 127.0.0.1 at 2016-11-20 22:48:25 +0100 -Processing by TweetsController#destroy as HTML - Parameters: {"id"=>"2"} - SQL (0.5ms) DELETE FROM "tweets" WHERE "tweets"."id" = ? [["id", 2]] -Completed 204 No Content in 1ms (ActiveRecord: 0.5ms) -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:48:25 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.2ms) -  (0.4ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.3ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.0ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.1ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (0.9ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.1ms) SELECT version FROM "schema_migrations" -  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.0ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:49:16 UTC], ["updated_at", 2016-11-20 21:49:16 UTC]] -  (1.0ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction -  (0.1ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:49:17 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 0.6ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:49:17 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.5ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:49:17 UTC], ["updated_at", 2016-11-20 21:49:17 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:49:17 UTC], ["updated_at", 2016-11-20 21:49:17 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 46ms (Views: 6.9ms | ActiveRecord: 1.7ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:49:17 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:49:17 UTC], ["updated_at", 2016-11-20 21:49:17 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 5ms (Views: 1.1ms | ActiveRecord: 0.4ms) -Started GET "/tweets/2" for 127.0.0.1 at 2016-11-20 22:49:17 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"2"} - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 2], ["LIMIT", 1]] - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 12ms (Views: 8.7ms | ActiveRecord: 0.3ms) -  (0.9ms) rollback transaction - ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations" - ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.9ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", :environment]] -  (1.5ms) CREATE TABLE "tweets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "author_id" integer, "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (0.1ms) select sqlite_version(*) -  (1.1ms) CREATE INDEX "index_tweets_on_author_id" ON "tweets" ("author_id") -  (0.2ms)  SELECT sql - FROM sqlite_master - WHERE name='index_tweets_on_author_id' AND type='index' - UNION ALL - SELECT sql - FROM sqlite_temp_master - WHERE name='index_tweets_on_author_id' AND type='index' - -  (1.1ms) CREATE INDEX "index_tweets_on_parent_id" ON "tweets" ("parent_id") -  (1.1ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "email" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) -  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY) -  (0.2ms) SELECT version FROM "schema_migrations" -  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20161120191438') -  (1.3ms) INSERT INTO schema_migrations (version) VALUES ('20161120191133'); - - -  (1.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) - ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.1ms) begin transaction - SQL (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", 2016-11-20 21:50:26 UTC], ["updated_at", 2016-11-20 21:50:26 UTC]] -  (0.8ms) commit transaction - ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", :environment], ["LIMIT", 1]] -  (0.0ms) begin transaction -  (0.0ms) commit transaction - ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" -  (0.1ms) begin transaction -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#index as JSONAPI - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" -Completed 200 OK in 12ms (Views: 2.5ms | ActiveRecord: 0.8ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.1ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.4ms) INSERT INTO "users" ("name", "email", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "Lucas"], ["email", "lucas@jsonapi-rb.org"], ["created_at", 2016-11-20 21:50:26 UTC], ["updated_at", 2016-11-20 21:50:26 UTC]] -  (0.1ms) RELEASE SAVEPOINT active_record_1 -  (0.1ms) SAVEPOINT active_record_1 - SQL (0.2ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:50:26 UTC], ["updated_at", 2016-11-20 21:50:26 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 33ms (Views: 4.6ms | ActiveRecord: 1.5ms) -Started POST "/tweets.json" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#create as JSON - Parameters: {:tweet=>{:content=>"foo"}, :controller=>"tweets", :action=>"create", :format=>"json"} - User Load (0.2ms) SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT ? [["LIMIT", 1]] -  (0.0ms) SAVEPOINT active_record_1 - SQL (0.1ms) INSERT INTO "tweets" ("author_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["author_id", 1], ["content", "foo"], ["created_at", 2016-11-20 21:50:26 UTC], ["updated_at", 2016-11-20 21:50:26 UTC]] -  (0.0ms) RELEASE SAVEPOINT active_record_1 -Completed 201 Created in 4ms (Views: 0.8ms | ActiveRecord: 0.4ms) -Started GET "/tweets/1" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#show as JSONAPI - Parameters: {"id"=>"1"} - Tweet Load (0.1ms) SELECT "tweets".* FROM "tweets" WHERE "tweets"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.3ms) -Started DELETE "/tweets/1" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#destroy as HTML - Parameters: {"id"=>"1"} - SQL (0.2ms) DELETE FROM "tweets" WHERE "tweets"."id" = ? [["id", 1]] -Completed 204 No Content in 1ms (ActiveRecord: 0.2ms) -Started GET "/tweets" for 127.0.0.1 at 2016-11-20 22:50:26 +0100 -Processing by TweetsController#index as HTML - Tweet Load (0.2ms) SELECT "tweets".* FROM "tweets" - User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]] -Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.2ms) -  (0.5ms) rollback transaction